sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y
Install Go
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.19.5.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
Install Node
cd $HOME
rm -rf elys
git clone https://github.com/elys-network/elys elys
cd elys
git checkout v0.9.0
// use make install to install directly or make build to get binary
// make install
make install
// make build
make build
// add application to path
nano ~/.bashrc
// add this to the end of file
export PATH=$PATH:/location/folder/elys/build
// refresh path
source ~/.bashrc
// check version, if it's working then it works
elysd version