<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Second Order Effect &#187; linux</title>
	<atom:link href="http://www.geekymedia.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekymedia.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 10 May 2010 01:47:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>RHEL5 / CentOS5 RPMs for Python 2.5 and 2.6</title>
		<link>http://www.geekymedia.com/uncategorized/rhel5-centos5-rpms-for-python-2-5-and-2-6/</link>
		<comments>http://www.geekymedia.com/uncategorized/rhel5-centos5-rpms-for-python-2-5-and-2-6/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 20:06:07 +0000</pubDate>
		<dc:creator>Rizwan Kassim</dc:creator>
				<category><![CDATA[Tech Articles]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.geekymedia.com/?p=6</guid>
		<description><![CDATA[EDIT : Newer Instructions are here. this is a repost from my old site. I&#8217;ve created RPMs for RHEL 5.0, 5.1, 5.2 and 5.3, as well as CentOS 5.0, 5.1 and 5.2 for Python 2.5 and 2.6. The RHEL/CentOS line only supports Python 2.4, and as it&#8217;s an integral part of yum and many other [...]]]></description>
			<content:encoded><![CDATA[<p>EDIT : Newer Instructions are <a href="http://www.geekymedia.com/uncategorized/rhel5-centos-5-python-2-62-rpms/">here</a>.</p>
<p>this is a repost from my old site.</p>
<p>I&#8217;ve created RPMs for RHEL 5.0, 5.1, 5.2 and 5.3, as well as CentOS 5.0, 5.1 and 5.2 for Python 2.5 and 2.6.</p>
<p>The RHEL/CentOS line only supports Python 2.4, and as it&#8217;s an integral part of yum and many other packages, any installation of new Pythons will require parallel installation.</p>
<p>(Note : Currently, the 2.5 and 2.6 RPMs cannot both be installed without an RPM &#8211;force)</p>
<p>TODO : <a href="http://mirrors.geekymedia.com/centos/">Repository</a> URL &amp; GPG signing</p>
<p>As for the RPMs themselves :</p>
<h2>Download</h2>
<ul>
<li>Python 2.6 &#8211; Built from Fedora Core 11 Alpha
<ul>
<li><a href="http://mirrors.geekymedia.com/centos/python26-2.6-geekymedia1.i386.rpm">python26-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python26-debuginfo-2.6-geekymedia1.i386.rpm">python26-debuginfo-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python26-devel-2.6-geekymedia1.i386.rpm">python26-devel-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python26-libs-2.6-geekymedia1.i386.rpm">python26-libs-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python26-test-2.6-geekymedia1.i386.rpm">python26-test-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python26-tools-2.6-geekymedia1.i386.rpm">python26-tools-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/tkinter26-2.6-geekymedia1.i386.rpm">tkinter26-2.6-geekymedia1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python26-2.6-geekymedia1.src.rpm">python26-2.6-geekymedia1.src.rpm</a></li>
</ul>
</li>
<li>Python 2.51 &#8211; Built from Fedora Core 10 (by <a href="http://blog.bashton.com/2008/python-25-rpms-for-rhel-5-centos-5/">Bashton</a>)
<ul>
<li><a href="http://mirrors.geekymedia.com/centos/python25-2.5.1-bashton1.i386.rpm">python25-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python25-debuginfo-2.5.1-bashton1.i386.rpm">python25-debuginfo-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python25-devel-2.5.1-bashton1.i386.rpm">python25-devel-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python25-libs-2.5.1-bashton1.i386.rpm">python25-libs-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python25-test-2.5.1-bashton1.i386.rpm">python25-test-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python25-tools-2.5.1-bashton1.i386.rpm">python25-tools-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/tkinter25-2.5.1-bashton1.i386.rpm">tkinter25-2.5.1-bashton1.i386.rpm</a></li>
<li><a href="http://mirrors.geekymedia.com/centos/python25-2.5.1-bashton1.src.rpm">python25-2.5.1-bashton1.src.rpm</a></li>
</ul>
</li>
</ul>
<h2>Caveats</h2>
<p>Neither of these packages fully pass the Python test suite (<em>import test.autotest</em>).</p>
<p>That being said, we&#8217;ve been using the Python 2.5 package, released by Bashton, in production for a while now, and we haven&#8217;t seen any problems.</p>
<p><strong>4 tests failed: test_distutils test_email test_email_renamed test_nis</strong></p>
<p>I don&#8217;t know about email, but there are patches for CentOS/Fedora against distutils, so I expect that&#8217;s why it fails the test.</p>
<p>For Python 2.6, note the following :</p>
<ul>
<li>I had to gimp autoconf&#8217;s version detection to force it to use 2.59. This may have unintended consequences</li>
<li>This RPM uses patches from the Fedora Core 11 Alpha <a href="http://koji.fedoraproject.org/koji/packageinfo?packageID=130">release</a>. (python-2.6-4.fc11 specifically). As Fedora updates this package, I&#8217;ll release updates. (Feel free to email <script src="http://www.geekymedia.com/email.js" type="text/javascript"></script>to remind.)</li>
</ul>
<h2>Usage</h2>
<p>Just install the RPMs for the version that you want. You&#8217;ll need at least the base python version package and the libs package.<br />
To start Python 2.6, type python26 at your commandline rather than python. (Your original Python 2.4 is still installed.)<br />
If you&#8217;re installing packages with setuptools, make sure to use the correct python version. (i.e. python26 setup.py install)<br />
If you&#8217;d like to build an x86_64, call <em>rpmbuild &#8211;rebuild</em> with the appropriate arch setting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekymedia.com/uncategorized/rhel5-centos5-rpms-for-python-2-5-and-2-6/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
