download

You can find protobuf 2.5.0 on this page: github

https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz

pi@node5:~ $ wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz

pi@node5:~ $ tar -xzvf protobuf-2.5.0.tar.gz 

install

install automake autoconf

pi@node5:~ $ sudo apt-get install automake autoconf libtool
pi@node5:~ $ cd protobuf-2.5.0
pi@node5:~ $ ./autogen.sh
pi@node5:~ $ ./configure --prefix=/usr
pi@node5:~ $ make
pi@node5:~ $ sudo make install
pi@node5:~ $ sudo ldconfig
pi@node5:~ $ protoc --version

resource

How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0 using maven 3.3.1

How to Install Google Protocol Buffers on Raspberry Pi and Test with Python

protobuf 2.5.0 and raspberry pi 3