Howto install Python 2.3.3 on SuSE 9.0 by RPMs

A short description howto install Python 2.3.3 from RPM on a vanilla SuSE Linux 9.0 installation.

The Problem

SuSE linux does only provide Python 2.3.0 rpms which are named very strange (like Python-2.3-57.i368.rpm). Despite the large number this is 2.3.0 which has a couple of bugs which stop complex applications like Zope.

The Solution

It appears that nobody seemed to care about this and i wasn't able to find already build 2.3.3 RPMs for SuSE Linux at all. So i had no choice and built them myself. I took the original SuSE source RPM for 2.3.0 and changed it to compile with a 2.3.3 tarball from http://python.org.

Proceeding in this Howto will replace your existing python 2.3.0 by 2.3.3. Poke SuSE to provide official updates to 2.3.3 if you run into problems ;).

Required Files, MD5 checksums and sizes

To install the python-devel package (which is highly recommended) you are required to install the python-tk package as well which itself requires to install "tix" and "blt" through yast or yast2. Anything else should already be part of a default SuSE 9.0 installation, If you miss other dependencies .. they can all be resolved by using yast or yast2.

Depending on your installation you might need to update other components of python as well. Take a look here to download the rest of them. All these downloads are hosted by Joachim on virtualfx.de. Thanks!

Rebuilding SRPM for other platforms

One might need to rebuild these RPMs for other platforms or even other SuSE Linux releases. Get the Source RPM to do this.

Doing it

# wget http://downloads.virtualfx.de/longsleep/python-2.3.3-1.i586.rpm
# wget http://downloads.virtualfx.de/longsleep/python-devel-2.3.3-1.i586.rpm
# wget http://downloads.virtualfx.de/longsleep/python-xml-2.3.3-1.i586.rpm
# wget http://downloads.virtualfx.de/longsleep/python-tk-2.3.3-1.i586.rpm

# rpm -Uvh python-*
  Preparing...                ########################################### [100%]
     1:python                 ########################################### [ 25%]
     2:python-tk              ########################################### [ 50%]
     3:python-devel           ########################################### [ 75%]
     4:python-xml             ########################################### [100%]

# python2.3
Python 2.3.3 (#1, Apr  1 2004, 09:20:46)
[GCC 3.3.1 (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

That's it

Have fun with python 2.3.3 on SuSE 9. Please note that the installation of Python 2.3.3 replaced your original Python 2.3.0. As the differences are only bugfixes there should be no complications by that.

Copyright Simon Eisenmann http://longsleep.org/ - License under Creative Commons License - valid: xhtml, css

powered by icoya