@@ -64,6 +64,7 @@ These dependencies are required:
6464 libdb4.8 | Berkeley DB | Wallet storage (only needed when wallet enabled)
6565 qt | GUI | GUI toolkit (only needed when GUI enabled)
6666 libqrencode | QR codes in GUI | Optional for generating QR codes (only needed when GUI enabled)
67+ libzip | Zip Compression | For Zip Compression and Decompression for snapshot and scraper related functions
6768
6869For the versions used in the release, see [ release-process.md] ( release-process.md ) under * Fetch and build inputs* .
6970
@@ -81,7 +82,7 @@ Dependency Build Instructions: Ubuntu & Debian
8182----------------------------------------------
8283Build requirements:
8384
84- sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
85+ sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libzip-dev libfreetype-dev
8586
8687Options when installing required Boost library files:
8788
@@ -98,13 +99,22 @@ install necessary parts of boost:
9899BerkeleyDB is required for the wallet.
99100
100101** For Ubuntu only:** db4.8 packages are available [ here] ( https://launchpad.net/~bitcoin/+archive/bitcoin ) .
102+
101103You can add the repository and install using the following commands:
102104
105+ ** For Ubuntu 18.04 and earlier versions**
106+
103107 sudo apt-get install software-properties-common
104108 sudo add-apt-repository ppa:bitcoin/bitcoin
105109 sudo apt-get update
106110 sudo apt-get install libdb4.8-dev libdb4.8++-dev
107111
112+ ** For Ubuntu 20.04+**
113+
114+ For Ubuntu 20.04+ users the db4.8 is not available on the official PPA. Use the script in contrib/install_db4.sh
115+ to compile and install db4.8. You can use the script in your build location. For example if your build
116+ location is Gridcoin-Research/ then `./contrib/install_db4.sh $PWD`
117+
108118Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install
109119BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which
110120are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
0 commit comments