您的位置:首页 > 运维架构 > Linux

ubuntu14.04 安装搜狗输入法linux 64版本.

2014-09-10 23:43 549 查看
官方教程 http://pinyin.sogou.com/linux/help.php
下载地址 http://pinyin.sogou.com/linux/?r=pinyin
root@zhangbin-CW35S:/home/zhangbin# sudo apt-get install gdebi

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

gdebi-core gksu libgksu2-0

The following NEW packages will be installed:

gdebi gdebi-core gksu libgksu2-0

0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.

Need to get 133 kB of archives.

After this operation, 1,080 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main gdebi-core all 0.9.5.3ubuntu2 [9,772 B]

Get:2 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libgksu2-0 amd64 2.0.13~pre1-6ubuntu4 [71.8 kB]

Get:3 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe gksu amd64 2.0.2-6ubuntu2 [27.8 kB]

Get:4 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/universe gdebi all 0.9.5.3ubuntu2 [23.5 kB]

Fetched 133 kB in 2s (53.3 kB/s)

Selecting previously unselected package gdebi-core.

(Reading database ... 245653 files and directories currently installed.)

Preparing to unpack .../gdebi-core_0.9.5.3ubuntu2_all.deb ...

Unpacking gdebi-core (0.9.5.3ubuntu2) ...

Selecting previously unselected package libgksu2-0.

Preparing to unpack .../libgksu2-0_2.0.13~pre1-6ubuntu4_amd64.deb ...

Unpacking libgksu2-0 (2.0.13~pre1-6ubuntu4) ...

Selecting previously unselected package gksu.

Preparing to unpack .../gksu_2.0.2-6ubuntu2_amd64.deb ...

Unpacking gksu (2.0.2-6ubuntu2) ...

Selecting previously unselected package gdebi.

Preparing to unpack .../gdebi_0.9.5.3ubuntu2_all.deb ...

Unpacking gdebi (0.9.5.3ubuntu2) ...

Processing triggers for man-db (2.6.7.1-1) ...

Processing triggers for gconf2 (3.2.6-0ubuntu2) ...

Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...

Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...

Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...

Rebuilding /usr/share/applications/bamf-2.index...

Processing triggers for mime-support (3.54ubuntu1) ...

Setting up gdebi-core (0.9.5.3ubuntu2) ...

Setting up libgksu2-0 (2.0.13~pre1-6ubuntu4) ...

update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in auto mode

Processing triggers for gconf2 (3.2.6-0ubuntu2) ...

Setting up gksu (2.0.2-6ubuntu2) ...

Setting up gdebi (0.9.5.3ubuntu2) ...

Processing triggers for libc-bin (2.19-0ubuntu6.3) ...

root@zhangbin-CW35S:/home/zhangbin# cd Downloads/

root@zhangbin-CW35S:/home/zhangbin/Downloads# ls

sougou 拼音官方网站下载for linux版本,

然后用gdebi来安装:

root@zhangbin-CW35S:/home/zhangbin/Downloads# gdebi sogou_pinyin_linux_1.1.0.0037_amd64.deb

Reading package lists... Done

Building dependency tree

Reading state information... Done

Building data structures... Done

Building data structures... Done

Sogou Pinyin input method

Based on web search engine technology, Sogou Pinyin input method is

the next-generation input method designed for Internet users. As it

is backed with search engine technology, user input method can be

extremely fast, and it is much more advanced than other input method

engines in terms of the volume of the vocabulary database and its

accuracy. Sogou input method is the most popular input methods in

China, and Sogou promises it will always be free of charge.

Do you want to install the software package? [y/N]:y

Selecting previously unselected package sogoupinyin.

(Reading database ... 245737 files and directories currently installed.)

Preparing to unpack sogou_pinyin_linux_1.1.0.0037_amd64.deb ...

Unpacking sogoupinyin (1.1.0.0037) ...

Setting up sogoupinyin (1.1.0.0037) ...

Processing triggers for mime-support (3.54ubuntu1) ...

Processing triggers for hicolor-icon-theme (0.13-1) ...

Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...

Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...

Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...

Rebuilding /usr/share/applications/bamf-2.index...

Processing triggers for libglib2.0-0:i386 (2.40.0-2) ...

Processing triggers for libglib2.0-0:amd64 (2.40.0-2) ...

Processing triggers for shared-mime-info (1.2-0ubuntu3) ...

Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Processing triggers for libc-bin (2.19-0ubuntu6.3) ...

这个没用,我是自己设置的,

root@zhangbin-CW35S:/home/zhangbin/Downloads# im-switch -s fcitx -z default

The program 'im-switch' is currently not installed. You can install it by typing:

apt-get install im-switch

root@zhangbin-CW35S:/home/zhangbin/Downloads# apt-get install im-switch

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages will be REMOVED:

im-config language-selector-gnome ubuntu-desktop

The following NEW packages will be installed:

im-switch

0 upgraded, 1 newly installed, 3 to remove and 33 not upgraded.

Need to get 16.6 kB of archives.

After this operation, 455 kB disk space will be freed.

Do you want to continue? [Y/n] y

Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe im-switch all 1.23ubuntu1 [16.6 kB]

Fetched 16.6 kB in 1s (16.0 kB/s)

(Reading database ... 246144 files and directories currently installed.)

Removing ubuntu-desktop (1.325) ...

Removing language-selector-gnome (0.129.2) ...

Removing im-config (0.24-1ubuntu4.1) ...

Processing triggers for man-db (2.6.7.1-1) ...

Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...

Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...

Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...

Rebuilding /usr/share/applications/bamf-2.index...

Processing triggers for mime-support (3.54ubuntu1) ...

Selecting previously unselected package im-switch.

(Reading database ... 246074 files and directories currently installed.)

Preparing to unpack .../im-switch_1.23ubuntu1_all.deb ...

Unpacking im-switch (1.23ubuntu1) ...

Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...

Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...

Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...

Rebuilding /usr/share/applications/bamf-2.index...

Processing triggers for mime-support (3.54ubuntu1) ...

Processing triggers for man-db (2.6.7.1-1) ...

Setting up im-switch (1.23ubuntu1) ...

update-alternatives: using /etc/X11/xinit/xinput.d/default to provide /etc/X11/xinit/xinput.d/all_ALL (xinput-all_ALL) in auto mode

update-alternatives: using /etc/X11/xinit/xinput.d/lo-gtk to provide /etc/X11/xinit/xinput.d/lo_TH (xinput-lo_TH) in auto mode

update-alternatives: using /etc/X11/xinit/xinput.d/th-xim to provide /etc/X11/xinit/xinput.d/th_TH (xinput-th_TH) in auto mode

root@zhangbin-CW35S:/home/zhangbin/Downloads# im-switch -s fcitx -z default

No system wide default defined just for locale en_US .

Use "all_ALL" quasi-locale and set IM.

/usr/lib/im-switch/im-switch: 109: /usr/lib/im-switch/im-switch: /usr/sbin/update-alternatives: not found

/usr/lib/im-switch/im-switch: 245: /usr/lib/im-switch/im-switch: /usr/sbin/update-alternatives: not found

/usr/lib/im-switch/im-switch: 109: /usr/lib/im-switch/im-switch: /usr/sbin/update-alternatives: not found

root@zhangbin-CW35S:/home/zhangbin/Downloads#

本身就安装有fcitx,这个时候不用注销,直接右键重启,就看到搜狗输入法了.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