Notice: While Javascript is not essential for this website, your interaction with the content will be limited. Please turn Javascript on for the full experience.

Linux RPMs for Python 2.2.1

<h1>Linux RPMs for Python 2.2.1</h1>

<!-- <p><font color="red">These are for the <b>2.2</b> release. Sorry.</font> -->

<p>Except where noted, these RPMs are made available by Sean Reifschneider (<a href="mailto:jafo-rpms@tummy.com">jafo-rpms@tummy.com</a>).

<h3>Having Problems?</h3>

If you are having problems, please see the <a href="#FAQ">RPM Frequently Asked Questions</a> section at the end of this document for possible solutions.

<h3>New in version 2.2.1-2</h3>

<ul>

<li>The -devel package includes a Makefile.pre.in, for building Zope.

<li>Installs "python2.2" as well as "python2.2". This should allow it
to interoperate better with the Red Hat provided Python 2.2 package in 7.3.

<li>Available as source and binaries for Red Hat 7.3.

</ul>

<p><b>Warning:</b> These packages install as "/usr/bin/python2". This is because many of the Red Hat tools rely on "/usr/bin/python" being 1.5. For Python code which requires 2.2, they should probably change to use "/usr/bin/python2". The SRPM can be modified to build packages which install as "/usr/bin/python" -- count on things breaking if you do this.

<h3>Download</h2>

<p><ul><li>Signature:

<ul>

<li>The following packages were signed with the GPG key in <a href="/ftp/python/2.2.1/rpms/KRUD-GPG-KEY">KRUD-GPG-KEY</a>

</ul>

<li>Source:

<ul>

<li>The base Python tar-file can be used to build binary RPMs using the command "rpm -ta Python-2.2.1.tgz". <br><b>Note:</b> the tar file includes the 2.2.1-1 .spec file, use the next link for 2.2.1-2.

<li><a href="/ftp/python/2.2.1/rpms/python2-2.2.1-2.src.rpm"> python2-2.2.1-2.src.rpm</a>

