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

Related Articles

How to check Various cPanel logs like WHM, Apache, MySQL, Email, Error etc?

You can use cPanel to access your Linux hosting account with GUI. It is relatively easier to work...

How to parse PHP in html files?

Are you looking to make all the .html pages of your websites to run as .php or you are looking to...

How to Setup MySQL Master-Slave Replication on RHEL 7?

In MySQL Replication process, one server data is automatically copied to another backup server in...

How to allow or block the port and IP Address using Firewalld, IP tables, and UFW in Linux?

On Linux, the firewall is essential to control the incoming and outgoing network traffic. It is...

How to place Classic VPS order?

This is a video tutorial about selecting an appropriate configuration for your Classic VPS order....

  • 0 Users Found This Useful

Was this answer helpful?