记录下ibus-libpinyin输入法的重新安装
目前的版本为:
首先把现在的ibus-libpinyin卸了
sudo apt-get --purge remove ibus-libpinyin
sudo apt-get autoremove
安装教程请参考
Installation · libpinyin/ibus-libpinyin Wiki · GitHub
yilai
sudo apt install pkg-config
sudo apt-get install libglib2.0-dev
sudo apt install libdb-dev
sudo pip install bsddb3
this means ok
Build & Install libpinyin
Download libpinyin source from SourceForge
$ 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 from SourceForge
$ 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-dev sudo apt install libsqlite3-dev sudo apt install libibus-1.0-dev
-
then if you got
-
and
-
now i got
-
install lua,他这个会提示lua > 5.1 no 不要理会你装了lua就新
-
卸载
-
make uninstall