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

How to Install Jenkins on CentOS 7?

Jenkins is an opensource and free tool for developers to develop, test and deploy the code...

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 create users and groups in CentOS7?

Once the Linux system is configured, adding and removing users is one of the most basic tasks...

5 Wget Command Examples to Download Files in Linux.

wget is used to download your files from the remote server. It is used mostly on Linux...

How to Enable Plaintext Authentication in Dovecot?

Dovecot is an Open source IMAP or POP3 server used to create light-weight and high-performance...