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 Manage Linux VPS (SSD and Traditional) From Client Area?

This article will assist you to manage your Linux VPS (SSD and Traditional) from client area...

How to Install LEMP Stack (Nginx, MariaDB, PHP7.2) on Ubuntu 18.04 LTS?

Nginx, MariaDB and PHP7.2 are called (LEMP). Following are the steps to install LEMP on Ubuntu...

How to set File Upload Size limit in Apache?

As we know Apache is an open-source and free web server. Here, we will configure apache to set...

Can I upgrade my VPS plan without losing any data or settings?

Yes, you can upgrade your existing VPS to higher plan anytime. Your data will remain intact. We...

How to set Automate Tasks on a Linux VPS Using Cron?

One of our Linux VPS customers faced an issue wherein his Virtual Machine’s system clock was...