Kali Linux定制第一步:更新

1. 介绍:

尽管刚刚安装好系统,但是软件却不一定是最新的,所以需要进行系统更新与升级;

2. 展示:
Kali Linux定制第一步:更新_第1张图片
**Upgrade**
3. 切换源:
root@Cyborg:~# leafpad /etc/apt/sources.list


#官方源
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://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.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.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

复制到打开的 sources.list 文件里;

4. 更新索引:
root@Cyborg:~# apt-get update

然后就等吧;

5. 更新软件包:
root@Cyborg:~# apt-get upgrade -y 
root@Cyborg:~# apt-get dist-upgrade -y    #重新分配依赖关系更新

然后又是等啊~看网速,运气不好 1 - 2 h 算正常的了。

你可能感兴趣的:(Kali Linux定制第一步:更新)