-
Notifications
You must be signed in to change notification settings - Fork 120
Debian binary packages
The Zen Blockchain Foundation operates a package repository for 64-bit Debian-based distributions. If you'd like to try out the binary packages, you can set it up on your system and install Horizen from there.
First install the following dependency so you can talk to our repository using HTTPS:
sudo apt-get install apt-transport-https lsb-release
Next add the Horizen master signing key to apt's trusted keyring:
gpg --keyserver ha.pool.sks-keyservers.net --recv 219F55740BBF7A1CE368BA45FB7053CE4991B669
gpg --export 219F55740BBF7A1CE368BA45FB7053CE4991B669 | sudo apt-key add -
Add the repository to your sources:
echo 'deb https://zencashofficial.github.io/repo/ '$(lsb_release -cs)' main' | sudo tee --append /etc/apt/sources.list.d/zen.list
Finally, update the cache of sources and install Zcash:
sudo apt-get update && sudo apt-get install zen
Lastly you can run zen-fetch-params
to fetch the zero-knowledge parameters, and set up ~/.zen/zen.conf
before running Horizen as your local user, as documented in the User Guide.
Note: Only x86-64 and aarch64/arm64 processors are supported.
These libraries are provided with gcc/g++. If you see errors related to updating them, you may need to upgrade your gcc/g++ packages to version 4.9 or later. First check which version you have using g++ --version
; if it is before 4.9 then you will need to upgrade.
On Ubuntu Trusty, you can install gcc/g++ 4.9 as follows:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 40
sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-4.9 40
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 40