[CentOS] Getting yum to install to python 2.7 dir

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Mon Apr 28 14:10:41 UTC 2014



On 04/28/2014 03:05 PM, Larry Martell wrote:
> On Sun, Apr 27, 2014 at 9:33 PM, Robert Arkiletian <robark at gmail.com> wrote:
>> On Sun, Apr 27, 2014 at 1:58 PM, Larry Martell <larry.martell at gmail.com> wrote:
>>> I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I
>>> installed that and it works and is my default python. But yum does not
>>> work with that, so I changed the shebang line for yum to
>>> /usr/bin/python2.6 and then yum works again. But when I install a
>>
>> This is a bad hack. Undo the damage. Then install the official CentOS
>> Software Collections repo.
>>
>> https://www.softwarecollections.org/en/
>>
>> It has Python27.
>>
>> I just asked the list how to install Python3 on CentOS. After having
>> looked at the other options, SCL was IMHO, the easiest and best
>> solution. Red Hat/CentOS has really hit a home run with SCL.
>
> Thanks, this look promising. Does it have 2.7 versions of things like
> django, MySQLdb, mod_wsgi, and other popular packages?

https://access.redhat.com/site/documentation/en-US/Red_Hat_Software_Collections/1/html-single/1.0_Release_Notes/index.html#sect-RHSCL-Features



More information about the CentOS mailing list