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.3

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

<p>Except where noted, these RPMs are made available by Sean Reifschneider (<a href="mailto:jafo-rpms&#64;tummy.com">jafo-rpms&#64;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>RPMs For Other Platforms</h3>

For platforms in which binaries aren't available here, you can easily build binary RPMs directly from the Python SRPM. Simply download one of the .src.rpmfiles below, and run "rpmbuild --rebuild python2-2.2.3-1.src.rpm". Note toward the end of the output, the lines starting with "Wrote:" indicate where the binary RPMs were written.

<p /> The benefit of building binary RPMs in this way is that they are built using exactly the set of libraries and versions of packages that you have installed on your system. Because the SRPMs encompass all the steps required to build binary RPMs, it is a "fire and forget" process -- the simplest source build ever.

<!-- <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.

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

Unexpected indentation.
-->

<h3>Download</h3>

<p><ul><li><b>Signature:</b>

<ul>

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

</ul>

<li><b>Source:</b>

<ul>

<li><b>The base Python tar-file has a problem that prevents it from being built as an RPM. Use the following instead:</b>

<li /><a href="/ftp/python/2.2.3/rpms/python-2.2.3-26.src.rpm">python-2.2.3-26.src.rpm</a> (Red Hat 9 updated Source RPM, 7007263 bytes) <li /><a href="/ftp/python/2.2.3/rpms/python2-2.2.3-1.src.rpm">python2-2.2.3-1.src.rpm</a> (Python.org Source RPM, 7680544 bytes)

</ul>

<li /><b>Red Hat 9, Red Hat RPM:</b><br /> Red Hat 8.x and 9 users probably want to use these. These RPMs are built from Red Hat's SRPM, not the python.org tar-file. These RPMs are meant to more closely match the standard Python provided by Red Hat.

<ul>
<li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python-2.2.3-26.i386.rpm">python-2.2.3-26.i386.rpm</a> (Red Hat 9 base RPM, 5530686 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python-devel-2.2.3-26.i386.rpm">python-devel-2.2.3-26.i386.rpm</a> (Red Hat 9 development RPM, 1172632 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python-docs-2.2.3-26.i386.rpm">python-docs-2.2.3-26.i386.rpm</a> (Documentation in HTML and info formats, 1839344 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python-tools-2.2.3-26.i386.rpm">python-tools-2.2.3-26.i386.rpm</a> (Red Hat 9 additional Python tools RPM, 38312 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/tkinter-2.2.3-26.i386.rpm">tkinter-2.2.3-26.i386.rpm</a> (Red Hat 9 Tk GUI library, 352298 bytes)

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

Definition list ends without a blank line; unexpected unindent.

</ul>

<li />These RPMs are built from the python.org .spec file:

<ul>
<li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python2-2.2.3-1.i386.rpm">python2-2.2.3-1.i386.rpm</a> (Red Hat 9 base RPM, 6232077 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python2-devel-2.2.3-1.i386.rpm">python2-devel-2.2.3-1.i386.rpm</a> (Red Hat 9 development RPM, 579465 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python2-docs-2.2.3-1.i386.rpm">python2-docs-2.2.3-1.i386.rpm</a> (Documentation in HTML and info formats, 1495357 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python2-tkinter-2.2.3-1.i386.rpm">python2-tkinter-2.2.3-1.i386.rpm</a> (Red Hat 9 Tk GUI library, 348414 bytes) <li /><a href="/ftp/python/2.2.3/rpms/redhat-9/python2-tools-2.2.3-1.i386.rpm">python2-tools-2.2.3-1.i386.rpm</a> (Red Hat 9 additional Python tools RPM, 349117 bytes)

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

Definition list ends without a blank line; unexpected unindent.

</ul>

</ul>

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

<pre>
<b>Red Hat 9 based SRPM, Red Hat 8.x and 9 users should use these:</b>
<b>Source:</b>
989b0372573f3fe296ae8fea709da9b7 <a href="/ftp/python/2.2.3/rpms/python2-2.2.3-26.src.rpm">python2-2.2.3-26.src.rpm</a> (7007263 bytes)
<b>Red Hat 9 Binaries:</b>
31edfca30731a36d67c5d6a9cbacab95 <a href="/ftp/python/2.2.3/rpms/redhat-9/python-2.2.3-26.i386.rpm">python-2.2.3-26.i386.rpm</a> (5530686 bytes) 10b4c48921d2c05283296431ad14d0f1 <a href="/ftp/python/2.2.3/rpms/redhat-9/python-devel-2.2.3-26.i386.rpm">python-devel-2.2.3-26.i386.rpm</a> (1172632 bytes) f81d53d0ccca8e7d6a482df36d879ffc <a href="/ftp/python/2.2.3/rpms/redhat-9/python-docs-2.2.3-26.i386.rpm">python-docs-2.2.3-26.i386.rpm</a> (1839344 bytes) 240922eb2055acbfe8dcc110e7c0c854 <a href="/ftp/python/2.2.3/rpms/redhat-9/python-tools-2.2.3-26.i386.rpm">python-tools-2.2.3-26.i386.rpm</a> (38312 bytes) 707fcae449f3acdc70c34a465eacf3b7 <a href="/ftp/python/2.2.3/rpms/redhat-9/tkinter-2.2.3-26.i386.rpm">tkinter-2.2.3-26.i386.rpm</a> (352298 bytes)
<b>Based on python.org SRPM:</b>
<b>Source:</b>
356b7acd018f1b703d6427b30f070d97 <a href="/ftp/python/2.2.3/rpms/python2-2.2.3-1.src.rpm">python2-2.2.3-1.src.rpm</a> (7680544 bytes)
<b>Red Hat 9 Binaries:</b>
f3725a1725a1d51bdbcc5bf09edad6f8 <a href="/ftp/python/2.2.3/rpms/redhat-9/python2-2.2.3-1.i386.rpm">python2-2.2.3-1.i386.rpm</a> (6232077 bytes) e7799403d2fbcf3e13cca690bfb96ff1 <a href="/ftp/python/2.2.3/rpms/redhat-9/python2-devel-2.2.3-1.i386.rpm">python2-devel-2.2.3-1.i386.rpm</a> (579465 bytes) 710dcb6204ba0273a0413f4bb8823a2d <a href="/ftp/python/2.2.3/rpms/redhat-9/python2-docs-2.2.3-1.i386.rpm">python2-docs-2.2.3-1.i386.rpm</a> (1495357 bytes) 2f1ca332c535e1fe2c101f5dc8b9f055 <a href="/ftp/python/2.2.3/rpms/redhat-9/python2-tkinter-2.2.3-1.i386.rpm">python2-tkinter-2.2.3-1.i386.rpm</a> (348414 bytes) 0274dd2eee7df059b1e4689e650071cf <a href="/ftp

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

Definition list ends without a blank line; unexpected unindent.

/python/2.2.3/rpms/redhat-9/python2-tools-2.2.3-1.i386.rpm">python2-tools-2.2.3-1.i386.rpm</a> (349117 bytes)

</pre>

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

<ul>
<li />Q) Why I try to run "rpmbuild -ta Python-2.2.3.tgz", I get an
error about unpackaged files.
<li />A) Yes, there's a problem with the .spec file in the base tar
file. Use the SRPM that is on this page.

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

Definition list ends without a blank line; unexpected unindent.

<hr />

<li />Q) When running "rpm -ba", "rpm -ta" or "rpm --rebuild" I get
the error "-ba: unknown option" or "--rebuild: unknown option" or "-ta: unknown option".
<li />A) With the Red Hat 8.0 release, the building options were removed
from the "rpm" command. Use the "rpmbuild" command instead ("rpmbuild --rebuild python2-2.2.3-1.src.rpm").

<hr /> <li />Q) I'm getting the "-ba: unknown option" when trying to build RPMs

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

Unexpected indentation.
using distutils "python setup.py bdist_rpm".

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

Block quote ends without a blank line; unexpected unindent.
<li />A) As noted above, Red Hat broke the "build" functionality out of
the base "rpm" command with the 8.0 release. Unfortunately, they didn't patch their python RPM to account for this, and they don't appear to be planning to release any errata to fix this. If you upgrade to the 2.2.2-7 or newer RPMs on this page, distutils should work. Note that this seems to be fixed in the Red Hat 9 release (which uses Python 2.2.2 and has a patched distutils).

<hr /> <li />Q) When trying to build RPMs, I get "rpmbuild: command not found". <li />A) The "rpmbuild" command is part of a separate RPM "rpm-build".

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

Unexpected indentation.
You will need to install this package before you can build RPMs.
<!--
<hr /> <li />Q) <li />A)

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

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 />