python-pip yum package provides pip-python instead of pip

I installed python-pip package via yum (using Fedora's updates repo). It does not add the pip script to my PATH though.

$ which pip
/usr/bin/which: no pip in
                (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:
                 /usr/bin:/usr/local/sbin:/usr/sbin:/sbin)

It does, however, create pip-python:

$ rpm -ql python-pip
/usr/bin/pip-python
[...snip...]

$ which pip-python
/usr/bin/pip-python

I was considering making pip a symbolic link to pip-python but is there a reason the executable is named pip-python to begin with?

Answers


It is probably to avoid a conflict with another package that has an executable called pip. As long as you don't install that package, you should be safe.

Another annoying example of this is the chromium browser, which my distro's executable is chromium-browser to avoid a conflict with some game I had never heard of until I did an: apt-get install chromium.


If you install the python-pip package and then run:

pip-python install -U pip

pip will fix itself.


Need Your Help

Mapping (x,y) co-ordinates to bits in a byte array - as quickly and efficiently as possible

c# embedded bit-manipulation .net-micro-framework lcd

I'm using C# (.NET Micro Framework running on the Netduino Plus) to control an LCD screen of 84 x 48 pixels.

How to access LAMP localhost in android device for testing?

android linux wordpress localhost

I am developing a Wordpress site in Linux using LAMP environment. I want to test the look and feel of the site in a mobile device. I have an android device.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.