Communication between nodes - phoebeum/phoebeum.github.io GitHub Wiki

Install Protobuf on Ubuntu 20.04

1. sudo apt-get install autoconf automake libtool curl make g++ unzip -y
2. Download the appropriate release here:
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-all-3.19.4.tar.gz
3. Unzip the folder
4. Enter the folder and run ./autogen.sh && ./configure && make
5. Then run these other commands. They should run without issues:
make check
sudo make install
which protoc
sudo ldconfig
protoc --version

Install gRPC on Ubuntu 20.04

sudo apt-get install golang
go get -u google.golang.org/grpc