Sunday, August 21, 2011

Install Google Pinyin (拼音) in Ubuntu 10.10

Install git/aptitude/scim module
$ sudo apt-get install git-core
$ sudo apt-get install aptitude
$ sudo apt-get install scim
Download google pinyin engine for scim
$ sudo git clone https://github.com/tchaikov/scim-googlepinyin.git
If you failed to do this, please go to https://github.com/tchaikov/scim-googlepinyin to download the zipped source file by yourself. Extract it to a folder, e.g., scim-googlepinyin.
Install google pinyin
$ cd scim-googlepinyin
$ sudo aptitude install libtool autotools-dev libgtk2.0-dev libscim-dev
$ sudo ./autogen.sh
$ sudo make
$ sudo make install
Run google pinyin
First, go to System->Administration->Language Support and choose "scim" as the "Keyboard input method system". Second, restart scim using following commands:
$ sudo pkill scim
$ scim -d

1 comment: