Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
apt-get update
apt-get upgrade
apt-get -y install git
apt-get -y install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get -y install libboost-all-dev
apt-get -y install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
apt-get -y install libqrencode-dev
apt-get -y install libminiupnpc-dev
apt-get -y install libevent-dev
cd ~
git clone
cd ~
mkdir bitcoin/db4/
wget ''
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
db4dir=$(readlink -e ~/bitcoin/db4)
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$db4dir
make install
cd ~/bitcoin/
./configure BDB_LIBS="-L$db4dir/lib -ldb_cxx" BDB_CFLAGS="-I$db4dir/include"
make -s -j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.