Post
Topic
Board Development & Technical Discussion
Topic OP
Bitcoin Core Linux binaries installation question
by
will_k
on 06/01/2020, 10:49:21 UTC
After extracting bitcoin-0.19.0.1-x86_64-linux-gnu.tar.gz, I see four directories,

Code:
$ tar xf bitcoin-0.19.0.1-x86_64-linux-gnu.tar.gz
$ cd bitcoin-0.19.0.1
$ ls -R
README.md bin       include   lib       share

./bin:
bitcoin-cli    bitcoin-qt     bitcoin-tx     bitcoin-wallet bitcoind       test_bitcoin

./include:
bitcoinconsensus.h

./lib:
libbitcoinconsensus.so       libbitcoinconsensus.so.0     libbitcoinconsensus.so.0.0.0

./share:
man

./share/man:
man1

./share/man/man1:
bitcoin-cli.1    bitcoin-qt.1     bitcoin-tx.1     bitcoin-wallet.1 bitcoind.1

The README.md says to run the binaries like the follow
Code:
Unpack the files into a directory and run:

- `bin/bitcoin-qt` (GUI) or
- `bin/bitcoind` (headless)

I looked around for ways to install it and I found this https://bitcoin.org/en/full-node#linux-instructions
Installing via install
Code:
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.18.0/bin/*

I do recall that if I compile from source and install via
Code:
sudo make install
The files do get copied over into include, lib and share.

So my question is, what do I do with the content of include, lib, and share directories and when do I need them?