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

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

<p>Except where noted, these RPMs are made available by Sean Reifschneider (<a href=""></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 source tar file. Simply download it and run "rpmbuild -ta Python-2.2.2.tgz". 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...




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




<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.2/rpms/python2.2.2-2.2.2-1.src.rpm">python2.2.2-2.2.2-1.src.rpm</a> ( Source RPM, 6667399 bytes)


<li><b>Red Hat 8.0, Red Hat RPM:</b>

<ul> <li>These RPMs are built from Red Hat's SRPM, not the tar-file. These RPMs are meant to more closely match the standard Python provided by Red Hat.

<li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/python-2.2.2-7.src.rpm">python-2.2.2-7.src.rpm</a> (Source RPM, 6952435 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/python-2.2.2-7.i386.rpm">python-2.2.2-7.i386.rpm</a> (Red Hat 8.0 base RPM, 4221481 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/python-devel-2.2.2-7.i386.rpm">python-devel-2.2.2-7.i386.rpm</a> (Red Hat 8.0 development RPM, 1120252 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/python-docs-2.2.2-7.i386.rpm">python-docs-2.2.2-7.i386.rpm</a> (Documentation in HTML and info formats, 1805611 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/python-tools-2.2.2-7.i386.rpm">python-tools-2.2.2-7.i386.rpm</a> (Red Hat 8.0 additional Python tools RPM, 35856 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/tkinter-2.2.2-7.i386.rpm">tkinter-2.2.2-7.i386.rpm</a> (Red Hat 8.0 Tk GUI library, 265454 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/sip-3.3.2-4tummy.src.rpm">sip-3.3.2-4tummy.src.rpm</a> (Red Hat 8.0 sip SRPM patched for 2.2.2, 161437 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/sip-3.3.2-4tummy.i386.rpm">sip-3.3.2-4tummy.i386.rpm</a> (Red Hat 8.0 sip RPM for 2.2.2, 97762 bytes) <li /><a href="/ftp/python/2.2.2/rpms/redhat8.0/sip-devel-3.3.2-4tummy.i386.rpm">sip-devel-3.3.2-4tummy.i386.rpm</a> (Red Hat 8.0 sip devel RPM, 9889 bytes)


<li><b>SuSE 8.1 RPM:</b>
<ul><a href="/ftp/python/2.2.2/rpms/suse8.1/IDLE-0.8-1.noarch.rpm">IDLE-0.8-1.noarch.rpm</a> (211393 bytes, most likely works on any other Linux distribution)

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

Definition list ends without a blank line; unexpected unindent.



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

<b>Source ( SRPM)</b>
cee208ea027bbe4634ab7d8b313d86e6 <a href="/ftp/python/2.2.2/rpms/python2.2.2-2.2.2-1.src.rpm">python2.2.2-2.2.2-1.src.rpm</a> (6667399 bytes)
<b>Red Hat 8.0 (based on Red Hat's SRPM)</b>
ff9660dde4d5f736c42409c8815f1634 <a href="/ftp/python/2.2.2/rpms/redhat8.0/python-2.2.2-7.src.rpm">python-2.2.2-7.src.rpm</a> (6952435 bytes) 4263943b81be5554df3f8c10a5ff406a <a href="/ftp/python/2.2.2/rpms/redhat8.0/python-2.2.2-7.i386.rpm">python-2.2.2-7.i386.rpm</a> (4221481 bytes) e8876066aa09f7faaa6f65cef454d154 <a href="/ftp/python/2.2.2/rpms/redhat8.0/python-devel-2.2.2-7.i386.rpm">python-devel-2.2.2-7.i386.rpm</a> (1120252 bytes) 53cda5b684e1fdbacd45d54af7030fbd <a href="/ftp/python/2.2.2/rpms/redhat8.0/python-docs-2.2.2-7.i386.rpm">python-docs-2.2.2-7.i386.rpm</a> (1805611 bytes) 5df2626864e7ebd873d21eac137f86de <a href="/ftp/python/2.2.2/rpms/redhat8.0/python-tools-2.2.2-7.i386.rpm">python-tools-2.2.2-7.i386.rpm</a> (35856 bytes) 7dd780a09e58609bf2cb4ce1432e0196 <a href="/ftp/python/2.2.2/rpms/redhat8.0/tkinter-2.2.2-7.i386.rpm">tkinter-2.2.2-7.i386.rpm</a> (265454 bytes) 62ec85229cbf98af26abfef81cf8b17d <a href="/ftp/python/2.2.2/rpms/redhat8.0/sip-3.3.2-4tummy.src.rpm">sip-3.3.2-4tummy.src.rpm</a> (161437 bytes) b96bb61ce8428d31d485d1da8cf5dffa <a href="/ftp/python/2.2.2/rpms/redhat8.0/sip-3.3.2-4tummy.i386.rpm">sip-3.3.2-4tummy.i386.rpm</a> (97762 bytes) 141405d7d7eea35e3494e0ca11373aa6 <a href="/ftp/python/2.2.2/rpms/redhat8.0/sip-devel-3.3.2-4tummy.i386.rpm">sip-devel-3.3.2-4tummy.i386.rpm</a> (9889 bytes)


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

<li />Q) Why I try to run "rpmbuild -ta Python-2.2.2.tgz", I get the
error: "error: File /root/Python-2.2.2b1.tgz: No such file or directory".
<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 99)

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 -ta Python-2.2.2.tgz").

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

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

Unexpected indentation.
using distutils "python bdist_rpm".

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

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 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, which 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 122)

Unexpected indentation.
You will need to install this package before you can build RPMs.

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