明国三年一场雨

明国三年一场雨

热爱技术分享
telegram
email

Change Kali Repository

Change Source in Kali
In Kali Linux, changing software sources can be done by editing the /etc/apt/sources.list file. Here are the steps to change software sources:

Open the terminal.

Edit the sources.list file using a text editor, such as nano or vi. For example:

sudo nano /etc/apt/sources.list

or

sudo vi /etc/apt/sources.list

Comment out or delete the original source addresses, and add the new source addresses. For instance, if you want to use the Kali source from Aliyun, you can add the following content:

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

Save and close the file.

Update the package list:

sudo apt-get update

Upgrade all installed packages:

sudo apt-get upgrade

Please choose the appropriate software source based on your network environment, and ensure the reliability and security of the source.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.