Hi; I have an old version of Python (2.4.3) and I'm trying to upgrade (to 2.6); however, when I try yum upgrade python it tells me that it's already got the latest and greatest...presumably of 2.4.3. I've tried yum list python and it only gives me the 2.4.3. Are there no others? Do I have to build from a tarball? I'm surprised I don't find a version of Python 3 either. In what folder are the rpms kept? TIA, Susan
On Mon, Mar 22, 2010 at 6:51 AM, Susan Day suzieprogrammer@gmail.com wrote:
Hi; I have an old version of Python (2.4.3) and I'm trying to upgrade (to 2.6); however, when I try yum upgrade python it tells me that it's already got the latest and greatest...presumably of 2.4.3. I've tried yum list python and it only gives me the 2.4.3. Are there no others? Do I have to build from a tarball? I'm surprised I don't find a version of Python 3 either. In what folder are the rpms kept?
You might want to read this FAQ:
"Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere." ( http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac8... )
Cheers, Akemi
On Mon, Mar 22, 2010 at 10:08 AM, Akemi Yagi amyagi@gmail.com wrote:
On Mon, Mar 22, 2010 at 6:51 AM, Susan Day suzieprogrammer@gmail.com wrote:
Hi; I have an old version of Python (2.4.3) and I'm trying to upgrade (to
2.6);
however, when I try yum upgrade python it tells me that it's already got the latest and greatest...presumably of 2.4.3. I've tried yum list python and it only gives me the 2.4.3. Are there no others? Do I have to build
from
a tarball? I'm surprised I don't find a version of Python 3 either. In
what
folder are the rpms kept?
You might want to read this FAQ:
"Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere." ( http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac8... )
Well that states that the latest "stable version" is supported by CentOS, not the "cutting edge" version. Fine; however, according to python.org: The current production versions are Python 2.6.5http://python.org/download/releases/2.6.5/and Python 3.1.2 http://python.org/download/releases/3.1.2/. So, if "production version" == "stable version", as I believe it should, there's a serious disconnect between the thinking of the folks at python and CentOS. I believe 2.4.6 has been stable for about 5 years, if I'm not mistaken, and that's an advance over what CentOS is packaging. Needless to say, I don't want to run software that's antique, and I think that's what CentOS is promoting, I'm sorry to say. So, am I stuck with tarballs? TIA, Susan
Cheers, Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, Mar 22, 2010 at 7:36 AM, Susan Day suzieprogrammer@gmail.com wrote:
"Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere." ( http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac8... )
Well that states that the latest "stable version" is supported by CentOS, not the "cutting edge" version. Fine; however, according to python.org: The current production versions are Python 2.6.5 and Python 3.1.2. So, if "production version" == "stable version", as I believe it should, there's a serious disconnect between the thinking of the folks at python and CentOS. I believe 2.4.6 has been stable for about 5 years, if I'm not mistaken, and that's an advance over what CentOS is packaging. Needless to say, I don't want to run software that's antique, and I think that's what CentOS is promoting, I'm sorry to say. So, am I stuck with tarballs?
I was hoping you would also look at the link to the "backport" page in that FAQ. It is all about Enterprise class Linux:
"... One of these features changed the module interface. In this case, if Red Hat issued a security update with version 2.0.43 of the Apache HTTP Server, replacing version 2.0.40, any modules customers were using would have had to be updated (recompiled) to match the new module interface. If customers were using third-party modules, they would have had to go to their supplier of those modules to get updates. Moving from version 2.0.40 to 2.0.43 of the Apache HTTP Server would have required manual effort by system administrators; therefore, such an update would not be suitable for automated upgrade systems such as the Red Hat Network..."
In a package-based distro like CentOS, installing from tarballs is strongly discouraged. Please also take a look at:
http://wiki.centos.org/PackageManagement/SourceInstalls
Akemi
On Mon, Mar 22, 2010 at 10:47 AM, Akemi Yagi amyagi@gmail.com wrote:
In a package-based distro like CentOS, installing from tarballs is strongly discouraged. Please also take a look at:
http://wiki.centos.org/PackageManagement/SourceInstalls
Yeah I know. Thanks for the link. I've tried this:
yum --enablerepo=centosplus upgrade python
but that just told me everything was ok with the current installation, not what I'm after. So I think I should try c5-testing, but all I get is this:
[c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=0 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
How do I incorporate this and where? Next I'll try building an rpm if I must. TIA, Susan
Akemi Yagi wrote on Mon, 22 Mar 2010 07:08:43 -0700:
You might want to read this FAQ:
AND, you do not want to upgrade python on a CentOS system. You may install a newer python in parallel, but never upgrade the system python.
Kai
Kai Schaetzl wrote:
AND, you do not want to upgrade python on a CentOS system. You may install a newer python in parallel, but never upgrade the system python.
indeed. lots of CentOS utilties, including Yum itself, are written in python, and python has a horrible track record for inter-version compatibility, what works in 2.4.x is likely very broken in 2.6.x
If you absolutely have to have 2.6 for some user application, I would compile and install it to run somewhere else, like /usr/local/python26 or /opt/mystuff/python26
On Mon, Mar 22, 2010 at 7:31 PM, John R Pierce pierce@hogranch.com wrote:
If you absolutely have to have 2.6 for some user application, I would compile and install it to run somewhere else, like /usr/local/python26 or /opt/mystuff/python26
The IUS Community repository has a newer version of python, installable via yum which is located in /opt and doesn't conflict with the default python. They've done a pretty good job of packaging this in my opinion, and it's basically the best way to get a newer python without horribly breaking things.
On Mon, Mar 22, 2010 at 9:11 PM, Jim Perrin jperrin@gmail.com wrote:
On Mon, Mar 22, 2010 at 7:31 PM, John R Pierce pierce@hogranch.com wrote:
If you absolutely have to have 2.6 for some user application, I would compile and install it to run somewhere else, like /usr/local/python26 or /opt/mystuff/python26
The IUS Community repository has a newer version of python, installable via yum which is located in /opt and doesn't conflict with the default python. They've done a pretty good job of packaging this in my opinion, and it's basically the best way to get a newer python without horribly breaking things.
Thank you. This will probably suit my needs. Susan