Header background
Tutorials

Linux wallet compiling instructions

Linux wallet compiling instructions

Tutorial - Compile Linux wallet on Ubuntu Server 22.04

Upgrade your coin to make use of this tutorial.

Compile a wallet for Ubuntu Linux on Ubuntu Server 22.04 with the following tutorial.

Update your Ubuntu server with the following command:

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

Install the required dependencies with the following command:

sudo apt-get install make automake cmake curl g++-multilib libtool binutils-gold bsdmainutils pkg-config python3 patch bison -y

Create your source code directory with the following commands:

cd ~/

mkdir source_code

cd source_code

Download the source code of your coin with the following command:

wget "https://dl.walletbuilders.com/download?customer=212c2ed32b088c0200b9ea8c19b732029b6779185b653147c9&filename=dale-source.tar.gz" -O dale-source.tar.gz

Type the following command to extract the tar file:

tar -xzvf dale-source.tar.gz

Type the following command to download the update for QT:

wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/quark-pos/3.3/qt_fix_quark_pos_33.diff

Type the following command to update QT:

patch -p1 < qt_fix_quark_pos_33.diff

Type the following command to download the patch for QT:

wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/quark-pos/3.3/patches/qt/qt_fix_limit.patch -P depends/patches/qt

64-bit

Build x86_64-w64-linux with the following commands:

PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')

cd depends

make HOST=x86_64-w64-linux

cd ..

Type the following commands to compile your wallet for Ubuntu Linux.

./autogen.sh

CONFIG_SITE=$PWD/depends/x86_64-w64-linux/share/config.site ./configure --prefix=/

make

Type the following command to clean your source code:

make clean

32-bit

Build i686-w64-linux with the following commands:

PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')

cd depends

make HOST=i686-w64-linux

cd ..

Type the following commands to compile your wallet for Ubuntu Linux.

./autogen.sh

CONFIG_SITE=$PWD/depends/i686-w64-linux/share/config.site ./configure --prefix=/

make

The compiled wallet for Ubuntu Linux is located in the directory src/qt, the tools are located in the directory src.