Before you begin, ensure your server has all the necessary dependencies.
sudo apt update
sudo apt upgrade -y
sudo apt install -y build-essential libssl-dev libcurl4-openssl-dev pkg-config git
Waku is written in Go, so you will need Go installed on your machine.
wget <https://golang.org/dl/go1.19.4.linux-amd64.tar.gz>
sudo tar -C /usr/local -xvzf go1.19.4.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc
go version
You should see an output like:
go version go1.19.4 linux/amd64
Now, we need to clone the Waku repository from GitHub.
cd ~
git clone <https://github.com/waku-org/waku.git>
cd waku
In the Waku repository, you will find everything you need to build the Waku node. Follow these steps:
cd waku