The procedure is tested on Ubuntu 20.04 and 22.04.
As a result, binary packages will be placed in build/
subfolder of where you cloned the Git
repository (e.g. leap-3.2.3wax01-rc4-ubuntu22.04-x86_64.deb
).
If you need to install the binaries in a specific separate directlry (for example, if several different versions of nodeos need to run on the same server), unpack the debian package as follows:
dpkg-deb --vextract ./leap-3.2.3wax01-rc4-ubuntu22.04-x86_64.deb /srv/wax-mandel
Otherwise, install it the usual way:
apt install -y ./leap-3.2.3wax01-rc4-ubuntu22.04-x86_64.deb
sudo apt update && sudo apt install -y file
LEAPDIR=${HOME}/build/leap
mkdir -p ${LEAPDIR}
cd ${LEAPDIR}
git clone -b release/3.2 --recursive https://github.com/AntelopeIO/leap.git leap-3.2.x
cd leap-3.2.x
sudo bash scripts/install_deps.sh
nice bash scripts/pinned_build.sh ${LEAPDIR}/leap-3.2.x-deps ${LEAPDIR}/leap-3.2.x/build $(nproc)
sudo apt update && sudo apt install -y file
LEAPDIR=${HOME}/build/leap
mkdir -p ${LEAPDIR}
cd ${LEAPDIR}
git clone --recursive https://github.com/cc32d9/wax-leap.git wax-leap-3.2.x
cd wax-leap-3.2.x
sudo bash scripts/install_deps.sh
nice bash scripts/pinned_build.sh ${LEAPDIR}/leap-3.2.x-deps ${LEAPDIR}/wax-leap-3.2.x/build $(nproc)