Upgrade and update kali linux to the last version [Solved] - EuropeGeeks
There are a lot of people want to know how to update upgrade their distribution (kali linux) to the last version.If you've downloaded and old version of kali, for example 2018 or 2017, and you want it to be full upgrade and update, so you are in the right place.
Notes:
Why we update kali?
Actually you are going to face a step of “update and upgrade” especially if you want to install any external tool in you kali linux system, that's because these tools often programmed to run with updated packages, so to avoid being harmonization faults you have to perform this process.Notes:
- Upgrading your kali linux system it doesn't change the interface to convert from 2018 to 2021, because we actually just upgrade the internal packages which help you to avoid vulnerabilities and best performance.
- You should being in the administrator account because we need some permission to edit a system file, also has a connection to the internet.
- Follow all steps literally to avoid errors and cancelling.
So let's get started with power on your kali linux.
We opened the terminal, then type the following command:
cat /etc/os-release
We opened the terminal, then type the following command:
cat /etc/os-release
"read more about: how to Create and Run c++ app in termux Android"
check your version to update upgrade kali linux
- You can notice that I'm already upgrade to the latest version 2021.2, in case you got for instance less than this, so you are in need to update.
- Edit your sources After checking your system, then type the following command:
Then you will find several codes, you can delete them all or to cancel the activated command using “#” symbol in the beginning like in the following picture.
Then add all these following commands at it.
deb kali-rolling main contrib non-free
deb kali-rolling main non-free contrib
deb-src kali-rolling main non-free contrib
deb kali-rolling main non-free contrib
After that click at Ctrl+S to save the changes, clicking at Ctrl+E to exit.
Update Process
Before upgrade you should update your kali linux system in this process you are going to update your packages using command:apt-get update
Wait for the downloading process it will take time depends of your strength of connection to the internet.
Upgrade Process
After update the packages then you have to make sure that they are in the the latest, just perform this command:apt-get -y full-update
Take your time in these process, enjoy your life by drink a cup of coffee, because it may take time.
Note: maybe some windows will be shown asking you to confirm upgrading some programs like wireshark, just click to “Yes” option.
You can also take shortcut of update upgrade your kali linux system using the following command:
apt-get update && apt-get -y full-upgrade
If you know how to code, you will notice that && in coding means to sum elements and logic expressions, but here in bash we use it to sum any numbers of commands.
After all that, you can check your system version again.
If you know how to code, you will notice that && in coding means to sum elements and logic expressions, but here in bash we use it to sum any numbers of commands.
After all that, you can check your system version again.
Restart your System
After the process Restart your Operating System to perform the updates and upgrades on your kali linux system in the next power on.If you got an error, tell us in comments to solve it.