Kail
Modify source
-
Use
sudo
to entersources.list
folderssudo vi /etc/apt/sources.list
-
Choose one according to your needs
# 官方源 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.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
-
Update software source and software
apt-get update && apt-get upgrade
APT command
-
apt-get update:
Used to synchronize the software list in the remote warehouse, so that apt-get knows the latest status of the software and whether it can be updated.
-
apt-get upgrade
It is used to update all the software that has been installed in the system. If the update software needs to change the status of other software, if it needs to be downgraded, the software will not be updated.
-
apt-get dist-upgrade is similar to apt-get upgrade, but it will solve the dependency problem that may be caused by updating the software, so it may delete some packages, install additional packages, etc.
-
apt-get remove xxx: uninstall xxx package
-
apt-get purge xxx-uninstall and clear the configuration of xxx package