1.4 KiB
1.4 KiB
Installing Zebra
Follow the Docker or compilation instructions in the README.
Build Troubleshooting
If you're having trouble with:
Dependencies:
- use
cargo installwithout--lockedto build with the latest versions of each dependency - sqlite linker errors: libsqlite3 is an optional dependency of the
zebra-network/torfeature. If you don't have it installed, you might see errors likenote: /usr/bin/ld: cannot find -lsqlite3. Follow the arti instructions to install libsqlite3, or use one of these commands instead:
cargo build
cargo build -p zebrad --all-features
Compilers:
- clang: install both
libclangandclang- they are usually different packages - libclang: check out the clang-sys documentation
- g++ or MSVC++: try using clang or Xcode instead
- rustc: use rustc 1.58 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.