@@ -84,23 +84,22 @@ Now, you can either build from self-compiled [depends](/depends/README.md) or in
84
84
85
85
sudo apt-get install libevent-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev
86
86
87
- BerkeleyDB is required for the wallet.
87
+ Berkeley DB is required for the wallet.
88
88
89
89
Ubuntu and Debian have their own ` libdb-dev ` and ` libdb++-dev ` packages, but these will install
90
- BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
90
+ Berkeley DB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
91
91
are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
92
92
pass ` --with-incompatible-bdb ` to configure.
93
93
94
- Otherwise, you can build from self-compiled ` depends ` (see above ).
94
+ Otherwise, you can build Berkeley DB [ yourself ] ( #berkeley-db ) .
95
95
96
- SQLite is required for the wallet:
96
+ SQLite is required for the descriptor wallet:
97
97
98
98
sudo apt install libsqlite3-dev
99
99
100
- To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( /doc/build-unix.md #disable-wallet-mode)
100
+ To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( #disable-wallet-mode )
101
101
102
-
103
- Optional port mapping libraries (see: ` --with-miniupnpc ` , and ` --enable-upnp-default ` , ` --with-natpmp ` , ` --enable-natpmp-default ` ):
102
+ Optional port mapping libraries (see: ` --with-miniupnpc ` , ` --enable-upnp-default ` , and ` --with-natpmp ` , ` --enable-natpmp-default ` ):
104
103
105
104
sudo apt install libminiupnpc-dev libnatpmp-dev
106
105
@@ -132,16 +131,43 @@ built by default.
132
131
133
132
Build requirements:
134
133
135
- sudo dnf install gcc-c++ libtool make autoconf automake libevent-devel boost-devel libdb4-devel libdb4-cxx-devel python3
134
+ sudo dnf install gcc-c++ libtool make autoconf automake python3
135
+
136
+ Now, you can either build from self-compiled [ depends] ( /depends/README.md ) or install the required dependencies:
137
+
138
+ sudo dnf install libevent-devel boost-devel
139
+
140
+ Berkeley DB is required for the wallet:
141
+
142
+ sudo dnf install libdb4-devel libdb4-cxx-devel
143
+
144
+ Newer Fedora releases, since Fedora 33, have only ` libdb-devel ` and ` libdb-cxx-devel ` packages, but these will install
145
+ Berkeley DB 5.3 or later. This will break binary wallet compatibility with the distributed executables, which
146
+ are based on Berkeley DB 4.8. If you do not care about wallet compatibility,
147
+ pass ` --with-incompatible-bdb ` to configure.
148
+
149
+ Otherwise, you can build Berkeley DB [ yourself] ( #berkeley-db ) .
150
+
151
+ SQLite is required for the descriptor wallet:
152
+
153
+ sudo dnf install sqlite-devel
154
+
155
+ To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( #disable-wallet-mode )
136
156
137
- Optional port mapping libraries (see: ` --with-miniupnpc ` , and ` --enable-upnp-default ` , ` --with-natpmp ` , ` --enable-natpmp-default ` ):
157
+ Optional port mapping libraries (see: ` --with-miniupnpc ` , ` --enable-upnp-default ` , and ` --with-natpmp ` , ` --enable-natpmp-default ` ):
138
158
139
159
sudo dnf install miniupnpc-devel libnatpmp-devel
140
160
141
161
ZMQ dependencies (provides ZMQ API):
142
162
143
163
sudo dnf install zeromq-devel
144
164
165
+ GUI dependencies:
166
+
167
+ If you want to build bitcoin-qt, make sure that the required packages for Qt development
168
+ are installed. Qt 5 is necessary to build the GUI.
169
+ To build without GUI pass ` --without-gui ` .
170
+
145
171
To build with Qt 5 you need the following:
146
172
147
173
sudo dnf install qt5-qttools-devel qt5-qtbase-devel
@@ -150,9 +176,8 @@ libqrencode (optional) can be installed with:
150
176
151
177
sudo dnf install qrencode-devel
152
178
153
- SQLite can be installed with:
154
-
155
- sudo dnf install sqlite-devel
179
+ Once these are installed, they will be found by configure and a bitcoin-qt executable will be
180
+ built by default.
156
181
157
182
Notes
158
183
-----
@@ -193,7 +218,9 @@ like so:
193
218
194
219
from the root of the repository.
195
220
196
- ** Note** : You only need Berkeley DB if the wallet is enabled (see [ * Disable-wallet mode* ] ( /doc/build-unix.md#disable-wallet-mode ) ).
221
+ Otherwise, you can build Bitcoin Core from self-compiled [ depends] ( /depends/README.md ) .
222
+
223
+ ** Note** : You only need Berkeley DB if the wallet is enabled (see [ * Disable-wallet mode* ] ( #disable-wallet-mode ) ).
197
224
198
225
Boost
199
226
-----
0 commit comments