Kali was released in 2013 as essentially a complete rebranding of BackTrack Linux with a GNOME interface. The developers trimmed all the fat off of BackTrack by removing its subpar utilities and updating the ones that were acclaimed in the whitehat community.
The Kali OS includes over 600 tools in total, is completely free, and has an open-source Git tree publically available. Kali Linux is so well-known among cybersecurity professionals that its name has practically become synonymous with pen-testing.
Kali Linux supports a wide range of ARM, including:
- Single-board systems like Raspberry Pi and BeagleBone Black
- Beagle Board computers
- Samsung’s ARM Chromebook
- And many other platforms
Updating Kali Linux
The following sections will show you a step-by-step process for updating your Kali Linux system.
1. Configure Kali Linux Repositories
First, look for the Kali repositories, as you must first adjust them before updating. Double-check that your sources.list file at/etc/apt/sources.list has all the relevant Kali repositories, which include the following:
b https://http.kali.org/kali kali-rolling main non-free contrib
deb-sources https://http.kali.org/kali kali-rolling main non-free contrib
Be sure to use only the official Kali repositories, as using external unofficial repositories can jeopardize the system security of the host. Using repositories other than those that have been officially released by the Kali team can harm your system.
2. Start Update
You will first need to update the package indices list before you can update the Kali Linux system. To do so, enter the following syntax into the command terminal:
Then, check for the updates that have been released by entering the following command:
Enter the following command to individually update each package:
$ apt install PACKAGE-NAME
Or, enter the command below to update all packages simultaneously:
Wait for the updates to download and install completely. This will take some time; how much time depends upon your system specs.
The updates have finished installing, but we are not done just yet!
3. Update Held-Back Packages
It could be that you have not actually updated all the packages, as not all of them are listed. This issue is likely due to package dependency issues or could have some other issue associated with it.
Nonetheless, you can check whether there are any shortcomings in the updates you have downloaded by entering the following command in the terminal:
The procedure to download the held-back packages is the same as that used for downloading the listed packages. Enter the following command to individually download each package:
$ sudo apt install PACKAGE-NAME
Or, you can enter the command below to download all of the packages at once:
4. Uninstall Obsolete Packages
To remove any outdated packages on your system, use the following command:
In short, to optimally upgrade your Kali system, all you need to do is just configure the repositories and install updates with the “
$ sudo apt upgrade command.” It is as simple as that.
Remember to be mindful when you are using third-party repositories. This could potentially break your Kali system, in which case you would have to install Kali all over again. Also, be sure to free up some HDD space by deleting any outdated packages.