前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ubuntu server install 安装中文(搜狗)输入法

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

作者头像
全栈程序员站长
发布2022-07-05 10:41:04
6610
发布2022-07-05 10:41:04
举报
文章被收录于专栏:全栈程序员必看

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

不过我遇到了问题:

代码语言:javascript
复制
dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libappindicator1; however: Package libappindicator1 is not installed.

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

代码语言:javascript
复制
$ 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).

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

代码语言:javascript
复制
$ 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) …

代码语言:javascript
复制
对于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

代码语言:javascript
复制
其实我同时也在下载安装搜狗输入法,安装之后直接重启电脑ctrl+space就可以出来了,如果遇到问题请留言。 

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

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021年9月7,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档