目前的版本为:

首先把现在的ibus-libpinyin卸了

sudo apt-get --purge remove ibus-libpinyinsudo apt-get autoremove 

安装教程请参考

Installation · libpinyin/ibus-libpinyin Wiki · GitHub

yilai

sudo apt install pkg-configsudo apt-get install libglib2.0-devsudo apt install libdb-devsudo pip install bsddb3

this means ok

Build & Install libpinyin

Download libpinyin source fromSourceForge

 $ tar zxvf libpinyin-xx.tar.gz $ cd libpinyin-xx $ ./configure --prefix=/usr $ make $ sudo make install
  • The ‘xx’ is a version number.

Build & Install ibus-libpinyin

Download ibus-libpinyin source fromSourceForge

 $ tar zxvf ibus-libpinyin-xx.tar.gz $ cd ibus-libpinyin-xx $ ./configure --prefix=/usr $ make $ sudo make install
  • if got error

  • you should install the dev package:

    sudo apt install libpinyin-devsudo apt install libsqlite3-devsudo apt install libibus-1.0-dev
  • then if you got

  • and

  • now i got

  • install lua,他这个会提示lua > 5.1 no 不要理会你装了lua就新

  • 卸载

  • make uninstall