Ubuntu 16.04


Update the system:

sudo apt-get update -y
sudo apt-get upgrade -y

Add a SWAP file:

sudo fallocate -l 3G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab
sudo echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

Reboot the server to load a new kernel (if) there are new one.

sudo reboot

We need a bunch of building tools, dependencies & libs:

sudo apt-get install git curl ufw wget software-properties-common dnsutils automake  -y
sudo apt-get install libtool autoconf pkg-config libssl-dev libboost-all-dev libzmq3-dev  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev libevent-dev -y
sudo add-apt-repository universe -y
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get update -y
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev

Copy line-by-line to the terminal. Not all commands at once.

If we want to build GUI wallet we need extra packages (Optional):

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qt5-default -y
sudo apt-get install qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev -y


Getting the adeptio source code

Official adeptio github repository - https://github.com/adeptio-project/adeptio/ 

Master branch:

cd ~/
git clone https://github.com/adeptio-project/adeptio.git
cd adeptio


Building the wallet


You can use make -j {CPU Core count} in order to make building faster. For example with 2 CPU Cores: make -j 2

It's OK to ignore "warning" signs during building process


Strip the binary to reduce the size (Optional)

After successful build in order to minimize the adeptiod / adeptio-cli / adeptio-tx / adeptio-qt binary size we can use stripping method:

strip ./src/adeptiod ; strip ./src/adeptio-cli ; strip ./src/adeptio-tx

If you building with GUI wallet:

strip ./src/qt/adeptio-qt

Need additional help? Go to Discord and ask for help.

Revision #9
Created 4 months ago by roothere
Updated 2 months ago by roothere