Python 3.0 RPMs for CentOS 5 (RHEL 5)

Solution 1:

You can try package from ActiveState http://www.activestate.com/activepython/downloads. It doesn't depend on package manager (just unpack and run "install.sh").

Or you can compile Python and create package by yourself

Here is how to create RPM by yourself:

  • http://www.ibm.com/developerworks/library/l-rpm1
  • http://www.tldp.org/HOWTO/RPM-HOWTO/

Here is how you can compile it:

./configure
make
make test
sudo make install    # or "make altinstall"

Solution 2:

Please note that many of the tools redhat ships rely on python, so you're probably better off building from source and installing in /usr/local/ or using a bleeding edge release like Fedora 11.