ubuntu server install 安装中文(搜狗)输入法

ubuntu server install 安装中文(搜狗)输入法

1.对于ubuntu server默认无中文输入法框架,我比较倾向于我一直使用的ibus-sunpinyin。这里我需要先安装ibus的框架

不过我遇到了问题:

dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libappindicator1; however: Package libappindicator1 is not installed.


缺少它就安装它,不过还是有问题:

$ sudo apt-get install libappindicator1 Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libappindicator1 : Depends: libindicator7 (>= 0.4.90) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

不过将这两个依赖同时安装就可以了:

$ sudo apt-get -f install libappindicator1 libindicator7


hadoop@master:~$ sudo apt-get -f install libappindicator1 libindicator7
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all
fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-libs
fcitx-libs-gclient fcitx-libs-qt fcitx-module-dbus fcitx-module-kimpanel
fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic
libbonobo2-0 libbonobo2-common libgconf2-4 libgnome2-0 libgnome2-bin
libgnome2-common libgnomevfs2-0 libgnomevfs2-common libice-dev libidl-common
libidl0 libmbim-glib0 liborbit-2-0 liborbit2 libpthread-stubs0-dev
libqmi-glib0 libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev
libxdmcp-dev libxt-dev usb-modeswitch usb-modeswitch-data x11proto-core-dev
x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Use ‘apt-get autoremove’ to remove them.
The following NEW packages will be installed:
libappindicator1 libindicator7
0 upgraded, 2 newly installed, 0 to remove and 122 not upgraded.
1 not fully installed or removed.
Need to get 39.9 kB of archives.
After this operation, 201 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libindicator7 amd64 12.10.2+14.04.20141007.1-0ubuntu1 [21.7 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libappindicator1 amd64 12.10.1+13.10.20130920-0ubuntu4.1 [18.2 kB]
Fetched 39.9 kB in 1s (39.5 kB/s)
Selecting previously unselected package libindicator7.
(Reading database … 156146 files and directories currently installed.)
Preparing to unpack …/libindicator7_12.10.2+14.04.20141007.1-0ubuntu1_amd64.deb …
Unpacking libindicator7 (12.10.2+14.04.20141007.1-0ubuntu1) …
Selecting previously unselected package libappindicator1.
Preparing to unpack …/libappindicator1_12.10.1+13.10.20130920-0ubuntu4.1_amd64.deb …
Unpacking libappindicator1 (12.10.1+13.10.20130920-0ubuntu4.1) …
Setting up libindicator7 (12.10.2+14.04.20141007.1-0ubuntu1) …
Setting up libappindicator1 (12.10.1+13.10.20130920-0ubuntu4.1) …
Setting up google-chrome-stable (43.0.2357.125-1) …
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for libc-bin (2.19-0ubuntu6.5) …

对于ubuntu server默认无中文输入法框架,我比较倾向于我一直使用的ibus-sunpinyin。这里我需要先安装ibus的框架

hadoop@master:~$ sudo apt-get install ibus-sunpinyin

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all
fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-libs
fcitx-libs-gclient fcitx-libs-qt fcitx-module-dbus fcitx-module-kimpanel

其实我同时也在下载安装搜狗输入法,安装之后直接重启电脑ctrl+space就可以出来了,如果遇到问题请留言。 
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/109409.html原文链接:https://javaforall.net

赞 (0)
全栈程序员-站长的头像全栈程序员-站长

相关推荐

  • 压测工具jmeter怎么使用_并发压力测试工具

    压测工具jmeter怎么使用_并发压力测试工具一、Jmeter下载进入官网:http://jmeter.apache.org/1.第一步进入官网如下图2.选择进行下载,下载下来为一个压缩包,解压即可。3.我下载的是jmeter4.0版本,

    2022年8月2日
  • oracle import/export 命令[通俗易懂]

    oracle import/export 命令[通俗易懂]exp/imp实例   exphelp=y查看帮助exp1、expusr/pwd@sid file=c:\tb.dump tables=tb1  如果是导出多个表,tables=(tb1、tb2)2、expusr/pwd@sid file=c:\tb.dump –全部导出3、expusr/pwd@sid file=c:\tb.dump owne

    2022年9月4日
  • 搜索网站

    搜索网站一、网盘搜索胖次百度网盘搜索引擎http://www.panc.cc/自称已索引13,614,209个百度网盘资源,有百度网盘失效链接解析功能,还有下载版的网盘搜索器。麦库搜索(目前功能受限制)http://www.baidu10.net/目前最好用的一个网盘搜索,引擎基于谷歌,可以搜索的网盘也很多,是较少能搜索快传和微云资源的网盘搜索引擎。同时,还有知乎搜索等独特…

    2022年7月15日
  • @AllArgsConstructor注解作用「建议收藏」

    @AllArgsConstructor注解作用「建议收藏」它是lombok中的注解,作用在类上;使用后添加一个构造函数,该构造函数含有所有已声明字段属性参数

    2022年9月7日
  • Python3网络爬虫教程2——urlopen的返回对象

    Python3网络爬虫教程2——urlopen的返回对象上接:Python3网络爬虫教程1——初始爬虫(爬虫是干嘛的?)https://blog.csdn.net/u011318077/article/details/865088722.3.urlopen的返回对象rsp=request.urlopen(url)有时候不一定能获得对象,断网了,服务器故障等等geturl:返回请求对象的URLinfo:返回反馈对象的meta信息…

    2022年11月2日
  • sqldeveloper如何连接数据库_创建数据库的五个步骤

    sqldeveloper如何连接数据库_创建数据库的五个步骤转载出处:https://blog.csdn.net/u010185220/article/details/53106196SQLDeveloper不能用于创建Oracle数据库,只能用来连接已经创建的数据库,数据库的建立要通过DatabaseConfigurationAssistant(DBCA)来完成。找到开始菜单中Oracle-OraDb11g_home1下…

    2022年9月15日

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号