Installation
Compile and install
Ubuntu
Install dependencies
sudo apt install git curl gcc lld pkg-config libssl-dev libclang-dev g++Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shClone source code
git clone https://github.com/rooch-network/rooch.gitCompile and install Rooch
cd rooch && cargo build && cp target/debug/rooch ~/.cargo/bin/Windows
Installing Dependencies
To compile Rooch on Windows, you'll need to install the following dependencies:
- Build Tools for Visual Studio 2022 (opens in a new tab)
- LLVM (opens in a new tab)
- Git (opens in a new tab)
Make sure to install these dependencies and set up the necessary environment variables.
Installing Rust
Download the Rust toolchain by clicking here (opens in a new tab).
Cloning the Source Code
Use the following command to clone the Rooch source code repository:
git clone https://github.com/rooch-network/rooch.gitCompiling and Installing Rooch
Navigate to the Rooch project directory:
cd roochBuild Rooch using the following command:
cargo buildFinally, copy the compiled Rooch binary to your Cargo bin directory:
cp target/debug/rooch.exe ~/.cargo/bin/macOS
TODO
Binary install
Linux
Download
wget https://github.com/rooch-network/rooch/releases/download/v0.1/rooch-ubuntu-latest.zipDecompress
unzip rooch-ubuntu-latest.zipInstall
sudo cp rooch /usr/local/bin