<li>(optional) <a href="/ftp/python/2.1/expat-1.1-4tummy.src.rpm"> expat-1.1-4tummy.src.rpm</a> (Needed for building Python SRPM, for systems that don't provide expat-devel)

</ul>

<li>Red Hat 7.3 Binaries: <br /><b>RH 7.3 Note:</b> Red Hat 7.3 ships with a copy of Python 2.2 (not 2.2.1).

<ul> <li><a href="/ftp/python/2.2.1/rpms/rh7.3/python2-2.2.1-2.i386.rpm"> python2-2.2.1-2.i386.rpm</a> (RedHat-based 7.3 base RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh7.3/python2-tkinter-2.2.1-2.i386.rpm"> python2-tkinter-2.2.1-2.i386.rpm</a> (RedHat-based 7.3 tkinter RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh7.3/python2-devel-2.2.1-2.i386.rpm"> python2-devel-2.2.1-2.i386.rpm</a> (RedHat-based 7.3 development RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh7.3/python2-tools-2.2.1-2.i386.rpm"> python2-tools-2.2.1-2.i386.rpm</a> (RedHat-based 7.3 Tools RPM, including IDLE)

<li><a href="/ftp/python/2.2.1/rpms/rh7.3/python2-docs-2.2.1-2.i386.rpm"> python2-docs-2.2.1-2.i386.rpm</a> (Documentation in HTML and info formats)

</ul>

<li>Red Hat 7.2 Binaries:

<ul> <li><b>Note:</b> These RPMs are built from the 2.2.1-1 release. Use the src.rpm above to create 2.2.1-2 RPMs.

<li><a href="/ftp/python/2.2.1/rpms/rh7.2/python2-2.2.1-1.i386.rpm"> python2-2.2.1-1.i386.rpm</a> (RedHat-based 7.2 base RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh7.2/python2-tkinter-2.2.1-1.i386.rpm"> python2-tkinter-2.2.1-1.i386.rpm</a> (RedHat-based 7.2 tkinter RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh7.2/python2-devel-2.2.1-1.i386.rpm"> python2-devel-2.2.1-1.i386.rpm</a> (RedHat-based 7.2 development RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh7.2/python2-tools-2.2.1-1.i386.rpm"> python2-tools-2.2.1-1.i386.rpm</a> (RedHat-based 7.2 Tools RPM, including IDLE)

<li><a href="/ftp/python/2.2.1/rpms/rh7.2/python2-docs-2.2.1-1.i386.rpm"> python2-docs-2.2.1-1.i386.rpm</a> (Documentation in HTML and info formats)

</ul>

<li>Red Hat 6.2 Binaries:

<ul> <li><b>Note:</b> These RPMs are built from the 2.2.1-1 release. Use the src.rpm above to create 2.2.1-2 RPMs.

<li><a href="/ftp/python/2.2.1/rpms/rh6.2/python2-2.2.1-1.i386.rpm"> python2-2.2.1-1.i386.rpm</a> (RedHat-based 6.2 base RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh6.2/python2-tkinter-2.2.1-1.i386.rpm"> python2-tkinter-2.2.1-1.i386.rpm</a> (RedHat-based 6.2 tkinter RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh6.2/python2-devel-2.2.1-1.i386.rpm"> python2-devel-2.2.1-1.i386.rpm</a> (RedHat-based 6.2 development RPM)

<li><a href="/ftp/python/2.2.1/rpms/rh6.2/python2-tools-2.2.1-1.i386.rpm"> python2-tools-2.2.1-1.i386.rpm</a> (RedHat-based 6.2 Tools RPM, including IDLE)

<li><a href="/ftp/python/2.2.1/rpms/rh6.2/python2-docs-2.2.1-1.i386.rpm"> python2-docs-2.2.1-1.i386.rpm</a> (Documentation in HTML and info formats)

</ul>

</ul>

<h3>Files, <a href="../md5sum.py">MD5</a> checksums and sizes</h3>

<pre>
<b>Source</b>
d14a188a9d4ccfae2ad53920d2d4b4af <a href="/ftp/python/2.2.1/rpms/python2-2.2.1-2.src.rpm">python2-2.2.1-2.src.rpm</a> (7477437 bytes)
<b>Redhat 7.3</b>
414340f193bf0c0d20bd9846bdd075d4 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-2.2.1-1.i386.rpm">python2-2.2.1-2.i386.rpm</a> (5670565 bytes) 5eeffb528beb2e3e668e46fbd5665598 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-devel-2.2.1-1.i386.rpm">python2-devel-2.2.1-2.i386.rpm</a> (1926741 bytes) 35d220cf9fa530d93092cb1848dfb574 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-docs-2.2.1-1.i386.rpm">python2-docs-2.2.1-2.i386.rpm</a> (1438713 bytes) 3b392145289a33c88383e9d66ad9fcc2 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-tkinter-2.2.1-1.i386.rpm">python2-tkinter-2.2.1-2.i386.rpm</a> (320522 bytes) f336b3193c3eac67b939c063a7872b18 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-tools-2.2.1-1.i386.rpm">python2-tools-2.2.1-2.i386.rpm</a> (343483 bytes)
<b>Redhat 7.2</b>
fe04c9397155a952174150c81452327c <a href="/ftp/python/2.2.1/rpms/rh7.2/python2-2.2.1-1.i386.rpm">python2-2.2.1-1.i386.rpm</a> (5694849 bytes) 4ada9feaf97521140909c843f7d97ef1 <a href="/ftp/python/2.2.1/rpms/rh7.2/python2-devel-2.2.1-1.i386.rpm">python2-devel-2.2.1-1.i386.rpm</a> (1951519 bytes) 9ae59f01ef3c7741faa4abf5feaad221 <a href="/ftp/python/2.2.1/rpms/rh7.2/python2-docs-2.2.1-1.i386.rpm">python2-docs-2.2.1-1.i386.rpm</a> (1438488 bytes) 22f11a28dfe540f3e4fa69e335629d94 <a href="/ftp/python/2.2.1/rpms/rh7.2/python2-tkinter-2.2.1-1.i386.rpm">python2-tkinter-2.2.1-1.i386.rpm</a> (320522 bytes) c0909fd8880059acf17c1a92402244bc <a href="/ftp/python/2.2.1/rpms/rh7.2/python2-tools-2.2.1-1.i386.rpm">python2-tools-2.2.1-1.i386.rpm</a> (343471 bytes)
<b>Redhat 6.2</b>
b0f333d0676580d872454d5b56d06db6 <a href="/ftp/python/2.2.1/rpms/rh6.2/python2-2.2.1-1.i386.rpm">python2-2.2.1-1.i386.rpm</a> (5975575 bytes) 41b8aa98b31e8b7a7182bb0c0d67a8b5 <a href="/ftp/python/2.2.1/rpms/rh6.2/python2-devel-2.2.1-1.i386.rpm">python2-devel-2.2.1-1.i386.rpm</a> (1808627 bytes) ba5f6b36bb8df9d9ca249448a1d07b25 <a href="/ftp/python/2.2.1/rpms/rh6.2/python2-docs-2.2.1-1.i386.rpm">python2-docs-2.2.1-1.i386.rpm</a> (1460393 bytes) 067d782d8d1416ad7082ab9b6673d5d1 <a href="/ftp/python/2.2.1/rpms/rh6.2/python2-tkinter-2.2.1-1.i386.rpm">python2-tkinter-2.2.1-1.i386.rpm</a> (295078 bytes) caa4e92783fbab5bb548f6c1b480950d <a href="/ftp/python/2.2.1/rpms/rh6.2/python2-tools-2.2.1-1.i386.rpm">python2-tools-2.2.1-1.i386.rpm</a> (349253 bytes)
<!-- Removing Mandrake RPMs because they're apparently horribly broken.
<b>Mandrake 8.2</b>
fc1259287ed5ee4cec8b1ba01a74eb62 <a href="/ftp/python/2.2.1/rpms/mdk8.2/python2-2.2.1-1.i586.rpm">python2-2.2.1-1.i586.rpm</a> (4626195 bytes) c791d31363cc97e7bcd59bd543deccfa <a href="/ftp/python/2.2.1/rpms/mdk8.2/python2-devel-2.2.1-1.i586.rpm">python2-devel-2.2.1-1.i586.rpm</a> (1953774 bytes) f58f622eec85407f94bc49a766328217 <a href="/ftp/python/2.2.1/rpms/mdk8.2/python2-docs-2.2.1-1.i586.rpm">python2-docs-2.2.1-1.i586.rpm</a> (1438420 bytes) 5bdc73c043a666f02c27e13c42f9b13b <a href="/ftp/python/2.2.1/rpms/mdk8.2/python2-tkinter-2.2.1-1.i586.rpm">python2-tkinter-2.2.1-1.i586.rpm</a> (258121 bytes) 8967b7f4f20e7192e76ec85e7b723216 <a href="/ftp/python/2.2.1/rpms/mdk8.2/python2-tools-2.2.1-1.i586.rpm">python2-tools-2.2.1-1.i586.rpm</a> (343513 bytes) -->

System Message: WARNING/2 (<string>, line 172)

Definition list ends without a blank line; unexpected unindent.

</pre>

<p> The following SRPMs are available for the "SME Server" distribution of Linux (what was formerly known as "e-smith" before its acquisition by Mitel Networks). They are maintained by <a href="mailto:dan_york@mitel.com">Dan York</a>. The RPMs themselves are in:

<p> <a href="ftp://ftp.e-smith.org/pub/e-smith/contrib/DanYork/RPMS/i386/"> ftp://ftp.e-smith.org/pub/e-smith/contrib/DanYork/RPMS/i386/ </a>

<p> and a simple HOWTO for installing them is at:

<p> <a href="http://www.lodestar2.com/software/howto/python2-sme-howto.html"> http://www.lodestar2.com/software/howto/python2-sme-howto.html </a>

<h3><a name="FAQ"></a>RPM Frequently Asked Questions</h3>

<ul>
<li />Q) <b>What are the benefits of building my own binary RPM? I want to
just download binary RPMs and install them.</b>
<li />A) If the provided binary RPMs work on your system, fantastic.
You may experience problems if you are running an older or newer version of the operating system or any of the libraries, or an RPM-based system which doesn't have binary RPMs available above. <p /> Source RPMs (SRPMs) are the solution to this problem. A benefit of an SRPM is that it includes ALL of the instructions required to build the binary from the source. Building an SRPM is extremely easy, everything happens automatically... <p /> See the related question on <a href="#FAQ-build">how to build binary RPMs</a>.

<hr /><a name="FAQ-build"></a> <li />Q) <b>How do I build binary RPMs on my system?</b> <li />A) To build a binary tailored to your system, download the source

System Message: ERROR/3 (<string>, line 216)

Unexpected indentation.

RPM and run:

<pre> rpm --rebuild &lt;packagename&gt;.src.rpm</pre>

or download the original tar file and run:

<pre> rpm -ta &lt;packagename&gt;.tgz</pre>

Note: this does not actually install &lt;packagename&gt;. The resulting binary RPMs are written to a system-dependent location, but can be found by looking toward the end of the output of the above commands for lines starting with "<b>Wrote:</b>". For example:

<pre>

[...] Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... PreReq: rpmlib(PayloadFilesHavePrefix) &lt;= 4.0-1

System Message: ERROR/3 (<string>, line 234)

Unexpected indentation.
rpmlib(CompressedFileNames) &lt;= 3.0.4-1

System Message: WARNING/2 (<string>, line 235)

Block quote ends without a blank line; unexpected unindent.
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) &lt;= 4.0-1
rpmlib(CompressedFileNames) &lt;= 3.0.4-1

System Message: WARNING/2 (<string>, line 237)

Definition list ends without a blank line; unexpected unindent.

<b>Wrote: /home/jafo/rpm/SRPMS/python2-2.2.1-2.src.rpm</b> <b>Wrote: /home/jafo/rpm/RPMS/i386/python2-2.2.1-2.i386.rpm</b> <b>Wrote: /home/jafo/rpm/RPMS/i386/python2-devel-2.2.1-2.i386.rpm</b> <b>Wrote: /home/jafo/rpm/RPMS/i386/python2-tkinter-2.2.1-2.i386.rpm</b> <b>Wrote: /home/jafo/rpm/RPMS/i386/python2-tools-2.2.1-2.i386.rpm</b> <b>Wrote: /home/jafo/rpm/RPMS/i386/python2-docs-2.2.1-2.i386.rpm</b> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.73606 [...]

</pre>
<p /> These RPMs must then be installed with 'rpm -U' or the equivalent.

<hr /> <li />Q) <b>Why do I get "--rebuild: unknown option" or

