Steps to success:
- Download all the Python 2.6 rpm for your CentOS (i386 or x86_64) from geekymedia.
- Install tcl, tk, tix (required dependencies):
yum -y install tcl tk tix
- Install the geekymedia rpms.
Note that the python26-libs-2.6-geekymedia1.*.rpm and python26-2.6-geekymedia1.*.rpm must be installed together like this
rpm -Uvh python26-libs-2.6-geekymedia1.*.rpm python26-2.6-geekymedia1.*.rpm
. Similarly, *tools* and *tkinter* rpm must be installed together like thisrpm -Uvh *tools*rpm *tkinter*rpm
.
I think I have realized going with IUS Community repository may be a better solution, since they are better maintained, tested and integrate with yum.
Link: http://iuscommunity.org/