Tag Archives: Pinyin

iBus Google Pinyin Install

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

Done!