Download Protobuf
git clone https://github.com/google/protobuf.git
Download Protobuf-c
git clone https://github.com/protobuf-c/protobuf-c.git
Ubuntu install
sudo apt-get install libtool automake autoreconfig
Compile Protobuf
./autogen.sh
./configure --prefix=/usr/local/protobuf --libdir=/usr/lib
make && sudo make install
Compile Protobuf-c
./autogen.sh
./configure --prefix=/usr/local/protobuf-c --libdir=/usr/lib/
make & sudo make install