搜狗輸入法centos7
阿新 • • 發佈:2018-07-27
sta inux base als code img webkit repos com
1、管理員身份下進行 yum install alien -y 安裝alien依賴文件
註:若提示一下錯誤,解決方法為: [root@localhost opt]# rm -f /var/run/yum.pid
安裝完畢:
2、官網下載搜狗拼音:https://pinyin.sogou.com/linux/?r=pinyin
我下載的版本是:版本:2.2.0.0108 升級日誌 日期:2018-04-24
3、下載 yum install epel-release
4、查看倉庫列表,有Extra Packages ……正常
我的是正常的,如果碰見錯誤可以參見別人解決方法,比如:
umount /dev/sr0 :刪除掛載 cd /etc/yum.repos.d/ wget http://mirrors.tuna.tsinghua.edu.cn vi /etc/yum.repos.d/Centos-Media.ropo vi /etc/yum.repos.d/Centos-Base.ropo
5、管理員身份下進行 yum install qtwebkit -y 安裝依賴文件
6、轉換rpm包: rpm -r
7、安裝 rpm -ivh sogoupinyin-2.2.0.0108-2.x86_64.rpm
若提示下面錯誤,解決方法安裝fcitx: yum install fcitx
再次安裝:
8、啟用
關閉 gnome-shell 對鍵盤的監聽: gsettings set org.gnome.settings-daemon.plugins.keyboard active false
切換輸入法為 fcitx: imsettings-switch fcitx
重啟系統:按shift切換就可以了
搜狗輸入法centos7