每次都要搜,记录一下
换源
sudo vim /etc/apt/sources.list
# 网易源
deb http://mirrors.163.com/debian/ stretch main non-free contrib
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
魔法上网官方源也挺快的,但是有备无患
找了好几个都不行,这个可以
放下原文链接:https://www.cnblogs.com/liujunjun/p/14447088.html感谢
更新源
apt-get update
更新软件
apt-get upgrade
更新系统
apt-get dist-upgrade
清理安装包
apt-get clean
apt-get autoclean
安装谷歌拼音输入法
apt-get install fcitx fcitx-googlepinyin 完成后注销即可