1. 程式人生 > >搜狗輸入法centos7

搜狗輸入法centos7

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