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!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>