• CentOS7.6安装rime輸入法


    # 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+` 可以进行设置

  • 相关阅读:
    模板
    Codeforces Round #598 (Div. 3)
    Codeforces Round #589 (Div. 2)
    日记集
    模板
    Codeforces Round #592 (Div. 2)
    Linux挂载新盘
    VMware实用技巧
    useradd和adduser的区别
    ubuntu VSFTPD搭建FTP服务器 提示530错误
  • 原文地址:https://www.cnblogs.com/liangjiongyao/p/10210533.html
Copyright © 2020-2023  润新知