How to useAPT package manager in Python
Step 1 : Update package list
To make sure we are getting latest version of python, update package list using apt update command.
sudo apt update -y
Step 2 : Install Python 3
Once repositories are up to date, we will install python using apt install command.
sudo apt install python3 -y
Step 3 : Verify installation
Once, installation is done, verify installation using python –version command.
python --version
How to Install Python 3 on Kali Linux
Python 3 is a powerful and versatile programming language widely used for various tasks, from web development to data science, security automation, and AI and ML. Recent versions of Kali Linux come with Python 3 pre-installed. For some reason if you want a different version than the one already installed or you’re using an old version of Kali Linux which doesn’t have python 3 pre-installed. In this article, we will install Python 3 using two methods
Table of Content
- Method 1 : Using APT package manager
- Method 2 : Compiling from sources
- How to Install Python 3 on Kali Linux – FAQs