First, update your system and install the required software:
sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential git curl wget apt-transport-https ca-certificates
Next, install Go:
wget <https://golang.org/dl/go1.20.1.linux-amd64.tar.gz>
sudo tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
Verify the Go installation:
go version
Install Docker:
curl -fsSL <https://download.docker.com/linux/ubuntu/gpg> | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] <https://download.docker.com/linux/ubuntu> $(lsb_release -cs) stable"
sudo apt update
sudo apt install -y docker-ce
sudo systemctl start docker
sudo systemctl enable docker
Verify Docker installation:
docker --version
Clone the Lucidity node repository from GitHub:
git clone <https://github.com/lucid-labs/lucidity-node.git>
cd lucidity-node
Now, build the node: