Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where is the best repository you use to obtain RPMs for Python 3.0 which are well maintained?

share|improve this question
I don't think you'll find that easily. It's not even easy to find decent Python 2.5 packages for CentOS 5. – vartec May 22 '09 at 11:15
up vote 7 down vote accepted

You can try package from ActiveState It doesn't depend on package manager (just unpack and run "").

Or you can compile Python and create package by yourself

Here is how to create RPM by yourself:

Here is how you can compile it:

make test
sudo make install    # or "make altinstall"
share|improve this answer
When you said "create package by yourself," I thought you were going to point to an automated way to generate python packages. Instead you're just pointing to a generic RPM howto. Duh. – niXar May 31 '09 at 9:18
This works for me. – Jonathan Prior May 31 '09 at 20:18
Note that ActivePython now comes with PyPM (only 2.6 at the moment; but 2.7 and 3.1 are planned). – Sridhar Ratnakumar Dec 15 '09 at 17:23
While the links above will tell you how to create RPM packages, do bear in mind that the python RPM packages that do exist for RHEL/CentOS 5, apply several patches to make Python play nicer with these systems. I would recommend looking at the SPEC file for the EPEL python26 package as a starting point for packaging Python 3 ( – Hans L Apr 24 '12 at 16:53

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.

share|improve this answer
Not even Fedora 11 ships with Python 3 packages by default yet. – wzzrd May 28 '09 at 13:23

I doubt as there are any. I have always been quite successful installing python 3000 from source and running it so you would probably be ok doing that its quite nice and easy - that way you can also run multiple versions of python at the same time in order to maintain compatibility with any older scripts you may be running. Just remember that centos isn't really designed for new and emerging technologies so it will be a long time before python 3 comes into the official repos.

share|improve this answer

I find the openSUSE build page very useful.

One of the neat things Novell got when they bought SUSE was the Autobuild model. I am told it is a reasonably large cluster of devices (in the hundreds, last I asked) that recompiles most anything for all the platforms they officially support. (x86, x86_64, IA64, IBM mainframe hardware, PowerPC, etc).

They extended Autobuild to also build most packages for most OS's!!

I see lots of Python packages for RHEL 5, but I did not spend the time to see if 3.0 is in there as I could not quite figure out the search fast enough.

Since you are motivated, you can spend more time on it.

Hope this helps!

share|improve this answer
rpmbuild --rebuild

if you really want 3.0 (which is almost broken because a bottleneck in io) just change .spec file

share|improve this answer
Unfortunately that's going to replace the native Python and will cause problem with all its libs, that are going to have to be recompiled. What would be more useful would be a way to have several major versions alongside, and be able to use /etc/alternatives, etc – niXar May 31 '09 at 9:20

well you can always build your own:

as the saying goes - if you want to have something done properly, do it yourself... :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.