How to Install Bitcoin Core on Linux Mint 22.2 Zara and Set Up Data Directory

7 replies 471 views
wolf365Member
Posts: 5 · Reputation: 114
#1Sep 17, 2024, 11:16 PM
Solved Can someone share the steps to install the Bitcoin Core Client GUI on Linux Mint 22.2 Zara and set up the data directory? I'm not using the Software Manager because it doesn't allow me to choose where to put the data directory. I've got the blockchain data stored on a separate 2TB m.2 SSD while my OS is on a 500GB m.2 SSD.
6 Reply Quote Share
0x5e3dFull Member
Posts: 103 · Reputation: 519
#2Sep 18, 2024, 12:29 AM
I've used a symlink for this without problems for years. Something like this should work:
3 Reply Quote Share
wolf365Member
Posts: 5 · Reputation: 114
#3Sep 18, 2024, 06:38 AM
pop that in the terminal? but with the path of 2TB block folder.
3 Reply Quote Share
0x5e3dFull Member
Posts: 103 · Reputation: 519
#4Sep 18, 2024, 09:47 AM
Yep (assuming file ~/.bitcoin/blocks doesn't exist yet, and ~/.bitcoin is an existing directory).
3 Reply Quote Share
wolf365Member
Posts: 5 · Reputation: 114
#5Sep 18, 2024, 12:26 PM
What about the entire data directory? Wallet n all. Like how data= thing in shortcut on win10?
2 Reply Quote Share
Posts: 54 · Reputation: 222
#6Sep 18, 2024, 06:07 PM
You could run bitcoin-qt with --choosedatadir arg to start it in Welcome Screen where you can set the datadir. (exclusive to the GUI client) Do you mean --datadir=<path to custom datadir>? That should work but it'll not be persistent if used in the terminal, you can put datadir=<path to custom datadir> to your bitcoin.conf file inside your default datadir to permanently set it if you haven't done the method above. This applies to bitcoind as well.
3 Reply Quote Share
wolf365Member
Posts: 5 · Reputation: 114
#7Sep 18, 2024, 11:57 PM
Would you have instructions to install without flatpak? I don't want flatpaks version, it wants to upgrade some packages I don't want upgraded to install bitcoin core client. Actual solution to all of it. https://markaicode.com/install-bitcoin-core-28-ubuntu-24-04-guide/ I just replaced 28 with 28.1 in the links for the terminal. It's fired up with bitcoin core client asked which data dir when it started, pointed it to the path, its up and running and syncing.
2 Reply Quote Share
Posts: 54 · Reputation: 222
#8Sep 20, 2024, 12:12 PM
Oh, you were also looking for installation instructions not just ways to point to a custom datadir. Anyways, --choosedatadir is for when you missed that one-time first launch "Welcome Screen", if you want to point it elsewhere or if it somehow didn't show up.
4 Reply Quote Share

Related topics