安装opencc

centos 6.5

---------
opencc
---------
wget   https://github.com/BYVoid/OpenCC/archive/ver.0.4.2.tar.gz

tar -zxvf OpenCC-ver.0.4.2.tar.gz -C
cd  OpenCC-ver.0.4.2

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release LE_GETTEXT:BOOL=ON ..
make
make install

你可能感兴趣的:(opencc)