Zcash Zebra (alpha) Ubuntu 20.04 Install

2021 June 22

I'm creating this post to provide more explicit documentation (for Ubuntu) other than https://zebra.zfnd.org/user/install.html and https://github.com/ZcashFoundation/zebra.

sudo apt install clang libclang-dev llvm llvm-dev

Install Rust, but not ‘rustc’ (or cargo) from apt. Doing so will only install rust version 1.47, where =>1.48 is necessary.

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

source $HOME/.cargo/env

rustc --version
rustc 1.53.0 (53cb7b09b 2021-06-17)

git clone https://github.com/ZcashFoundation/zebra

cd zebra/

cargo build

Install the latest build:

cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-alpha.11 zebrad

Open up port 8233 at the firewall.

sudo ufw allow 8233 && sudo ufw reload

zebrad start

yawnbox