linux(Ubuntu20.04)安装protoc
$ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/protobuf-all-3.14.0.zip
$ unzip protoc-all
$ ./configure
$ make
$ make install
$ protoc --version
异常:
有些依赖没有安装, 大部分有提示:
// 例如:make => No targets specified and no makefile found. Stop.
sudo apt update
sudo apt install gcc
apt install gcc build-essential
// make install => no permission
sudo make install
// protoc --version => no such file or directory
重启
页:
[1]