Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to install Python Pip on CentOS 7

Introduction – Pip (Python Pip)

Pip is a very powerful python package management system used to Install and manage software packages written in the Python programming language.

In Our previous articles, we discussed How to install and create python virtualenv on Centos. In this tutorial, We’ll show you How to install Pip on CentOS 7. Installing Pip on CentOS 7 is really an easy task, just follow the steps bellow carefully.

1. Install Pip on CentOS 7

Pip is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution. First, we’ll install the EPEL repository on CentOS 7.

[[email protected] ~]$ sudo yum install epel-release

To install pip use the following command:

[[email protected] ~]$ sudo yum install python-pip

2. Verify Pip installation on CentOS 7

To verify that the installation was successful you can use the following command:

[[email protected] ~]$ pip -V
pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)

3. How to use pip on CentOS 7

To search PyPI for specific package you can use the following command:

[[email protected] ~]$ pip search package_name

4. Install package using pip on CentOS 7

Once you are ready to install specific package you can use the following command:

[[email protected] ~]$ pip install package_name

5. Uninstall package using pip on CentOS 7

Similarly, if you want to uninstall a specific package you can use the following command:

[[email protected] ~]$ pip uninstall package_name
Follow Me:

The post How to install Python Pip on CentOS 7 appeared first on DevOps Techie.



This post first appeared on Devops Techie - Solutios For Devops Tools And Practices, please read the originial post: here

Share the post

How to install Python Pip on CentOS 7

×

Subscribe to Devops Techie - Solutios For Devops Tools And Practices

Get updates delivered right to your inbox!

Thank you for your subscription

×