Ubuntu下编译安装Bitcoin

前端之家收集整理的这篇文章主要介绍了Ubuntu下编译安装Bitcoin前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

参考:

Ubuntu上编译安装Bitcoin Core

比特币源码的编译及环境搭建


一、安装第三方库:

1.安装libssl,libevent,libboost库等:

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudoapt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev


2.通过添加仓库安装BerkeleyDB:

sudoapt-get install software-properties-common
sudoadd-apt-repository ppa:bitcoin/bitcoin
sudoapt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

3.安装UPnP库:
sudo apt-get install libminiupnpc-dev

4.安装ZMQ库
sudo apt-get install libzmq3-dev


5. 安装QT5库
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

6. 安装二维码
sudo apt-get install libqrencode-dev


二、编译安装Bitcoin Core:
cd bitcoin //进入bitcoin源码目录,bitcoin源码去github下载
./autogen.sh
./configure
make
make install


三、启动Bitcoin Core:

打开终端执行 bitcoin-qt

原文链接:https://www.f2er.com/ubuntu/349685.html

猜你在找的Ubuntu相关文章