Ubuntu 20.04安装百度拼音输入法

文章目录 1. 下载2. 安装3. 配置4. 卸载

1. 下载

官网下载DEB包:https://srf.baidu.com/site/guanwang_linux/index.html 解压缩下载好的zip文件:

thanlon@thanlon:~/下载$ unzip Ubuntu_Deepin-fcitx-baidupinyin-64.zip

2. 安装

更新和升级系统:

thanlon@thanlon:~$ sudo apt update && sudo apt upgrade -y

安装包管理工具 aptitude:

thanlon@thanlon:~$ sudo apt install aptitude

通过aptitude安装输入法依赖的fcitx和qt包:

thanlon@thanlon:~$ sudo aptitude install fcitx-bin fcitx-table fcitx-config-gtk fcitx-config-gtk2 fcitx-frontend-allthanlon@thanlon:~$ sudo aptitude install qt5-default qtcreator qml-module-qtquick-controls2

安装输入法并解决可能出现的依赖:

thanlon@thanlon:~/下载$ sudo dpkg -i fcitx-baidupinyin.debthanlon@thanlon:~/下载$ sudo apt install --fix-broken -y 3. 配置

找到设置中的【区域和语言】,选择【管理已安装的语言】: 将键盘输入系统修改为 fcitx键盘输入系统 并应用到整个系统,然后重启系统: 系统重启后会让我们配置输入法,配置完成后就可以使用了: 这个时候可以选择性把系统自带的IBus键盘输入法系统给删除:

thanlon@thanlon:~$ sudo apt purge ibus 4. 卸载

卸载输入法:

thanlon@thanlon:~$ sudo dpkg --purge fcitx-baidupinyin:amd64

卸载不需要的依赖包:

# 或者使用:sudo apt autoremovethanlon@thanlon:~$ sudo aptitude purge fcitx-bin fcitx-table fcitx-config-gtk fcitx-config-gtk2 fcitx-frontend-all# 卸载qt相关包thanlon@thanlon:~$ sudo aptitude purge qt5-default qtcreator qml-module-qtquick-controls2

比丘资源网 » Ubuntu 20.04安装百度拼音输入法

发表回复

提供最优质的资源集合

立即查看 了解详情