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

2018-10-03 Thread Michael Torrie
On 10/03/2018 10:17 AM, Michael Torrie wrote: > On 10/02/2018 07:59 AM, mchathuran...@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

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

2018-10-03 Thread Michael Torrie
On 10/02/2018 07:59 AM, mchathuran...@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

Re: python not working on RHEL6

2018-10-03 Thread Thomas Jollans
On 03/10/2018 13:17, Chris Angelico wrote: On Wed, Oct 3, 2018 at 9:11 PM Dan Purgert wrote: Chris Angelico wrote: On Wed, Oct 3, 2018 at 5:17 AM Thomas Jollans wrote: [...] Whether we agree on the terminology here or not, of course we can agree that you have to be bloody careful if you

Re: python not working on RHEL6

2018-10-03 Thread Chris Angelico
On Wed, Oct 3, 2018 at 9:11 PM Dan Purgert wrote: > > Chris Angelico wrote: > > On Wed, Oct 3, 2018 at 5:17 AM Thomas Jollans wrote: > >> [...] > >> Whether we agree on the terminology here or not, of course we can agree > >> that you have to be bloody careful if you *do* decide to put things in

Re: python not working on RHEL6

2018-10-03 Thread Dan Purgert
Chris Angelico wrote: > On Wed, Oct 3, 2018 at 5:17 AM Thomas Jollans wrote: >> [...] >> Whether we agree on the terminology here or not, of course we can agree >> that you have to be bloody careful if you *do* decide to put things in >> /usr/bin yourself :-) > > [...] On my system (Debian

Re: python not working on RHEL6

2018-10-03 Thread Dan Purgert
Thomas Jollans wrote: > On 02/10/2018 19:22, Dan Purgert wrote: >> Thomas Jollans wrote: >>> [...] (preferably, not in /usr - that's for OS-installed files only. >>> /usr/local is a nice place to put things you installed from source). >> >> While I agree that /usr(/bin) is incorrect, I believe

Re: python not working on RHEL6

2018-10-02 Thread Chris Angelico
On Wed, Oct 3, 2018 at 5:17 AM Thomas Jollans wrote: > > On 02/10/2018 19:22, Dan Purgert wrote: > > Thomas Jollans wrote: > >> [...] (preferably, not in /usr - that's for OS-installed files only. > >> /usr/local is a nice place to put things you installed from source). > > > > While I agree that

Re: python not working on RHEL6

2018-10-02 Thread Thomas Jollans
On 02/10/2018 19:22, Dan Purgert wrote: Thomas Jollans wrote: [...] (preferably, not in /usr - that's for OS-installed files only. /usr/local is a nice place to put things you installed from source). While I agree that /usr(/bin) is incorrect, I believe that "for OS-installed files only" is

Re: python not working on RHEL6

2018-10-02 Thread Dan Purgert
Thomas Jollans wrote: > [...] (preferably, not in /usr - that's for OS-installed files only. > /usr/local is a nice place to put things you installed from source). While I agree that /usr(/bin) is incorrect, I believe that "for OS-installed files only" is taking it a bit far. My (admittedly,

Re: python not working on RHEL6

2018-10-02 Thread Thomas Jollans
On 2018-10-02 15:59, mchathuran...@gmail.com wrote: > Hi All, > > I'm a beginner on this. I was trying to install a new python version which is > 2.7.5. My OS(RHEL6) had already installed version 2.6. so I downloaded the > tar and unzipped it then executed > > ./configure --prefix=/usr

Re: python not working on RHEL6

2018-10-02 Thread Chris Angelico
On Wed, Oct 3, 2018 at 12:20 AM Madushan Chathuranga wrote: > > Hi, > > when I type python2.6 terminal opens for python. So no issue on that. but > when I type python2.7, python or any yum command It gives the error, > python: error while loading shared libraries: libpython2.7.so.1.0: cannot >

Re: python not working on RHEL6

2018-10-02 Thread Madushan Chathuranga
Hi, when I type python2.6 terminal opens for python. So no issue on that. but when I type python2.7, python or any yum command It gives the error, python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory Thanks --

Re: python not working on RHEL6

2018-10-02 Thread Chris Angelico
On Wed, Oct 3, 2018 at 12:01 AM wrote: > > Hi All, > > I'm a beginner on this. I was trying to install a new python version which is > 2.7.5. My OS(RHEL6) had already installed version 2.6. so I downloaded the > tar and unzipped it then executed > > ./configure --prefix=/usr \ >

python not working on RHEL6

2018-10-02 Thread mchathuranga4
Hi All, I'm a beginner on this. I was trying to install a new python version which is 2.7.5. My OS(RHEL6) had already installed version 2.6. so I downloaded the tar and unzipped it then executed ./configure --prefix=/usr \ --enable-shared \