Dependency:
sudo apt-get
install cmake build-essential opencc mercurial ibus
Install libgooglepinyin Library:
hg clone http:
//code.google.com/p/libgooglepinyin/
cd libgooglepinyin
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/
usr
make
sudo make install
Install ibus-googlepinyin:
hg clone http:
//code.google.com/p/libgooglepinyin.ibus-wrapper/ ibus-googlepinyin
cd ibus-
googlepinyin
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/
usr
make
sudo make install
Upgrade:
In libgooglepinyin :
hg pull --
time
hg up -
C
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/
usr
make
sudo make install
Restart ibus
转载于:https://www.cnblogs.com/myfreedom614/archive/2012/04/30/2476845.html
相关资源:谷歌拼音 for Linux