Skip to content

Commit

Permalink
update linux build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
protonn committed Apr 5, 2018
1 parent 1ecef0c commit 84f7ad3
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions doc/build-unix.md
Expand Up @@ -79,20 +79,10 @@ install necessary parts of boost:

sudo apt-get install libboost-all-dev

BerkeleyDB is required for the wallet.

**For Ubuntu only:** db5.1 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin).
You can add the repository and install using the following commands:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb5.1-dev libdb5.1++-dev

For Debian, BerkeleyDB 5.1 can be installed by following the instructions in the “Berkeley DB” section below.
For Debian, and Ubuntu, BerkeleyDB 5.1 can be installed by following the instructions in the “Berkeley DB” section below.

Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install
BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which
BerkeleyDB 4.8, which break binary wallet compatibility with the distributed executables which
are based on BerkeleyDB 5.1. If you do not care about wallet compatibility,
pass `--with-incompatible-bdb` to configure.

Expand Down

0 comments on commit 84f7ad3

Please sign in to comment.