how to update the kali linux os from python2 to python3 1

how to update the kali linux os from python2 to python3

sudo apt update.
sudo apt install software-properties-common.
sudo add-apt-repository ppa:deadsnakes/ppa.
sudo apt update.
sudo apt install python3.8.

Here is what the above code is Doing:
1. Update the list of available packages and their versions, but it does not install or upgrade any packages.
2. Install the software-properties-common package. This package provides the add-apt-repository command.
3. Add the deadsnakes PPA to your system’s software repository list.
4. Update the list of available packages and their versions again, but, again, it does not install or upgrade any packages.
5. Install the Python 3.8 package.

Similar Posts