Setup Environment
This guide will walk you through setting up your development environment to make sure you have all the necessary tools to operate your Rollapp.
For production use, it is recommended to run Roller on a Linux operating system. While development and testing can be done on other platforms, Linux provides the most stable and supported environment for running Roller in a production setting.
To install the necessary dependencies, you must have administrative (sudo) privileges on your system.
Install essentials
Before installing dependencies, ensure your system is up-to-date:
- APT
- YUM
- macOS
sudo apt update && sudo apt upgrade -y
sudo yum update -y
brew update && brew upgrade
Then install essential packages:
- APT
- YUM
- macOS
sudo apt install -y build-essential clang curl aria2 wget tar jq libssl-dev pkg-config make
sudo yum install -y clang openssl-devel make git
brew install curl aria2 wget jq openssl pkg-config make
Install Go
ver="1.23.0"
- Linux (AMD64)
- Linux (ARM64)
- macOS (Apple Silicon)
- macOS (Intel)
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-arm64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-arm64.tar.gz"
rm "go$ver.linux-arm64.tar.gz"
cd $HOME
wget "https://golang.org/dl/go$ver.darwin-arm64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.darwin-arm64.tar.gz"
rm "go$ver.darwin-arm64.tar.gz"
cd $HOME
wget "https://golang.org/dl/go$ver.darwin-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.darwin-amd64.tar.gz"
rm "go$ver.darwin-amd64.tar.gz"
Add Go to your PATH:
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> ~/.bashrc
source ~/.bashrc
Verify the installation:
go version
Install Roller
If you haven't already, install Roller:
curl https://raw.githubusercontent.com/dymensionxyz/roller/main/install.sh | bash
Verify the installation:
roller version
Next steps
Now that you have all required dependencies installed, you can proceed to choose which components of the Rollapp you want to operate.