How To Install PIP in Linux?

PIP called a Package management system for Python. It allows your system to install and manage the Python packages. You can consider it as a bundle, npm, composer in another Programming language.

There are 2 ways to install PIP :

Install pip using easy_install :

Easy install is one of the Python Module. It allows to download, install, build and manage the Python Module.

# easy_install pip

Install pip using python script :

We can download the pip installation script using wget or curl. Once it is downloaded, you can run any script for required python version which we need to install.

# curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
# python get-pip.py 
# python3 get-pip.py

Verify the Python version using below command.

# pip -V
# pip3 -V

Install Packages with pip :

You can install packages using pip command as below.

# pip install package-name
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Difference Between su and sudo and How to Configure sudo in Linux VPS.

As we know Linux provides much better security. You can set user management policy and user...

How to reset/renew cPanel/WHM Self-signed Certificate?

You might be receiving an email with subject like “The SSL certificate for “[service like exim,...

The action Install for product MySQL Server 5.7.19 failed.

You may face this error while installing MySQL 5.7 or upgrading MySQL 5.6 to 5.7. Here, is the...

How you can change the ip address of the domain in Webmin control panel?

Following are the steps to change the IP Address of the domain in Webmin control panel. Login...

How to Prevent File/Directory Modification, Deletion and Renaming in Linux?

If you are looking to prevent any file from being modified, delete or renaming, you will need to...