Linux配置更新源

更新源的意思就是linux的东西去哪下载

vim /etc/apt/sources.list

作者一般是用阿里云的

1 #阿里云kali源
2 deb http://mirrors.aliyun.com/kali sana main non-free contrib
3 deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
4 deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free

apt-get update #更新

apt-get dist-upgrade

apt-get clean#删除下载的包
reboot#重启

posted @ 2022-03-31 14:05  胡阿斐  阅读(315)  评论(0编辑  收藏  举报