1. 程式人生 > >Ubuntu 16.04 LTS 安裝搜狗輸入法

Ubuntu 16.04 LTS 安裝搜狗輸入法

(1)搜狗輸入是基於fcitx的,而系統預設是iBus。

想要裝搜狗輸入法的話,先看看fcitx有沒有裝上。

fcitx --version

如果能夠出來版本號說明系統是裝了fcitx的。如果沒有,那就使用下面的命令安裝fcitx

①先新增以下源

sudo add-apt-repository ppa:fcitx-team/nightly

②新增源之後更新

sudo apt-get update

③安裝fcitx

sudo apt-get install fcitx

④安裝fcitx的配置工具

sudo apt-get install fcitx-config-gtk

⑤安裝fcitx的table-all軟體包

sudo apt-get install fcitx-table-all

⑥安裝im-switch切換工具

sudo apt-get install im-switch

(2)系統語言設定

①安裝中文支援

②將預設的keyboard input method system iBus 切換成 fcitx

(3)搜狗輸入法的安裝包是以.deb結尾的打包應用程式,屬於dpkg包

①先裝一個小工具GDebi,這個工具能夠根據軟體庫自行解決依賴關係。

sudo apt-get install gdebi

②下載搜狗輸入法

③進入下載檔案目錄,我這裡是預設下載目錄

 cd Downloads/

④安裝輸入法,sogoupinyin_2.2.0.0102_amd64.deb是下載的安裝檔案的名稱

sudo gdebi sogoupinyin_2.2.0.0102_amd64.deb 

(4)重啟計算機

(5)配置搜狗輸入法

①搜尋  fcitx configuration,並開啟 fcitx configuration

②點選+,並選中Sougou Pinyin,OK 即可.

點選小鍵盤選擇搜狗輸入法或者按shift切換到輸入法。