Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Tree
expandCollapseAlltrue
rootDeveloper Integration Guide 1.1
searchBoxtrue

Image RemovedImage Added

Panel
borderColorgrey
bgColorwhite
titleColorblack
borderWidth1
titleBGColorwhite
borderStylesolid
titleLanguages
  • Spanish/Español


4.3.1 Build instructions for Linux

1.      Clone the ZenCashOfficial zen repository from Github and change to the directory.

Code Block
languagebash
themeFadeToGrey
git clone https://github.com/ZencashOfficial/zen.git
cd ./zen

2.     For x86-64 just run the build process.

Code Block
languagebash
themeFadeToGrey
./zcutil/build.sh -j$(nproc)

       For aarch64/arm64 some additional steps are needed.

Code Block
languagebash
themeFadeToGrey
mkdir -p ~/bin
cd ~/bin
ln -s /usr/bin/ar aarch64-unknown-linux-gnu-ar
ln -s /usr/bin/g++ aarch64-unknown-linux-gnu-g++
ln -s /usr/bin/gcc aarch64-unknown-linux-gnu-gcc
ln -s /usr/bin/nm aarch64-unknown-linux-gnu-nm
ln -s /usr/bin/ranlib aarch64-unknown-linux-gnu-ranlib
ln -s /usr/bin/strip aarch64-unknown-linux-gnu-strip
PATH=$PATH:~/bin
cd ~/zen/
./zcutil/build-arm.sh --disable-rust -j$(nproc)

3.     (Optional) Install built binaries to /usr/bin.

Code Block
languagebash
themeFadeToGrey
sudo install ./src/zen-cli ./src/zend /usr/bin
sudo install ./zcutil/fetch-params.sh /usr/bin/zen-fetch-params

4.     Download the trusted setup.

Code Block
languagebash
themeFadeToGrey
./zcutil/fetch-params.sh

5.     Setup minimal zen.conf credentials.

Code Block
languagebash
themeFadeToGrey
mkdir -p ~/.zen
echo "rpcuser=zenuser" > ~/.zen/zen.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/.zen/zen.conf

6.     Launch zend

Code Block
languagebash
themeFadeToGrey
./src/zend

       or if you’ve installed the binaries to /usr/bin

Code Block
languagebash
themeFadeToGrey
zend



Insert excerpt
Social Links
Social Links
nopaneltrue