osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use Software Collections for RH - was Re: python not working on RHEL6


On 10/03/2018 10:17 AM, Michael Torrie wrote:
> On 10/02/2018 07:59 AM, mchathuranga4 at gmail.com wrote:
>> I guess from the little knowledge I have I should have executed
>> altinstall instead of install. Anyone know how to resolve this?
> 
> Actually you probably should not have used a tarball at all.  For some
> time now, Red Hat has offered more recent compilers and languages in RPM
> format that can install along side the system versions. This is far
> easier and far safer to work with on older operating systems.  I assume
> you are using a redhat subscription for your RHEL6 install.  Follow this:
> https://access.redhat.com/solutions/472793
> 
> If you don't have an active subscription, you might be able to use the
> CentOS version of software collections at:
> https://www.softwarecollections.org/en/

Sorry to reply to my own post, but here's a more specific page about
Python 2.7 for either CentOS or RHEL:
https://www.softwarecollections.org/en/scls/rhscl/python27/
See the bottom of the page for instructions on enabling the YUM
repository for RHEL6.