美文网首页
编译ibus-rime

编译ibus-rime

作者: Ubuntu_2017 | 来源:发表于2019-01-24 22:58 被阅读0次

所有 Linux 发行版中,唯有 Deepin Linux 不兼容 ibus 输入法框架,Deepin 用户请忽略。

首先,安装普通依赖:

sudo apt install g++ gcc cmake autoconf git libboost-all-dev -y

其次,安装专用依赖:

sudo apt install libibus-1.0-dev libnotify-dev libleveldb-dev libmarisa-dev libyaml-cpp-dev libopencc-dev -y

最后,进入各文件夹编译,

基本开始路径:要在每个文件夹下面打开终端:

建议顺序( $ 后面,是命令行 ):

1: glog

https://github.com/google/glog

$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

2: googletest

https://github.com/google/googletest

$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

3: plum

https://github.com/rime/plum

$ make
$ sudo make install

4: librime

https://github.com/rime/librime

$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

5: ibus-rime

https://github.com/rime/ibus-rime

$ make
$ sudo make install

6: opencc

https://github.com/BYVoid/OpenCC

$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

相关文章

网友评论

      本文标题:编译ibus-rime

      本文链接:https://www.haomeiwen.com/subject/gcrpjqtx.html