Building Kepler isn't difficult, however, it does require a series of requisites and steps which we will review and follow in this tutorial.
The best method for installing rust on Linux/Mac/FreeBSD is by using Rustup: https://rustup.rs/
Open a terminal
Paste the following (you can find this information on the Rustup website)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After Rustup is installed, loging out and logging in again will allow you to use Rust and Cargo from the terminal. If you're in a hurry, you can paste this on your terminal after installing:
Below are Debian Linux dependencies, these may vary depending on which Distribution you're using
sudo apt install build-essential git clang libncurses-dev zlib1g-dev cmake libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev llvm
Install XCode from the App store, once installed, open a terminal and type
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
After homebrew finishes installing:
brew install pkg-config openssl
NOTE: Please make sure you've installed Rust + Cargo as explained at the beginning of this tutorial.
We have two options for building Kepler:
git clone https://github.com/keplernetwork/kepler && cd kepler && cargo build --release
From a release, choose the most recent version here and download the source:
cargo build --release
When Kepler finishes building, you'll find the executable in target/release/kepler
You can run it by typing on your terminal:
Kepler will now begin to sync.