1、切换中文
sudo dpkg-reconfigure locales
翻到最后,找到zh_cn
重启搞定。
2、换源
vim /etc/apt/sources.list
打开后注释原来的源,换上国内源。
先用 # 把原本的注释掉:
之后,在下面添加上新的源:
aliyun 阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
ustc 中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
kali 官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
默认的直接注释掉
deb http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
更新更新源:
apt-get update
更新系统:
apt-get dist-upgrade
更新软件:
apt-get upgrade
清理安装包:
apt-get clean
apt-get autoclean
然后这一套下来你就转头去点个外卖拉个屎刷刷擦边女,等个把小时的再回来看。
我错了,不止个把小时,得好几个,多刷会儿。
3、安装中文输入法
1、安装fcitx 输入法框架
sudo apt-get install fcitx
2、安装中文输入法
如果没出现使用命令reboot重启就好了
sudo apt-get install fcitx-googlepinyin