|# Make sure you grab the latest version|
|curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip|
|unzip protoc-3.2.0-linux-x86_64.zip -d protoc3|
|# Move protoc to /usr/local/bin/|
|sudo mv protoc3/bin/* /usr/local/bin/|
|# Move protoc3/include to /usr/local/include/|
|sudo mv protoc3/include/* /usr/local/include/|
|# Optional: change owner|
|sudo chwon [user] /usr/local/bin/protoc|
|sudo chwon -R [user] /usr/local/include/google|
Or you can access to this deb : https://launchpad.net/%7Emaarten-fonville/+archive/ubuntu/protobuf
@afcastano which step you are referring to as the last step is changed to "ln -s /protoc3/bin/protoc /usr/bin/protoc". Seems like the last step is "sudo mv protoc3/include/* /usr/local/include/". Or you are adding this as the last step?
I followed the steps and did not encounter any problem. thanks for the information. :)
Latest is now https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
Avoids the need to manually copy/link, plus manages what's been added in this manner for later removal/upgrade/etc.
I added auto get version and made it work as a script file