Beginner's Guide

How to Install PiP to Manage Python Packages in Linux

Pinterest LinkedIn Tumblr

So today we learn how to install Pip in Linux system, Pip is written in Python and used to install and manage software programs, tools and dependencies packages from online python package index repository, pip is package management system it contains all the files and dependencies you need to install module for python simply it means pip allows you to install and managing all the programs and tools with manage additional libraries and dependencies to requirements of particular program installation.

Install PIP in Linux Systems

To install pip in Linux, run the appropriate command for your distribution as follows:

Install PIP On Debian/Ubuntu

# apt install python-pip	#python 2
# apt install python3-pip	#python 3

Install PIP On CentOS and RHEL

pip is not packaged in official repositories of CentOS/RHEL. you need to enable the EPEL repository and then install.

# yum install epel-release 
# yum install python-pip

How to Clean Up Your Ubuntu System ?


Install PIP on Fedora

# dnf install python-pip	#Python 2
# dnf install python3		#Python 3

Install PIP on Arch Linux

# pacman -S python2-pip	        #Python 2
# pacman -S python-pip	        #Python 3

Install PIP on openSUSE

# zypper install python-pip	#Python 2
# zypper install python3-pip	#Python 3

Installing with get-pip.py

To manually install pip, using curl.

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

Check installed PIP Version :

Open command line and type the following:

$ python -m pip --version

How to install Mesa Drivers on Ubuntu

Write A Comment