ubuntu 百度输入法安装
我的版本:
cat /etc/issue
Ubuntu 22.04.1 LTS \n \l
1.下载百度输入法(Ubuntu18-19)
https://srf.baidu.com/?c=j&e=d&from=1000e&platform=ubuntu&ref=index_entrance_android_click
2.下载后进行解压缩
unzip xxx
然后安装
sudo dpkg -i fcitx-baidupinyin.deb3,如果安装出现错误尝试:
sudo apt update提示:
sudo dpkg -i fcitx-baidupinyin.deb
Selecting previously unselected package fcitx-baidupinyin:amd64.
(Reading database ... 416682 files and directories currently installed.)
Preparing to unpack fcitx-baidupinyin.deb ...
Unpacking fcitx-baidupinyin:amd64 (1.0.1.0) ...
dpkg: dependency problems prevent configuration of fcitx-baidupinyin:amd64:
fcitx-baidupinyin:amd64 depends on qml-module-qtquick-controls (>= 5.5.1); however:
Package qml-module-qtquick-controls is not installed.
dpkg: error processing package fcitx-baidupinyin:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
fcitx-baidupinyin:amd64尝试解决:
sudo apt-get install qml-<span style="color:#dcc6e0">module</span>-qtquick-controls如果提示:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
qml-module-qtquick-controls : Depends: qml-module-qtgraphicaleffects but it is not going to be installed
Depends: qml-module-qtqml but it is not going to be installed
Depends: qml-module-qtqml-models2 but it is not going to be installed
Depends: qml-module-qtquick-layouts but it is not going to be installed
Depends: qml-module-qtquick-window2 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).解决:
sudo apt --fix-broken install然后继续安装:
sudo dpkg -i fcitx-baidupinyin.deb
(Reading database ... 417167 files and directories currently installed.)
Preparing to unpack fcitx-baidupinyin.deb ...
Unpacking fcitx-baidupinyin:amd64 (1.0.1.0) over (1.0.1.0) ...
Setting up fcitx-baidupinyin:amd64 (1.0.1.0) ...然后安照解压缩出来的百度输入法给的安装教程操作即可。