Upgrading Kali Linux to the latest version

Kruk-Cyb3r
InfoSec Write-ups
Published in
3 min readAug 12, 2022

--

Welcome future Crack’s of Cybersecurity to my first post this time we are going to learn how to update Kali Linux.

To update the Kali Linux dependencies and tools, you need to run the following commands in the terminal:

The next command helps us to know which version of Kali Linux is running in our computer, virtual machine or in another instance where it was installed.

$ cat /etc/os-release

The next step is to add the correct Kali Linux repositories, it can be done in two ways, the first one is through the nano editor, and the second one with the cat command.

$ nano /etc/apt/sources.list
$ cat /etc/apt/sources.list

Next, the packages are updated based on the previously configured repositories.

$ sudo apt update

If you want to know the list of packages to be updated in your Kali Linux run the next command on the terminal

$ sudo apt list --upgradable

The next step is to fully upgrade your Kali Linux by running the following command

$ sudo apt -y full-upgrade

If everything has been updated correctly we should see the next message

One of the last steps to follow is to restart our Kali Linux

$ sudo reboot -f

Once you have restarted Kali Linux, the last thing to do is to check again the version you have installed.

Thank you for reading and reviewing my first article, if this content is helpful for you or you know someone who might be interested, I would appreciate you to share it, so that it reaches anyone who is interested in learning about Hacking, Cybersecurity and more content that I will be sharing for this community.

From Infosec Writeups: A lot is coming up in the Infosec every day that it’s hard to keep up with. Join our weekly newsletter to get all the latest Infosec trends in the form of 5 articles, 4 Threads, 3 videos, 2 GitHub Repos and tools, and 1 job alert for FREE!

--

--

Ethical Hacker Cybersecurity Bug Bounty Hunter #hacking #infosec #cybersecurity Malware Analyst and Reverse Enthusiast