下载protobuf-2.5.0.


进入该文件夹,


./configure

make

make check

make install


接下来可以使用了。


关于protobuf的功能和使用,请参见其他博客。