Skip to content

Commit fad95e8

Browse files
author
MarcoFalke
committed
doc: Split build linux dependencies
1 parent 0000009 commit fad95e8

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

depends/README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,31 @@ No other options are needed, the paths are automatically configured.
3232

3333
### Install the required dependencies: Ubuntu & Debian
3434

35-
First, install the common dependencies:
35+
#### For macOS cross compilation
3636

37-
sudo apt-get install autoconf automake cmake bsdmainutils ca-certificates curl faketime g++ libtool pkg-config
37+
sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
3838

39-
#### For macOS cross compilation:
40-
41-
sudo apt-get install librsvg2-bin libtiff-tools imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
42-
43-
#### For Win32/Win64 cross compilation:
39+
#### For Win32/Win64 cross compilation
4440

4541
- see [build-windows.md](../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux)
4642

47-
#### For linux (including i386, ARM) cross compilation:
43+
#### For linux (including i386, ARM) cross compilation
4844

4945
Common linux dependencies:
5046

51-
sudo apt-get install g++-multilib binutils-gold bsdmainutils
47+
sudo apt-get install make automake cmake curl g++-multilib libtool binutils-gold bsdmainutils pkg-config python3
5248

5349
For linux ARM cross compilation:
5450

55-
sudo apt-get install g++-aarch64-linux-gnu binutils-aarch64-linux-gnu
51+
sudo apt-get install g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
5652

5753
For linux AARCH64 cross compilation:
5854

59-
sudo apt-get install g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
60-
55+
sudo apt-get install g++-aarch64-linux-gnu binutils-aarch64-linux-gnu
56+
6157
For linux RISC-V 64-bit cross compilation (there are no packages for 32-bit):
6258

63-
sudo apt-get install curl g++-riscv64-linux-gnu binutils-riscv64-linux-gnu
59+
sudo apt-get install g++-riscv64-linux-gnu binutils-riscv64-linux-gnu
6460

6561
RISC-V known issue: gcc-7.3.0 and gcc-7.3.1 result in a broken `test_bitcoin` executable (see https://github.com/bitcoin/bitcoin/pull/13543),
6662
this is apparently fixed in gcc-8.1.0.

doc/build-unix.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ tuned to conserve memory with additional CXXFLAGS:
7070

7171
Build requirements:
7272

73-
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
73+
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
74+
75+
Now, you can either build from self-compiled [depends](/depends/README.md) or install the required dependencies:
76+
77+
sudo apt-get libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
7478

7579
BerkeleyDB is required for the wallet.
7680

@@ -97,7 +101,7 @@ ZMQ dependencies (provides ZMQ API):
97101

98102
sudo apt-get install libzmq3-dev
99103

100-
#### Dependencies for the GUI
104+
GUI dependencies:
101105

102106
If you want to build bitcoin-qt, make sure that the required packages for Qt development
103107
are installed. Qt 5 is necessary to build the GUI.

0 commit comments

Comments
 (0)