给树莓派安装输入法不成功怎么办
我们都知道,树莓派安装输入法的语句是:
(树莓派安装谷歌拼音输入法)
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-
sunpinyin
或者先更新树莓派
sudo apt-get update
然后再使用语句:
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-
sunpinyin
但是,系统总是报错,不成功怎么办?
如果这是因为原来的安装源更改位置了,或者不可访问了,我们可以将安
装源的查找位置修改为国内镜像,再从国内镜像的源上下载,方法如下:
在树莓派的命令行界面输入
sudo nano /etc/apt/sources.list
树莓派返回:
使用键盘方向键控制,在第一行开头加一个#,把下面的内容拷贝到最后一
行之后,如图中的效果:
清华镜像源:https://mirror.tuna.tsinghua.edu.cn/help/raspbian/
修改为清华镜像源拷贝以下两行:o