install latest version of protobuf ubuntu code example
Example: install protoc ubuntu
$ apt install -y protobuf-compiler
$ protoc --version # Ensure compiler version is 3+
$ apt install -y protobuf-compiler
$ protoc --version # Ensure compiler version is 3+