Building the Wallet

All related information in order to build Adeptio Wallet

Ubuntu 16.04

Dependencies

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

./autogen.sh
./configure
make

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.

Ubuntu 18.04

Dependencies

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 libssl1.0  -y
sudo apt-get install libtool autoconf pkg-config libssl-dev libboost-all-dev libssl1.0-dev  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev -y
sudo apt-get install libevent-dev libzmq5-dev -y
sudo add-apt-repository universe -y
sudo add-apt-repository ppa:bitcoin/bitcoin -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

./autogen.sh
./configure
make

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.

RHEL7 / Centos7

Dependencies

Update the system:

sudo yum update -y

Add Epel-Release repository:

sudo yum install epel-release -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 yum groupinstall 'Development Tools' -y
sudo yum install git boost boost-devel autoconf automake gcc-c++ -y
sudo yum install libtool libdb-cxx-devel-5.3.21-24.el7.x86_64 -y
sudo yum install openssl openssl-devel libevent libevent-devel -y

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 yum install zeromq-4.1.4-6.el7.x86_64 qt5-qttools-devel-5.9.2-1.el7.x86_64  -y
sudo yum install protobuf-devel-2.5.0-8.el7.x86_64 qt5-qtbase-devel -y

Make sure not to mix libdb packages one version with another. Remove libdb4.8* if you have libdb5*

rpm -qa | grep libdb

The output should consist only libdb4* or libdb5* - not both. It depends on your version. Desktop or Minimal.

 

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

./autogen.sh
./configure --with-incompatible-bdb
make

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.

Installing Windows Subsystem for RHEL7 / Centos7

In progress...

Installing Windows Subsystem for Ubuntu 16.04

Preparing

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

 

Dependencies for 64-bit Windows

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  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev libevent-dev -y
sudo apt-get install bsdmainutils nsis g++-mingw-w64-x86-64 -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

 

Dependencies for 32-bit Windows

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  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev libevent-dev -y
sudo apt-get install bsdmainutils nsis g++-mingw-w64-i686 mingw-w64-i686-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.

 

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 for 64-bit Windows

./autogen.sh
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends
make HOST=x86_64-w64-mingw32
cd ..
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
make

 

Building for 32-bit Windows

./autogen.sh
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends
make HOST=i686-w64-mingw32
cd ..
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/
make

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.exe ; strip ./src/adeptio-cli.exe ; strip ./src/adeptio-tx.exe
strip ./src/qt/adeptio-qt.exe

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

Fedora release 29 (Twenty Nine)

Fedora is using OpenSSL v1.1 by default. Need a patch to build with higher version.

This build is not possible until patch release.

The output message during building:

configure: error: Detected unsupported SSL version: This is NOT supported, and may break consensus compatibility! Use '--with-unsupported-ssl' if you don't care

Dependencies

Update the system:

sudo yum update -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 yum groupinstall 'Development Tools'
sudo yum install git boost boost-devel autoconf automake gcc-c++ -y
sudo yum install libtool libdb-cxx-devel-5.3.28-33.fc29.x86_64 -y
sudo yum install openssl openssl-devel libevent libevent-devel -y

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 yum install zeromq-devel-4.1.6-7.fc28.x86_64 qt5-qttools-devel-5.11.1-2.fc29.x86_64  -y
sudo yum install protobuf-devel-3.5.0-8.fc29.x86_64 qt5-qtbase-devel -y

Make sure not to mix libdb packages one version with another. Remove libdb4.8* if you have libdb5*

rpm -qa | grep libdb

The output should consist only libdb4* or libdb5* - not both. It depends on your version. Desktop or Minimal.

 

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

./autogen.sh
./configure --with-incompatible-bdb
make

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.

Installing Windows Subsystem for Ubuntu 18.04

Preparing

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
 

Building for 64-bit Windows

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  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev -y
sudo apt-get install libevent-dev libzmq5-dev -y
sudo apt-get install bsdmainutils nsis g++-mingw-w64-x86-64 -y
sudo update-alternatives --config x86_64-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.
sudo add-apt-repository universe -y
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
 

Building for 32-bit Windows

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  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev -y
sudo apt-get install libevent-dev libzmq5-dev g++-mingw-w64-i686 mingw-w64-i686-dev -y
sudo apt-get install nsis bsdmainutils -y
sudo update-alternatives --config i686-w64-mingw32-g++  # Set the default mingw32 g++ compiler option to posix.
sudo add-apt-repository universe -y
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev

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

 

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 for 64-bit Windows

./autogen.sh
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends
make HOST=x86_64-w64-mingw32
cd ..
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
make

 

Building for 32-bit Windows

./autogen.sh
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends
make HOST=i686-w64-mingw32
cd ..
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/
make

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.exe ; strip ./src/adeptio-cli.exe ; strip ./src/adeptio-tx.exe
strip ./src/qt/adeptio-qt.exe

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

MacOS High Sierra 10.13

Dependencies

Install HomeBrew first:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

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

brew install autoconf automake berkeley-db4 libtool miniupnpc openssl pkg-config protobuf qt5 zmq libevent
brew install boost@1.57
brew link --overwrite boost@1.57 --force

Make the Homebrew OpenSSL headers visible to the configure script (do brew info openssl to find out why this is necessary, or if you use Homebrew with installation folders different from the default).

export LDFLAGS+=-L/usr/local/opt/openssl/lib
export CPPFLAGS+=-I/usr/local/opt/openssl/include

 

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

./autogen.sh
./configure --with-gui=qt5
make

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.

MacOS Mojave 10.14

Install HomeBrew first:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

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

brew install autoconf automake berkeley-db4 libtool miniupnpc openssl pkg-config protobuf qt5 zmq libevent
brew install boost@1.57
brew link --overwrite boost@1.57 --force

Make the Homebrew OpenSSL headers visible to the configure script (do brew info openssl to find out why this is necessary, or if you use Homebrew with installation folders different from the default).

export LDFLAGS+=-L/usr/local/opt/openssl/lib
export CPPFLAGS+=-I/usr/local/opt/openssl/include

 

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

./autogen.sh
./configure LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include' PKG_CONFIG_PATH='/usr/local/opt/openssl/lib/pkgconfig' --with-gui=qt5
make

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.