Install the relevant libraries and database to run Anoncoin

Open up the terminal and copy and paste these commands

Install updates so that you have the latest libraries

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install g++ git automake

 

Install libraries

sudo apt-get install autoconf make libtool pkg-config libqt4-network libqtgui4 qt4-qmake libqt4-dev build-essential libboost-thread-dev libssl-dev

sudo apt-get install autoconf make libtool pkg-config libqt4-network libqtgui4

sudo apt-get install libboost-all-dev git libdb++-dev libssl-dev

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt-get install libdb4.8-dev libdb4.8++-dev

sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler

sudo apt-get install build-essential libfuse-dev libcurl4-openssl-dev libxml2-dev mime-support automake libtool

 

Install The database

If you want to be able to run a wallet in addition to just being a node, we need to install the Berkley Database package.
Do that by typing the following commands:
“mkdir ~/bin”
“cd ~/bin”
“wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
Then enter the following commands:
“sudo tar -xzvf db-4.8.30.NC.tar.gz”
And then these:
cd

# Build the library and install to our prefix

cd bin/db-4.8.30.NC/build_unix/

 

sudo apt-get install -f

sudo dpkg –configure -a

sudo apt-get clean

sudo apt-get update

sudo apt-get install libboost1.54-dev

sudo add-apt-repository ppa:boost-latest/ppa

sudo apt-get update

(You may get this error. If so just ignore it E: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.)

#  Note: Do a static build so that it can be embedded into the executable, instead of having to find a .so at runtime

 

sudo ../dist/configure –enable-cxx –disable-shared –with-pic –prefix=$BDB_PREFIX

Next enter:
sudo make

And finally (You may need to run this twice):
sudo make install

Leave a Reply

Your email address will not be published. Required fields are marked *