Skip to main content
Version: Testnet

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.

note

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.

Important

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:

sudo apt update && sudo apt upgrade -y

Then install essential packages:

sudo apt install -y build-essential clang curl aria2 wget tar jq libssl-dev pkg-config make

Install Go

ver="1.23.0"
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"

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.