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.
- Upgrade your operating system:
sudo apt update && sudo apt upgrade -y
- Install essential packages:
sudo apt install git curl tar wget libssl-dev jq build-essential gcc make
- Download and install Go:
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go
- 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
- Verify Go was installed correctly. Note that the
fairyring
binary requires Gov1.21
:
go version