Fedora
Dependency Build Instructions
Build requirements:
sudo apt-get install build-essential libtool autotools-dev automake
pkg-config bsdmainutils python3
Now, you can either build from self-compiled depends or install the required dependencies:
sudo dnf install libevent-devel boost-devel
Berkeley DB is required for the wallet:
sudo dnf install libdb4-devel libdb4-cxx-devel
Newer Fedora releases, since Fedora 33, have only [direction] libdb-devel[ direction] and [direction]libdb-cxx-devel [/direction]packages, but these will install Berkeley DB 5.3 or later. This will break binary wallet compatibility with the distributed executables, which are based on Berkeley DB 4.8. If you do not care about wallet compatibility, pass [direction]–with-incompatible-bdb [/direction]to configure.
Otherwise, you can build Berkeley DB yourself.
SQLite is required for the descriptor wallet:
sudo dnf install sqlite-devel
To build Bitcoin Core without wallet, see Disable-wallet mode
Optional port mapping libraries (see: [direction]–with-miniupnpc[/direction], [direction]–enable-upnp-default[/direction], and [direction]–with-natpmp[/direction], [direction]–enable-natpmp-default[/direction]):
sudo dnf install miniupnpc-devel libnatpmp-devel
ZMQ dependencies (provides ZMQ API):
sudo dnf install zeromq-devel
User-Space, Statically Defined Tracing (USDT) dependencies:
sudo dnf install systemtap
GUI dependencies:
If you want to build bitcoin-qt, make sure that the required packages for Qt development are installed. Qt 5 is necessary to build the GUI. To build without GUI pass [direction]–without-gui.[/direction]
To build with Qt 5 you need the following:
sudo dnf install qt5-qttools-devel qt5-qtbase-devel
libqrencode (optional) can be installed with:
sudo dnf install qrencode-devel
Once these are installed, they will be found by configure and a bitcoin-qt executable will be built by default.
Notes
The release is built with GCC and then “strip bitcoind” to strip the debug symbols, which reduces the executable size by about 90%.