# 用文本编辑器打开sources.list,手动添加更新源
代码语言:javascript复制leafpad /etc/apt/sources.list
# 更新源
代码语言:javascript复制#中科大
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.aliyun.com/kali kali-rolling main non-free contrib
#deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#清华大学
#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
#浙大
#deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#东软大学
#deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#官方源
#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
# 清除缓存索引
代码语言:javascript复制apt-get clean
# 刷新源,获得最近的软件包的列表
代码语言:javascript复制apt-get update
# 更新现有的软件包
代码语言:javascript复制apt-get upgrade
# 根据依赖关系更新
代码语言:javascript复制apt-get dist-upgrade
# 安装rtl8812au网卡驱动
代码语言:javascript复制apt-get install realtek-rtl88xxau-dkms
# 安装Wicd网络管理器
代码语言:javascript复制apt-get install wicd
# 安装谷歌输入法
代码语言:javascript复制apt-get install fcitx fcitx-googlepinyin