[BangPypers] Updating Python 2.3.4 to 2.6.1 on RHEL 4

Ashutosh Narayan ashulinux at yahoo.com
Wed Aug 24 07:55:53 CEST 2011


Worked for me. Thanks !

 
~ Ashutosh



>________________________________
>From: Anand Balachandran Pillai <abpillai at gmail.com>
>To: Ashutosh Narayan <ashulinux at yahoo.com>; Bangalore Python Users Group - India <bangpypers at python.org>
>Sent: Tuesday, August 23, 2011 5:06 PM
>Subject: Re: [BangPypers] Updating Python 2.3.4 to 2.6.1 on RHEL 4
>
>
>
>
>
>On Tue, Aug 23, 2011 at 4:16 PM, Ashutosh Narayan <ashulinux at yahoo.com> wrote:
>
>Hi,
>>
>>I wrote a script that involves "subprocess" module ; and when I ran it
>>on  a production server I found that due to older version of Python 2.3.4
>>my script failed to execute.
>>
>>I have the following python version on one of the RedHat servers.
>>Python 2.3.4 (#1, Feb 18 2008, 17:17:04)
>>[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
>>
>>Now, the concern is of updating Python version to 2.6.1 w/o effecting
>>other things eg: system-config-* on RedHat machine which are dependent
>>on current Python version 2.3.4
>>
>>So far I have downloaded the source tar ball, untarred it and NOT yet executed -
>>./configure --prefix=/opt where I want it to land. Can I now run make, make install ?
>>
>>Any inputs on whether this is the right way to do withoutoverriding current default Python ?
>>
>>
>
>1.  Install to a different prefix on the system (/usr/local/, /opt etc).
>2.  Use virtualenv 
>
> 
>Thank you,
>>
>>
>>~ Ashutosh Narayan
>>_______________________________________________
>>BangPypers mailing list
>>BangPypers at python.org
>>http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
>-- 
>--Anand
>
>
>
>
>
>


More information about the BangPypers mailing list