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 "" -o ""
# python 
# python3

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

How to block an IP address using .htaccess?

You can block traffic coming from any specific IP addresses with .htaaccess file. Please refer to...

How to Run Multiple PHP versions with Nginx on Ubuntu?

You can run multiple php versions on Ubuntu without any issue. You require Multiple php versions...

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...

Fix cPanel Error -The Email Account Already Exists

Sometimes, you add an email account from cPanel, and you get an error message The Email Account...

How to sync time using NTP in Ubuntu server?

Linux server users might have noticed that after adjusting the system clock to the correct time,...