Created
June 2, 2023 04:53
-
-
Save Umiiii/adc0b0c2936defb76ed72adf0ac7d62c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://download.oracle.com/berkeley-db/db-4.8.30.zip | |
unzip db-4.8.30.zip | |
cd db-4.8.30 | |
sed -i 's/__atomic_compare_exchange/__atomic_compare_exchange_db/g' dbinc/atomic.h | |
cd build_unix/ | |
../dist/configure --prefix=/usr/local --enable-cxx | |
make | |
sudo make install | |
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" | |
sudo apt-get install libboost-all-dev libzmq3-dev libminiupnpc-dev -y | |
sudo apt-get install curl git build-essential libtool autotools-dev -y | |
sudo apt-get install automake pkg-config bsdmainutils python3 -y | |
sudo apt-get install software-properties-common libssl-dev libevent-dev -y | |
cd /root | |
git clone https://github.com/bitcoin/bitcoin.git | |
cd bitcoin | |
./autogen.sh | |
./configure | |
make | |
cd src | |
sudo install -sv bitcoind bitcoin-cli /usr/local/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment