Skip to main content

Prerequisites

This page will go over setting up your machine to run the fairyring binary and fairyringclient.

Install dependencies

This guide assumes that you are using Ubuntu.

  1. Upgrade your operating system:
sudo apt update && sudo apt upgrade -y
  1. Install essential packages:
sudo apt install git curl tar wget libssl-dev jq build-essential gcc make
  1. Download and install Go:
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go
  1. Add /usr/local/go/bin & $HOME/go/bin directories to your $PATH:
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.profile
source $HOME/.profile
  1. Verify Go was installed correctly. Note that the fairyring binary requires Go v1.21:
go version