How To Properly Update & Upgrade Your Kali Linux

Kali Linux requires constant updating to keep the tools in functional order. Today, we’re going to properly update and upgrade your Kali Linux.

The most common causes of a broken Kali Linux installation is updating and upgrading from unofficial repositories.

Also Read: How to Crack a Password Protected Zip Files using Kali Linux

Step 1: Official Repositories For Kali Linux

The first step is to set correct Kali Linux official repositories. Make sure that your /etc/apt/sources.listfile contains the following official Kali repositories:

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

Step 2: Updating Your Kali Linux

Let’s begin updating your Kali Linux operating system. Open up your terminal and type:

sudo apt update

OR

apt update && apt upgrade -y

This command in the terminal, it will upgrade everything, remove old packages:

sudo apt full-upgrade

If you want to see the list upgradeable tools. which we can upgrade individually or which are schedule for update.

apt list --upgradable

Also Read: 10 Best Penetration Testing Tools in Kali Linux

sudo apt upgrade

Step 3: Upgrade Kept Back Packages

We can upgrade individual packages using apt install PACKAGE-NAME or upgrade all packages at once using

sudo apt dist-upgrade

Step 4: Uninstall No Longer Required Packages

To remove all no longer required Kali Linux packages try

sudo apt autoremove

 

Back to top button
Close