# solve dependency
yum install -y gcc gcc-c++ boost boost-devel cmake make cmake3
yum install glog glog-devel kyotocabinet kyotocabinet-devel marisa-devel yaml-cpp yaml-cpp-devel gtest gtest-devel libnotify zlib zlib-devel gflags gflags-devel leveldb leveldb-devel libnotify-devel ibus-devel
cd /usr/src
# install opencc
下载地址:https://github.com/BYVoid/OpenCC
git clone https://github.com/BYVoid/OpenCC.git
cd OpenCC-ver.1.0.5/
make
make install
ln -s /usr/lib/libopencc.so /usr/lib64/libopencc.so
cd /usr/src
git clone --recursive https://github.com/rime/ibus-rime.git
cd /usr/src/ibus-rime
# checkout master & pull
cd /usr/src/ibus-rime/plum/
git checkout master
git pull origin master
cd /usr/src/ibus-rime
# skip submodule init
sed -i ‘s/git submodule update --init/#git submodule update --init/g‘ ./install.sh
./install.sh
安裝完畢之後需要重啓操作系統
重啓完操作系統之後進行設置
默认是繁体中文,如果想要设置为简体中文,在打字输入框的时候按组合键 ctrl+` 可以进行设置
原文地址:https://www.cnblogs.com/liangjiongyao/p/10210533.html