[CentOS] Getting yum to install to python 2.7 dir

Mon Apr 28 12:59:31 UTC 2014
Larry Martell <larry.martell at gmail.com>

On Sun, Apr 27, 2014 at 8:19 PM, John R Pierce <pierce at hogranch.com> wrote:
> On 4/27/2014 6:42 PM, Larry Martell wrote:
>> No I installed 2.7 from a repo that had it. So now I guess I have to
>> find 2.7 repos for all the packages we use.
>
> no repo intended for CentOS6/RHEL6 should have replaced /usr/bin/python
> with a newer version.  there's no way to do that without breaking ALL
> the python software included with centos6
>
> putting it somewhere like /opt/python27 or /usr/local/python27, sure.

It did not install to /usr/bin/python - I never said that it did. It
installed to /usr/local/bin/python2.7. I then linked
/usr/local/bin/python2.7 to /usr/bin/python so 2.7 would be picked up
as the default.