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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • rsyslog日志服务器_centos7发送全部日志

    rsyslog日志服务器_centos7发送全部日志rsyslog日志服务详解原文出处:http://blog.51cto.com/6638225/1862902内容:1、rsyslog日志服务简介2、rsyslog的配置详解3、实现日志服务器收集日志及last、lastb、dmseg命令的使用4、实现日志存储在mysql中一、rsyslog日志服务简介​日志的概念好理解,日志作用可用于排障和追溯审计的等​…

    2022年9月25日
    3
  • 最近做RTSP流媒体的实时广播节目

    最近做RTSP流媒体的实时广播节目

    2022年1月14日
    50
  • 0xFFFFFFFF 为什么表示-1

    0xFFFFFFFF 为什么表示-1负数的补码是:原码按位取反再加一逆序求原码:-1的补码是FFFF=1111111111111111减一:1111111111111110按位取反(除符号位):1000000000000001最高位1表示符号位,"0"表示正数"1"表示负数=========补充原码是不用求的。原码就是没有修改过的嘛。对于signedin…

    2022年5月13日
    78
  • shell sort排序是从小到大_shell sort

    shell sort排序是从小到大_shell sortsort参数:-n:按数字排序,而不是字符-M:用三字符月份名按月份排序-b:排序时忽略起始的空白-c:不排序,如果数据无序也不要报告-d:仅考虑空白和字母,不考虑特殊字符-f:默认情况下,会将大写字母排在前面,这个参数会忽略大小写-g:按通用数据来排序(跟-n不同,把值当浮点数来排序,支持科学计数法表示的值)-i:在排序时忽略不可打印字符-k:排序从POS1位置开始,如果指定了POS2的话,到POS2位置结束-m:将两个已排序数据文件合并-o:将排序结果写出到指定文件中-R:按

    2022年8月12日
    13
  • eureka集群高可用配置[通俗易懂]

    eureka集群高可用配置[通俗易懂]网上讲这个东西的很多,抄来抄去的,大部分类似,多数没讲明白为什么那么配置。譬如eureka.client.register-with-eureka和fetch-registry是否要配置,配不配区别在哪里;eureka的客户端添加service-url时,是不是需要把所有的eureka的server地址都写上,还是只需要写一个server就可以了(因为server之间已经相互注册了)?如果写上了所…

    2022年6月14日
    56
  • (三)构建dubbo分布式平台-maven模块规划

    (三)构建dubbo分布式平台-maven模块规划

    2022年3月13日
    50

发表回复

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

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