How To Install PIP On Linux System
PIP stands for Point In Percentage. It is a package management system used to install and manage software packages written in Python. PIP is similar tool such as the bundle, composer, npm in another programming language.
Using PIP, you can install the module. It will install the dependency also. To install packages first you will need to download PIP.
There are two way to install PIP, both methods are given below.
Easy Install is a python module available with setup tools. This is also used to manage, download, build, and install python modules.
# easy_install pip
Using Python Script
# curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" # python get-pip.py ###For specific python version ## # python3 get-pip.py
Now verify the installed version of PIP using –V option like below.
# pip -V # pip3 -V [For specific python version]
Install Packages using PIP command
You can use pip command to install any packages on your system. PIP provides a simple command to install or uninstall packages on your system.
# pip install package_name
To remove package.
# pip uninstall package_name
You can install multiple packages for any specific application. PIP can also take the input from file for the number of packages to install. Just add the required packages name with their version with a properly formatted file like multipackages.txt file and execute the below command.
# pip install -r multipackages.txt