编译(Ubuntu)

安装所需环境

#构建工具
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 

#libssl
#libevent
sudo apt-get install libssl-dev libevent-dev  

#Boost
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

#Berkeley DB
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

#GUI/QT
#Payments in GUI
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

#UPnP
#ZMQ notification
#QR codes in GUI
sudo apt-get install libminiupnpc-dev libzmq3-dev libqrencode-dev

下载源码

git clone https://github.com/bitcoin/bitcoin.git

编译

./autogen.sh
./configure
make
make install

最后更新于