ubuntu上的google拼音

安装谷歌拼音库libgooglepinyin:
  • sudo apt-get install cmake build-essential opencc mercurial ibus
  • hg clone http://code.google.com/p/libgooglepinyin/
  • cd libgooglepinyin
  • mkdir build; cd build
  • cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  • make
  • sudo make install
安装ibus wrapper:
  • 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
设置ibus,选择谷歌拼音
参考:

发表评论