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)
上一篇 2021年9月7日 下午3:00
下一篇 2021年9月7日 下午4:00


相关推荐

  • 股票模拟交易_JKI状态机

    股票模拟交易_JKI状态机给定一个长度为 N 的数组,数组中的第 i 个数字表示一个给定股票在第 i 天的价格。设计一个算法计算出最大利润。在满足以下约束条件下,你可以尽可能地完成更多的交易(多次买卖一支股票):你不能同时参与多笔交易(你必须在再次购买前出售掉之前的股票)。卖出股票后,你无法在第二天买入股票 (即冷冻期为 1 天)。输入格式第一行包含整数 N,表示数组长度。第二行包含 N 个不超过 10000 的正整数,表示完整的数组。输出格式输出一个整数,表示最大利润。数据范围1≤N≤105输入样例:51

    2022年8月8日
    9
  • QComboBox样式表

    QComboBox样式表样式基本格式 QComboBox font family MicrosoftYaH 字体类型 font size 25px 字体大小 像素 color bdc8e2 字体颜色 background color rgba r g b a 值 transparent 为透明 设置字体样式 font family Microsoft

    2026年3月16日
    2
  • DM368开发 — 毕设之硬件[通俗易懂]

    DM368开发 — 毕设之硬件[通俗易懂]这部分将参看相关的毕业论文设计来讲一下DM368的硬件部分。参看:相关论文基于DM368的高清视频监控系统设计与实现–文波一、系统硬件电路详细设计3.1TMS320DM368硬件平台简介TMS320DM368是德州仪器公司(TI)于2010年4月推出的新一代基于Davinci技术的高清视频处理器,内部集成了一颗ARM内核和两个视频图像协处理器,同时内部还集成了一个视频

    2022年8月13日
    5
  • MyBase7定期激活成功教程

    MyBase7定期激活成功教程首先 保证 myBase7 是关闭状态 然后执行以下步骤 1 找到 myBase7 的安装目录 右击 mybase 的启动图标 打开文件所在位置 2 用编辑软件打开文件 myBase ini 3 找到 App UserLic FirstUseOn 将这一行删除掉 不放心的话可以用英文分号 注释掉 效果都一样 4 再打开 myBase 的时候 就没有使用到期提醒了 注 App UserLic FirstUseOn 这一行是记录程序的首次使用时间的 就算这次删除了 下次打开软件之后还是会自动生成这一行信息 只不

    2026年3月17日
    2
  • 曼哈顿距离和切比雪夫距离

    曼哈顿距离和切比雪夫距离转载 nbsp https www cnblogs com zwfymqz p 8253530 html 本文只讨论二维空间中的曼哈顿距离与切比雪夫距离曼哈顿距离定义设平面空间内存在两点 它们的坐标为 x1 y1 x2 y2 则 nbsp nbsp 即两点横纵坐标差之和 nbsp 两点在南北方向上的距离加上在东西方向上的距离煮个栗子如图所示 图中 A B 两点的曼哈顿距离为 AC B

    2026年3月19日
    2
  • Redis的那些最常见面试问题

    Redis的那些最常见面试问题

    2021年11月5日
    41

发表回复

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

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