kali更新源(源、软件更新,附kali源)

2022-08-24 13:34:01 浏览数 (1)

大家好,又见面了,我是你们的朋友全栈君。

很多系统安装好以后都需要进行更新源,或者软件需要更新,小编在这里进行一次更新源和软件的记录,还请路过大牛指出不足。 1、在/etc/apt下有文件sources.list文件,将下方提供的源粘贴一个即可

代码语言:javascript复制
#命令 vi /etc/apt/sources.list

输入 i 进行编辑,把文章下方附有的kali源粘贴一个即可

2、 执行命令更新源

代码语言:javascript复制
#命令   apt-get update 

3、更新软件并安装 (1)更新软件

代码语言:javascript复制
#命令 apt-get upgrade          更新所有软件
#命令 apt-get upgrade hydra        更新指定软件,hydra可以为任意软件名

(2) 软件升级安装

代码语言:javascript复制
#命令 apt-get dist-upgrade

(3) 清理

代码语言:javascript复制
# apt-get clean

(4) 重启系统

代码语言:javascript复制
# reboot 

附kali源 使用哪个把注释去掉,不使用就注释一下

kali官方源

deb http://http.kali.org/ moto main non-free contrib deb-src http://http.kali.org/ moto main non-free contrib

deb http://security.kali.org/ moto/updates main contrib non-free deb-src http://security.kali.org/ moto/updates main contrib non-free

#中科大kali源 deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free

#新加坡kali源 deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib deb http://security.kali.org/kali-security kali/updates main contrib non-free deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

#阿里云kali源 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

#163 Kali源 deb http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib #auto deb http://http.kali.org/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.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

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

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/140064.html原文链接:https://javaforall.cn

0 人点赞