Ubuntu - 安装搜狗输入法 for Linux

时间:2021-10-10 06:28:06

在虚拟机上的 Firefox 浏览器,下载搜狗输入法并安装(Low B)

进入搜狗输入法官网,找到搜狗输入法 for Linux

Ubuntu - 安装搜狗输入法 for Linux

 

查看虚拟机是 32 位还是 64 位

Ctrl+Alt+T 快捷键打开 Ubuntu Terminal,键入 sudo uname --m ,x86_64 表示 64 位

Ubuntu - 安装搜狗输入法 for Linux

 

下载 64 位搜狗输入法

Ubuntu - 安装搜狗输入法 for Linux

 

下载完成,存放在目录 Downloads 下

Ubuntu - 安装搜狗输入法 for Linux

 

sudo dpkg -i sogoupinyin_2.2.0.0102_amd64.deb 安装

Ubuntu - 安装搜狗输入法 for Linux

 

遇到 dpkg: error processing package sogoupinyin (--install): dependency problems - leaving unconfigured 

输入 sudo apt-get install -f 

中间有提示,输入 Y Do you want to continue? [Y/n] Y 

执行完成即可!

 

命令行完整部分:

zhouk@ubuntu:~/Downloads$ sudo dpkg -i sogoupinyin_2.2.0.0102_amd64.deb 
[sudo] password for zhouk: 
Selecting previously unselected package sogoupinyin.
(Reading database ... 255062 files and directories currently installed.)
Preparing to unpack sogoupinyin_2.2.0.0102_amd64.deb ...
Unpacking sogoupinyin (2.2.0.0102) ...
dpkg: dependency problems prevent configuration of sogoupinyin:
 sogoupinyin depends on fcitx (>= 1:4.2.8.3-3~); however:
  Package fcitx is not installed.
 sogoupinyin depends on fcitx-frontend-gtk2; however:
  Package fcitx-frontend-gtk2 is not installed.
 sogoupinyin depends on fcitx-frontend-gtk3; however:
  Package fcitx-frontend-gtk3 is not installed.
 sogoupinyin depends on fcitx-frontend-qt4; however:
  Package fcitx-frontend-qt4 is not installed.
 sogoupinyin depends on fcitx-module-kimpanel; however:
  Package fcitx-module-kimpanel is not installed.
 sogoupinyin depends on libopencc2 | libopencc1; however:
  Package libopencc2 is not installed.
  Package libopencc1 is not installed.
 sogoupinyin depends on fcitx-libs (>= 4.2.7); however:
  Package fcitx-libs is not installed.
 sogoupinyin depends on fcitx-libs-qt (>= 4.2.7); however:
  Package fcitx-libs-qt is not installed.
 sogoupinyin depends on libqtwebkit4; however:
  Package libqtwebkit4 is not installed.

