What is Python Package?
Python Package is a distribution unit of libraries or modules. In the program, when we required an external module we can easily access it by importing the package.
How to check and list all installed python packages in Linux
To check the list of installed Python packages in Linux we need PIP3. PIP3 is an official python installer and it is used to install python packages from the Python package installer.
1. Update System
In any Linux machine, before installing the package good update the existing packages.
sudo apt-get update
2. Install PIP3
To install pip3 we need python. If you already have python simply execute the below command. if you don’t have python firstly install python.
sudo apt-get -y install python3-pip
3. Verify PIP3 installation
Check PIP3 installation by using the below command
pip3 --version
4. List all installed python packages
check all installed python packages by using the below command.
pip list
Leave a Reply