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)
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:
Then, install the remaining dependencies.
Ubuntu: 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
Mac: installing the Xcode command line tools should provide you with almost everything you need:
protoc is also required. On Mac, you can install it with
brew install protobuf
It should output at least:
Please refer to protoc-installation doc (opens in a new tab) for other installation options.