1.6 KiB
1.6 KiB
Installing Zebra
zebrad
is still under development, so there is no supported packaging or
install mechanism. To run zebrad
, follow the instructions to compile zebrad
for your platform:
- Install
cargo
andrustc
.- Using
rustup
installs the stable Rust toolchain, whichzebrad
targets.
- Using
- Install Zebra's build dependencies:
- libclang: the
libclang
,libclang-dev
,llvm
, orllvm-dev
packages, depending on your package manager - clang or another C++ compiler:
g++
,Xcode
, orMSVC
- libclang: the
- Run
cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.3 zebrad
- Run
zebrad start
(see Running Zebra for more information)
If you're interested in testing out zebrad
please feel free, but keep in mind
that there is a lot of key functionality still missing.
Build Troubleshooting
If you're having trouble with:
- dependencies:
- install both
libclang
andclang
- they are usually different packages - use
cargo install
without--locked
to build with the latest versions of each dependency
- install both
- libclang: check out the clang-sys documentation
- g++ or MSVC++: try using clang or Xcode instead
- rustc: use rustc 1.48 or later
- Zebra does not have a minimum supported Rust version (MSRV) policy yet
Dependencies
Zebra primarily depends on pure Rust crates, and some Rust/C++ crates:
They will be automatically built along with zebrad
.