When you want to compile the wallet yourself, you have a minimum basic knowledge and I mustn't explain the commands.

With these commands, we will compile statically. It means, you mustn't install the required dependencies, because we will download all needed packages and compile it into the binary files. And I think everyone has a minimum of 4 CPU cores, so we are using the -j4 option for faster progress.


Having these tools installed is always good when you are compiling a wallet.

sudo apt install -y pkg-config
sudo apt -y install build-essential autoconf automake libtool libboost-all-dev libgmp-dev libssl-dev libcurl4-openssl-dev git 
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt update
sudo apt install libdb4.8-dev libdb4.8++-dev


Linux

cd depends
make HOST=x86_64-linux-gnu -j4
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/x86_64-linux-gnu --enable-static
make -j4

Windows 64

cd depends
make HOST=x86_64-w64-mingw32 -j4
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 --enable-static
make -j4

Aarch64

cd depends
make HOST=aarch64-linux-gnu -j4
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/aarch64-linux-gnu --enable-static
make -j4

Arm 32

cd depends
make HOST=arm-linux-gnueabihf -j4
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/arm-linux-gnueabihf --enable-static
make -j4