Instaling pip command on CentOS

Enable the epel repository and run:

yum install python-pip to get:

yum install python-pip
!>Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nexcess.net
 * epel: mirror.sfo12.us.leaseweb.net
 * extras: centos.sonn.com
 * updates: centos.sonn.com
Resolving Dependencies
--> Running transaction check
---> Package python-pip.noarch 0:7.1.0-1.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
==========================================================================================================================================================
 Package                                Arch                               Version                                 Repository                        Size
==========================================================================================================================================================
Installing:
 python-pip                             noarch                             7.1.0-1.el7                             epel                             1.5 M
 
Transaction Summary
==========================================================================================================================================================
Install  1 Package
 
Total download size: 1.5 M
Installed size: 6.6 M
Downloading packages:
python-pip-7.1.0-1.el7.noarch.rpm                                                                                                  | 1.5 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-pip-7.1.0-1.el7.noarch                                                                                                          1/1 
  Verifying  : python-pip-7.1.0-1.el7.noarch                                                                                                          1/1 
 
Installed:
  python-pip.noarch 0:7.1.0-1.el7                                                                                                                         
 
Complete!

Comments

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
To prevent automated spam submissions leave this field empty.