1.下载两个安装包到桌面:
$ http://libgooglepinyin.googlecode.com/files/ibus-googlepinyin-0.1.1.tar.bz2 |
2.安装cmake:
$ sudo apt-get install cmake |
3.进入刚才的libgooglepinyin-0.1.1文件夹,开始编译安装libgooglepinyin:
$ cd build cmake $ .. -DCMAKE_INSTALL_PREFIX=/usr $ make $ sudo make install |
4.同样方法,编译ibus-googlepinyin:
$ mkdir build; cd build $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr $ make $ sudo make install |
5.编译安装好之后,ubuntu的ibus上还找不到Google拼音的。需要重启ibus。:
|