Pre-requisites
If you'd like to install Namada from source you will have to install some dependencies first:
- Rust (opens in a new tab)
- Git (opens in a new tab)
- Clang (opens in a new tab)
- OpenSSL (opens in a new tab)
- LLVM (opens in a new tab)
Rust
At the end of the installation, make sure that Cargo's bin directory $HOME/.cargo/bin is available on your PATH environment variable. You can either restart your shell or run source $HOME/.cargo/env to continue.
If you already have Rust installed, make sure you're using the latest version by running:
rustup updateRemaining dependencies
Then, install the remaining dependencies.
Ubuntu 22.x: Running the following command should install everything needed:
sudo apt-get install -y make git-core libssl-dev pkg-config libclang-12-dev build-essential protobuf-compiler libudev-devUbuntu 24.x: Same as above, except use libclang-19-dev instead:
sudo apt-get install -y make git-core libssl-dev pkg-config libclang-19-dev build-essential protobuf-compiler libudev-devMac: installing the Xcode command line tools should provide you with almost everything you need:
xcode-select --installprotoc is also required. On Mac, you can install it with Homebrew:
brew install protobufWhen running
protoc --versionIt should output at least:
libprotoc 3.12.0Please refer to protoc-installation doc (opens in a new tab) for other installation options.