<?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>NamHuy &#187; python</title>
	<atom:link href="http://namhuy.org/blog/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://namhuy.org/blog</link>
	<description>Includes news, help, tutorials, programming, tips and how-to guides for Linux, UNIX, and BSD</description>
	<lastBuildDate>Wed, 21 Mar 2012 03:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Python2.4, Python2.5 and Ubuntu 10.04 lucid lynx</title>
		<link>http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Thu, 20 May 2010 18:31:33 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bz2]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=91</guid>
		<description><![CDATA[Ubuntu lucid lynx does not have Python 2.4 and 2.5 runtimes available in the repositories, so if you are a developer and you are in need of those, then you have two options: One is try to find binaries somewhere &#8230; <a href="http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu lucid lynx does not have Python 2.4 and 2.5 runtimes available in the repositories, so if you are a developer and you are in need of those, then you have two options: One is try to find binaries somewhere else or just compile them from source. In this article, I’m going to point out the steps for compilation.</p>
<p>Go to python.org and download the sources for the version you want. In my case I download Python2.4 Untar the bz2 or gzip file. Go to Python-2.4.4 (my Python version) and cd into Modules. Edit the Setup file and uncomment those modules you need. Amongst them I uncommented the zlib module. You’ll need to install from repos the zlib1g-dev package and the Tcl/Tk one as well. I take for granted you’ve got g++ compiler as well as it is necessary. ./configure, make and sudo make install. Take into account that the python2.4 runtime will be installed in /usr/local/bin/python and /usr/local/bin/python2.4 In my case I deleted the “/usr/local/bin/python” leaving the “/usr/local/bin/python2.4″  (both are the same) to avoid clashing with the python (2.6) in /usr/bin as apparently the shell looks first in /usr/local/bin.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F05%2F20%2Fpython2-4-python2-5-and-ubuntu-10-04-lucid-lynx%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/"  data-text="Python2.4, Python2.5 and Ubuntu 10.04 lucid lynx" data-count="horizontal"></a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/05/20/python2-4-python2-5-and-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.293 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-21 11:51:06 -->
<!-- Compression = gzip -->
