Building the development branch from source
Hey all,
I have been asked by a number of people how to build from the development branch where they previously used the APT repo.
Here are some quick instructions on how to build from the development branch.
Building from the development git branch
-
Download the pre-requisites:
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake
-
Head into the zencash directory
cd ~/zencash
-
run
git clone -b development https://github.com/ZencashOfficial/zen.git
-
head into the new zen directory
cd zen
-
and run
./zcutil/build.sh -j$(nproc)
-
wait till it builds. You should see an output like this if the build was successful:
-
Stop the zend process
sudo monit stop zend
orzen-cli stop
-
then copy the new zend and zen-cli files
sudo cp src/zend /usr/bin
sudo cp src/zen-cli /usr/bin
-
Start the zend process
sudo monit start zend
orzend