dpkg: error processing package sogoupinyin (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.3+17.10.20170810-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for libglib2.0-0:amd64 (2.54.1-1ubuntu1) ...
No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key.
Processing triggers for hicolor-icon-theme (0.17-1) ...
Errors were encountered while processing:
 sogoupinyin
zhouk@ubuntu:~/Downloads$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  a11y-profile-manager-indicator account-plugin-facebook account-plugin-flickr
  account-plugin-google accountsservice-ubuntu-schemas
  accountsservice-ubuntu-touch-schemas address-book-service app-install-data
  apt-transport-https biometryd-bin content-hub
  evolution-data-server-online-accounts evolution-data-server-utouch
  folks-common g++-6 gir1.2-appindicator3-0.1 gir1.2-appstreamglib-1.0
  gir1.2-gusb-1.0 gnome-system-log history-service indicator-network
  indicator-transfer indicator-transfer-download-manager intel-gpu-tools
  liba11y-profile-manager-0.1-0 liba11y-profile-manager-data
  libaccount-plugin-1.0-0 libaccount-plugin-facebook libaccount-plugin-flickr
  libaccount-plugin-generic-oauth libaccount-plugin-google libaccounts-qt5-1
  libandroid-properties1 libbiometryd1 libboost-log1.62.0
  libboost-program-options1.62.0 libboost-regex1.62.0 libboost-system1.61.0
  libcamel-1.2-59 libclick-0.4-0 libconnectivity-qt1 libcontent-hub-glib0
  libcontent-hub0 libdbus-cpp5 libebook-1.2-16 libertine-xmir-tools libertined
  libevent-2.0-5 libfolks-eds25 libfolks25 libgflags2.2 libgflags2v5
  libgmime-2.6-0 libgoogle-glog0v5 libgtkspell3-3-0 libgtop-2.0-10
  libhardware2 libhistoryservice0 libhud2 libhunspell-1.4-0 libhybris
  libhybris-common1 libindicator-transfer0 libleveldb1v5 liblibertine1
  liblightdm-qt5-3-0 libllvm4.0 libmedia1 libmediascanner-2.0-4 libmiral2
  libmircookie2 libmirplatform15 libmirplatform16 libmirserver43
  libmirserver45 libmission-control-plugins0 libnm-glib-vpn1 libnm-gtk-common
  libnma-common libnss-resolve libntfs-3g871 libonline-accounts-client1
  libonline-accounts-daemon1 libonline-accounts-qt1 liboxideqt-qmlplugin
  liboxideqtcore0 liboxideqtquick0 libpcre16-3 libperl5.24 libpkcs11-helper1
  libpoppler-qt5-1 libpoppler64 libpython-stdlib libpython3.5 libqdjango-db0
  libqgsttools-p1 libqmenumodel0 libqofono-qt5-0 libqpdf17 libqt5concurrent5
  libqt5contacts5 libqt5feedback5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5organizer5 libqt5positioning5 libqt5printsupport5 libqt5quicktest5
  libqt5sensors5 libqt5systeminfo5 libqt5test5 libqt5versit5 libqt5webkit5
  libqt5xml5 libqt5xmlpatterns5 libsignon-extension1 libsignon-plugins-common1
  libsignon-qt5-1 libsnappy1v5 libstdc++-6-dev libsystemsettings1
  libtelepathy-qt4-2 libtelepathy-qt5-0 libthumbnailer-qt1.0
  libtracker-sparql-1.0-0 libtrust-store2 libubuntu-application-api3
  libubuntu-download-manager-client1 libubuntu-download-manager-common1
  libubuntu-location-service3 libubuntu-platform-hardware-api3
  libubuntumetrics5 libudm-common1 libudm-priv-common1 libunity-action-qt1
  libunwind8 liburcu4 libusermetricsinput1 libusermetricsoutput1 libwebpmux2
  linux-headers-4.10.0-19 linux-headers-4.10.0-19-generic
  linux-headers-4.10.0-33 linux-headers-4.10.0-33-generic
  linux-image-4.10.0-19-generic linux-image-4.10.0-33-generic
  linux-image-extra-4.10.0-19-generic linux-image-extra-4.10.0-33-generic
  mediascanner2.0 mir-client-platform-mesa5 mir-graphics-drivers-desktop
  mir-platform-graphics-mesa-kms12 mir-platform-graphics-mesa-kms13
  mir-platform-graphics-mesa-x12 mir-platform-graphics-mesa-x13
  mir-platform-input-evdev6 mir-platform-input-evdev7 network-manager-openvpn
  onboard onboard-common onboard-data openvpn overlay-scrollbar
  overlay-scrollbar-gtk2 oxideqt-codecs perl-modules-5.24 pkg-config
  plainbox-provider-checkbox plainbox-provider-resource-generic
  plainbox-secure-policy policykit-unity8 python python-minimal python2.7
  python2.7-minimal python3-checkbox-support python3-guacamole python3-jinja2
  python3-libertine python3-padme python3-plainbox python3-psutil
  python3-pyasn1 python3-pyparsing python3-xlsxwriter qmenumodel-qml
  qml-module-biometryd qml-module-io-thp-pyotherside qml-module-ofono
  qml-module-pamauthentication0.1 qml-module-qmltermwidget1.0
  qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings
  qml-module-qtfeedback qml-module-qtgraphicaleffects qml-module-qtmultimedia
  qml-module-qtqml-models2 qml-module-qtqml-statemachine
  qml-module-qtquick-layouts qml-module-qtquick-window2
  qml-module-qtquick-xmllistmodel qml-module-qtquick2 qml-module-qtsysteminfo
  qml-module-qttest qml-module-ubuntu-connectivity
  qml-module-ubuntu-onlineaccounts qml-module-ubuntu-onlineaccounts-client
  qml-module-ubuntu-onlineaccounts2 qml-module-ubuntu-performancemetrics
  qml-module-ubuntu-thumbnailer0.1 qmlscene qtcontact5-galera
  qtdeclarative5-accounts-plugin qtdeclarative5-dev-tools
  qtdeclarative5-gsettings1.0 qtdeclarative5-qtquick2-plugin
  qtdeclarative5-ubuntu-content1 qtdeclarative5-ubuntu-download-manager0.1
  qtdeclarative5-ubuntu-telephony0.1 qtdeclarative5-unity-action-plugin
  qtdeclarative5-unity-notifications-plugin qtubuntu-desktop rename repowerd
  repowerd-data signon-keyring-extension signon-plugin-oauth2 signon-ui
  signon-ui-service signon-ui-x11 signond sni-qt sqlite3 suru-icon-theme
  telepathy-mission-control-5 telephony-service thumbnailer-service
  tone-generator ubuntu-application-api3-desktop ubuntu-application-api3-test
  ubuntu-download-manager ubuntu-mobile-icons ubuntu-ui-toolkit-theme
  unity-accessibility-profiles unity-control-center-signon unity-plugin-scopes
  unity-scope-gdrive unity-scope-mediascanner2 unity-system-compositor
  usermetricsservice xdiagnose xmir xml-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data
  fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3
  fcitx-frontend-qt4 fcitx-frontend-qt5 fcitx-libs fcitx-libs-qt
  fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11
  fcitx-modules fcitx-ui-classic libfcitx-core0 libfcitx-qt0 libfcitx-qt5-1
  libgettextpo0 liblua5.2-0 libopencc2 libopencc2-data libpresage-data
  libpresage1v5 libqt4-opengl libqtwebkit4 libtinyxml2.6.2v5 presage
Suggested packages:
  fcitx-m17n fcitx-tools kdebase-bin plasma-widgets-kimpanel
The following NEW packages will be installed:
  fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data
  fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3
  fcitx-frontend-qt4 fcitx-frontend-qt5 fcitx-libs fcitx-libs-qt
  fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11
  fcitx-modules fcitx-ui-classic libfcitx-core0 libfcitx-qt0 libfcitx-qt5-1
  libgettextpo0 liblua5.2-0 libopencc2 libopencc2-data libpresage-data
  libpresage1v5 libqt4-opengl libqtwebkit4 libtinyxml2.6.2v5 presage
0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 16.8 MB of archives.
After this operation, 67.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libfcitx-core0 amd64 1:4.2.9.1-6 [55.0 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu artful/main amd64 libgettextpo0 amd64 0.19.8.1-4ubuntu1 [127 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-bin amd64 1:4.2.9.1-6 [41.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-data all 1:4.2.9.1-6 [81.4 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libtinyxml2.6.2v5 amd64 2.6.2-4 [29.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libpresage-data all 0.9.1-2.1ubuntu4 [3,541 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libpresage-data all 0.9.1-2.1ubuntu4 [3,541 kB] 
Get:7 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libpresage1v5 amd64 0.9.1-2.1ubuntu4 [153 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-modules amd64 1:4.2.9.1-6 [1,437 kB]
26% [8 fcitx-modules 551 kB/1,437 kB 38%]                                                      118 kB/s 1min 43s^Get:9 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx all 1:4.2.9.1-6 [5,562 B]                 
Get:10 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-module-dbus amd64 1:4.2.9.1-6 [28.9 kB]  
Get:11 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-frontend-gtk2 amd64 1:4.2.9.1-6 [14.2 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-frontend-gtk3 amd64 1:4.2.9.1-6 [14.9 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libfcitx-qt0 amd64 1:4.2.9.1-6 [67.7 kB]       
Get:14 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-frontend-qt4 amd64 1:4.2.9.1-6 [27.8 kB] 
Get:15 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-module-kimpanel amd64 1:4.2.9.1-6 [17.8 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libopencc2-data all 1.0.4-5 [106 kB]           
Get:17 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libopencc2 amd64 1.0.4-5 [1,199 kB]            
Get:18 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-libs all 1:4.2.9.1-6 [3,802 B]           
Get:19 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-libs-qt all 1:4.2.9.1-6 [3,778 B]        
Get:20 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libqt4-opengl amd64 4:4.8.7+dfsg-7ubuntu1 [301 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libqtwebkit4 amd64 2.3.2-0ubuntu13 [9,010 kB]  
Get:22 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-config-common all 0.4.8-3build1 [2,776 B]
Get:23 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-config-gtk amd64 0.4.8-3build1 [35.4 kB] 
Get:24 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-frontend-all all 1:4.2.9.1-6 [4,862 B]   
Get:25 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 libfcitx-qt5-1 amd64 1.0.5-1build2 [59.6 kB]   
Get:26 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-frontend-qt5 amd64 1.0.5-1build2 [31.2 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu artful/main amd64 liblua5.2-0 amd64 5.2.4-1.1build1 [108 kB]         
Get:28 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-module-lua amd64 1:4.2.9.1-6 [17.3 kB]   
Get:29 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-module-x11 amd64 1:4.2.9.1-6 [83.1 kB]   
Get:30 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 fcitx-ui-classic amd64 1:4.2.9.1-6 [96.3 kB]   
Get:31 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 presage amd64 0.9.1-2.1ubuntu4 [54.3 kB]       
Fetched 13.8 MB in 8min 41s (26.5 kB/s)                                                                         
Extracting templates from packages: 100%
Selecting previously unselected package libfcitx-core0:amd64.
(Reading database ... 255446 files and directories currently installed.)
Preparing to unpack .../00-libfcitx-core0_1%3a4.2.9.1-6_amd64.deb ...
Unpacking libfcitx-core0:amd64 (1:4.2.9.1-6) ...
Selecting previously unselected package libgettextpo0:amd64.
Preparing to unpack .../01-libgettextpo0_0.19.8.1-4ubuntu1_amd64.deb ...
Unpacking libgettextpo0:amd64 (0.19.8.1-4ubuntu1) ...
Selecting previously unselected package fcitx-bin.
Preparing to unpack .../02-fcitx-bin_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-bin (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-data.
Preparing to unpack .../03-fcitx-data_1%3a4.2.9.1-6_all.deb ...
Unpacking fcitx-data (1:4.2.9.1-6) ...
Selecting previously unselected package libtinyxml2.6.2v5:amd64.
Preparing to unpack .../04-libtinyxml2.6.2v5_2.6.2-4_amd64.deb ...
Unpacking libtinyxml2.6.2v5:amd64 (2.6.2-4) ...
Selecting previously unselected package libpresage-data.
Preparing to unpack .../05-libpresage-data_0.9.1-2.1ubuntu4_all.deb ...
Unpacking libpresage-data (0.9.1-2.1ubuntu4) ...
Selecting previously unselected package libpresage1v5:amd64.
Preparing to unpack .../06-libpresage1v5_0.9.1-2.1ubuntu4_amd64.deb ...
Unpacking libpresage1v5:amd64 (0.9.1-2.1ubuntu4) ...
Selecting previously unselected package fcitx-modules.
Preparing to unpack .../07-fcitx-modules_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-modules (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx.
Preparing to unpack .../08-fcitx_1%3a4.2.9.1-6_all.deb ...
Unpacking fcitx (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-module-dbus.
Preparing to unpack .../09-fcitx-module-dbus_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-module-dbus (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-frontend-gtk2.
Preparing to unpack .../10-fcitx-frontend-gtk2_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-frontend-gtk2 (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-frontend-gtk3.
Preparing to unpack .../11-fcitx-frontend-gtk3_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-frontend-gtk3 (1:4.2.9.1-6) ...
Selecting previously unselected package libfcitx-qt0:amd64.
Preparing to unpack .../12-libfcitx-qt0_1%3a4.2.9.1-6_amd64.deb ...
Unpacking libfcitx-qt0:amd64 (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-frontend-qt4.
Preparing to unpack .../13-fcitx-frontend-qt4_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-frontend-qt4 (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-module-kimpanel.
Preparing to unpack .../14-fcitx-module-kimpanel_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-module-kimpanel (1:4.2.9.1-6) ...
Selecting previously unselected package libopencc2-data.
Preparing to unpack .../15-libopencc2-data_1.0.4-5_all.deb ...
Unpacking libopencc2-data (1.0.4-5) ...
Selecting previously unselected package libopencc2:amd64.
Preparing to unpack .../16-libopencc2_1.0.4-5_amd64.deb ...
Unpacking libopencc2:amd64 (1.0.4-5) ...
Selecting previously unselected package fcitx-libs.
Preparing to unpack .../17-fcitx-libs_1%3a4.2.9.1-6_all.deb ...
Unpacking fcitx-libs (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-libs-qt.
Preparing to unpack .../18-fcitx-libs-qt_1%3a4.2.9.1-6_all.deb ...
Unpacking fcitx-libs-qt (1:4.2.9.1-6) ...
Selecting previously unselected package libqt4-opengl:amd64.
Preparing to unpack .../19-libqt4-opengl_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb ...
Unpacking libqt4-opengl:amd64 (4:4.8.7+dfsg-7ubuntu1) ...
Selecting previously unselected package libqtwebkit4:amd64.
Preparing to unpack .../20-libqtwebkit4_2.3.2-0ubuntu13_amd64.deb ...
Unpacking libqtwebkit4:amd64 (2.3.2-0ubuntu13) ...
Selecting previously unselected package fcitx-config-common.
Preparing to unpack .../21-fcitx-config-common_0.4.8-3build1_all.deb ...
Unpacking fcitx-config-common (0.4.8-3build1) ...
Selecting previously unselected package fcitx-config-gtk.
Preparing to unpack .../22-fcitx-config-gtk_0.4.8-3build1_amd64.deb ...
Unpacking fcitx-config-gtk (0.4.8-3build1) ...
Selecting previously unselected package fcitx-frontend-all.
Preparing to unpack .../23-fcitx-frontend-all_1%3a4.2.9.1-6_all.deb ...
Unpacking fcitx-frontend-all (1:4.2.9.1-6) ...
Selecting previously unselected package libfcitx-qt5-1:amd64.
Preparing to unpack .../24-libfcitx-qt5-1_1.0.5-1build2_amd64.deb ...
Unpacking libfcitx-qt5-1:amd64 (1.0.5-1build2) ...
Selecting previously unselected package fcitx-frontend-qt5:amd64.
Preparing to unpack .../25-fcitx-frontend-qt5_1.0.5-1build2_amd64.deb ...
Unpacking fcitx-frontend-qt5:amd64 (1.0.5-1build2) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../26-liblua5.2-0_5.2.4-1.1build1_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1build1) ...
Selecting previously unselected package fcitx-module-lua.
Preparing to unpack .../27-fcitx-module-lua_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-module-lua (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-module-x11.
Preparing to unpack .../28-fcitx-module-x11_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-module-x11 (1:4.2.9.1-6) ...
Selecting previously unselected package fcitx-ui-classic.
Preparing to unpack .../29-fcitx-ui-classic_1%3a4.2.9.1-6_amd64.deb ...
Unpacking fcitx-ui-classic (1:4.2.9.1-6) ...
Selecting previously unselected package presage.
Preparing to unpack .../30-presage_0.9.1-2.1ubuntu4_amd64.deb ...
Unpacking presage (0.9.1-2.1ubuntu4) ...
Setting up libqt4-opengl:amd64 (4:4.8.7+dfsg-7ubuntu1) ...
Processing triggers for libgtk2.0-0:amd64 (2.24.31-2ubuntu1) ...
Setting up libopencc2-data (1.0.4-5) ...
Setting up libtinyxml2.6.2v5:amd64 (2.6.2-4) ...
Setting up fcitx-data (1:4.2.9.1-6) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up fcitx-config-common (0.4.8-3build1) ...
Setting up libfcitx-qt5-1:amd64 (1.0.5-1build2) ...
Processing triggers for libgtk-3-0:amd64 (3.22.25-0ubuntu0.1) ...
Processing triggers for bamfdaemon (0.5.3+17.10.20170810-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Setting up libgettextpo0:amd64 (0.19.8.1-4ubuntu1) ...
Setting up libopencc2:amd64 (1.0.4-5) ...
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Setting up libpresage-data (0.9.1-2.1ubuntu4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for shared-mime-info (1.8-1) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1build1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Setting up libfcitx-core0:amd64 (1:4.2.9.1-6) ...
Setting up fcitx-libs (1:4.2.9.1-6) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
Setting up fcitx-frontend-all (1:4.2.9.1-6) ...
Setting up libfcitx-qt0:amd64 (1:4.2.9.1-6) ...
Setting up libqtwebkit4:amd64 (2.3.2-0ubuntu13) ...
Setting up libpresage1v5:amd64 (0.9.1-2.1ubuntu4) ...
Setting up presage (0.9.1-2.1ubuntu4) ...
Setting up fcitx-libs-qt (1:4.2.9.1-6) ...
Setting up fcitx-config-gtk (0.4.8-3build1) ...
Setting up fcitx-bin (1:4.2.9.1-6) ...
Setting up fcitx-modules (1:4.2.9.1-6) ...
Setting up fcitx-module-dbus (1:4.2.9.1-6) ...
Setting up fcitx (1:4.2.9.1-6) ...
update-alternatives: using /etc/X11/xinit/xinput.d/fcitx to provide /etc/X11/xinit/xinput.d/ja_JP (xinput-ja_JP) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/fcitx to provide /etc/X11/xinit/xinput.d/ko_KR (xinput-ko_KR) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/fcitx to provide /etc/X11/xinit/xinput.d/zh_CN (xinput-zh_CN) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/fcitx to provide /etc/X11/xinit/xinput.d/zh_TW (xinput-zh_TW) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/fcitx to provide /etc/X11/xinit/xinput.d/zh_HK (xinput-zh_HK) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/fcitx to provide /etc/X11/xinit/xinput.d/zh_SG (xinput-zh_SG) in auto mode
Setting up fcitx-frontend-qt4 (1:4.2.9.1-6) ...
Setting up fcitx-frontend-gtk3 (1:4.2.9.1-6) ...
Setting up fcitx-frontend-qt5:amd64 (1.0.5-1build2) ...
Setting up fcitx-module-lua (1:4.2.9.1-6) ...
Setting up fcitx-frontend-gtk2 (1:4.2.9.1-6) ...
Setting up fcitx-module-x11 (1:4.2.9.1-6) ...
Setting up fcitx-module-kimpanel (1:4.2.9.1-6) ...
Setting up fcitx-ui-classic (1:4.2.9.1-6) ...
Setting up sogoupinyin (2.2.0.0102) ...
Processing triggers for libc-bin (2.26-0ubuntu2) ...
zhouk@ubuntu:~/Downloads$ 

 

 Settings ,选择 Region & Language 

Ubuntu - 安装搜狗输入法 for Linux

 

搜索 Fcitx ,选择 Fcitx 配置 

Ubuntu - 安装搜狗输入法 for Linux

 

添加搜狗输入法

Ubuntu - 安装搜狗输入法 for Linux

 

右上角出现输入法选项

Ubuntu - 安装搜狗输入法 for Linux

 

测试一下

Ubuntu - 安装搜狗输入法 for Linux