Fellow Forum Members,
I believe the jigsaw puzzle pieces are coming together. All I need is a few more questions answered. I would be very grateful if anyone in the community can clarify the following:
The two YouTubers below cover what I am guessing is a manual tarball installation method. However, I do not understand this variant method and would like to know if it is yet another way one can install Bitcoin Core:
https://www.youtube.com/watch?v=8PPsRowfJKA (1:16 minute into the video)
https://www.youtube.com/watch?v=jQnAsn-Ib6Y (7:21 minute into the video)
From what I gather both YouTuber's installation method involve using the Terminal commands shown below for the purpose of compiling tarball source files:
./configure
make
make install
Below is my rough outline of the 14 steps (as I understand it) for installing a Bitcoin Core 0.18.1 tarball file manually. As
Step 2 mentions I am using a x86 tarball file because my laptop has an Intel X86 CPU. Since the two conform to X86 architecture does that mean I do not need to concern myself with any installation method involving the need to compile source tarball files? In other words, do the three Terminal commands shown above apply to my installation scenario?
Or does correctly installing Bitcoin Core 0.18.1 require I use the three Terminal commands shown above?
Or am I correct to think the Terminal command shown below in
Step 8 does the same thing the three Terminal commands shown above do? In other words, is the Terminal command shown in
Step 8 also doing compiling of the source Bitcoin Core 0.18.1 tarball file?
************************************************************************************************************************
NEWBIE ATTEMPT AT OUTLINING STEPS TO MANUALLY INSTALL BITCOIN CORE TARBALL FILE
(Feedback on the steps below will be greatly appreciated)
1. Go to either
https://bitcoin.org/en/download or
https://bitcoincore.org/en/download/ to download tarball file.
2. Download "
bitcoin-0.18.1-x86_64-linux-gnu.tar.gz" package if using an Intel x86 Dell laptop with Ubuntu 18 LTS installed.
3. Verify the downloaded tarball file for release signatures. The tarball file is valid if this message: "
gpg: Good signature from "Wladimir J. van der Laan" appears in the Terminal as output.
4. Move the tarball file out of the Download folder and over to the desktop.
5. Right mouse click on the tarball file icon and select "
Extract Here" command. The
tar xzf bitcoin-0.18.0-x86_64-linux-gnu.tar.gz
command delivers the same result the "
Extract Here" command delivers. However, using the menu command is easier for Ubuntu newbies.
6. New folder appears on Desktop named: "
bitcoin-0.18.1-x86_64-linux-gnu". Open it and drill down to the BIN folder where inside this folder you will see the six files bulleted below:
- bitcoin-cli
- bitcoind
- bitcoin-qt
- bitcoin-tx
- bitcoin-wallet
- test_bitcoin
7. Open Terminal window inside the BIN folder.
8. Use sudo to run commands as
ROOT, use the following command line:
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.18.0/bin/*
9. In order to use Bitcoin Core GUI, you will need several libraries installed. All of them should be available in all major recently-released Linux distributions, but they may not be installed on your computer yet. To determine whether you’re missing any libraries, open a terminal (if you haven’t already) and run the command
/usr/local/bin/bitcoin-qt
to start Bitcoin Core GUI.
10. If all the required libraries are installed, Bitcoin Core will start. If a required library is missing, an error message similar to the following message will be displayed:
/usr/local/bin/bitcoin-qt: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
11. Search your distribution’s package database for the missing file missing and install package containing that file. Then re-run
/usr/local/bin/bitcoin-qt
to see if it’s missing another file. Repeat until Bitcoin Core GUI starts.
12. You will be prompted to choose a directory to store the Bitcoin block chain and your wallet. Unless you have a separate partition or drive you want to use, click
Ok to use the default.
13. Bitcoin Core GUI will begin to download the block chain. This step will take at least several days, and it may take much more time on a slow Internet connection or with a slow computer. During the download, Bitcoin Core will use a significant part of your connection bandwidth. You can stop Bitcoin Core at any time by closing it; it will resume from the point where it stopped the next time you start it.
14. After download is complete, you may use Bitcoin Core as your wallet or you can just let it run to help support the Bitcoin network.
************************************************************************************************************************
Additionally, I would be very grateful if anybody in this community can review the 14 steps (as I understand them) shown above. Please let me know if I need to make any corrections to any of the steps. As for now, I have these questions:
Step 7 - I mention the Terminal window needs to be opened in the BIN folder. Is that correct? I ask because
Step 8 mentions to run the command as ROOT. Does that mean having the Terminal window pointing to the BIN folder the wrong location? In other words, what does the ROOT path look like and doesn't the
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.18.0/bin/*
command correctly work from a BIN folder location in the Terminal window? In short, please clarify what is meant by "ROOT".
Step 10 & 11 are about required libraries. Can anyone let me know if I should expect my Ubuntu 18.04 LTS installation to be missing any dependent files Bitcoin Core needs to install correctly? Should I expect any of the problems mentioned in
Steps 10 and 11?
As for the PPA installation method I agree with what Colton says about it. I want to learn what is going on. However, I am glad I have learned the three Terminal commands shown below are the ones associated to the PPA installation method:
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoin-qt
Thank you very much in advance for any postings. As I mentioned, in the beginning I feel the jigsaw puzzle pieces coming together. My hope is the postings that follow this posting of mine will help me in see the big picture.