Debian Binary Packages Setup

The Electric Coin Company 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 Zcash from there.

First install the following dependency so you can talk to our repository using HTTPS:

sudo apt-get install apt-transport-https wget gnupg2

Next add the Zcash master signing key to apt’s trusted keyring:

wget -qO - | sudo apt-key add -

Key fingerprint = 3FE6 3B67 F85E A808 DE9B  880E 6DEF 3BAF 2727 66C0

Add the repository to your sources:

echo "deb [arch=amd64] stretch main" | sudo tee /etc/apt/sources.list.d/zcash.list

Finally, update the cache of sources and install Zcash:

sudo apt-get update && sudo apt-get install zcash

Lastly you can run zcash-fetch-params to fetch the zero-knowledge parameters, and set up ~/.zcash/zcash.conf before running Zcash as your local user, as documented in the User Guide.

Missing Public Key Error

If you see:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2A798EF998940FA

Get the new key either directly from the site:

wget -qO - | sudo apt-key add -

or download from a public keyserver:

sudo apt-key adv --keyserver --recv-keys 6DEF3BAF272766C0

to retrieve the new key and resolve this error.

For any other signing key issues see Updating Signing Keys



Only x86-64 processors are supported.

If you’re starting from a new virtual machine, sudo may not come installed. See this issue for instructions to get up and running:

libgomp1 or libstdc++6 version problems

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


The repository is also accessible via Tor, after installing the apt-transport-tor package, at the address zcaptnv5ljsxpnjt.onion. Use the following pattern in your sources.list file: deb [arch=amd64] tor+http://zcaptnv5ljsxpnjt.onion/ stretch main

Updating Signing Keys

If your Debian binary package isn’t updating due to an error with the public key, you can resolve the problem by updating to the new key.

Revoked Key error

If you see:

The following signatures were invalid: REVKEYSIG AEFD26F966E279CD

Remove the key marked as revoked:

sudo apt-key del AEFD26F966E279CD

Then retrieve the updated key:

wget -qO - | sudo apt-key add -

Then update the list again:

sudo apt-get update

Expired Key error

If you see:

The following signatures were invalid: KEYEXPIRED 1539886450

Remove the old signing key:

sudo apt-key del 63C4A2169C1B2FA2

Remove the list item from local apt:

sudo rm /etc/apt/sources.list.d/zcash.list

Update the repository list:

sudo apt-get update

Then retrieve new key:

wget -qO - | sudo apt-key add -

Re-get the apt info:

echo "deb [arch=amd64] stretch main" | sudo tee /etc/apt/sources.list.d/zcash.list

Then update the list again:

sudo apt-get update

At this point you should be able to upgrade with the new public key.