System Message: ERROR/3 (<string>, line 251)

Unexpected indentation.
"-ta: unknown option" when building from source?</b>

System Message: WARNING/2 (<string>, line 252)

Block quote ends without a blank line; unexpected unindent.
<li />A) Some distributions (notably, Red Hat 8.x) running the latest
versions of rpm have removed the building functionality from the 'rpm' command. If you see complaints such as the above, simply use the 'rpmbuild' command instead.

<hr /> <li />Q) <b>Why do I get "failed dependency" errors such as:</b>

<pre>error: failed dependencies:
libcrypto.so.2 is needed by python2-2.2.1-1 libdb-3.2.so is needed by python2-2.2.1-1 libreadline.so.4 is needed by python2-2.2.1-1 libssl.so.2 is needed by python2-2.2.1-1</pre>
<li />A) The short answer is that you are running a system which is
sufficiently different from the machine that the RPMs were built on. For example, if you are running Red Hat 7.1 and download the packages built on Red Hat 7.3, your system has different sets of libraries. <p /> Don't panic! Unlike some systems which blindly continue along, hoping that the libraries are "close enough" to work (or worse yet, install their own copies of those libraries), the RPM system will track this and warn you of a possible problem. <p /> The best solution to this is to build a set of binary RPMs which are custom tailored to your system... It's easy. See the related question on <a href="#FAQ-build">how to build binary RPMs</a>.
<!--
<hr /> <li />Q) <li />A)

System Message: WARNING/2 (<string>, line 285)

Definition list ends without a blank line; unexpected unindent.

-->

</ul>

<!-- extra space so that the in-document link works properly --> <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />