Protobuff Installation in Ubuntu

Upgrading/Installation Protocol Buffer

Follow these steps serially

Pre-Installation Task

  • Remove older version of protobuff before installing newer version
#sudo apt-get remove protobuf-compiler
#sudo ldconfig

#sudo apt-get install g++ (if not already installed)
check:
#g++ --version


ProtoBuff Installation Task

cd ~/00Software(where you want store)
#wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
#tar xzf protobuf-2.5.0.tar.gz
#cd protobuf-2.5.0

#./configure
#make
#sudo make install


Post-Installation Task

#sudo ldconfig

check:
#protoc --version