To the point of defeat.....IDLE

Deon Garrett garrett at cs.colostate.edu
Thu Mar 1 04:51:26 EST 2001


The best way to go is to completely wipe any traces
of python rpms from your system before installing 
Python 2.0 from source.

rpm -e python

will fail because a bunch of stuff needs python.  But
it will list all the packages that need it.  You should
be able to look through the dependencies and find all
the stuff you want to remove.

rpm -e --nodeps python python-tools tkinter.......

I assume that the python executable is installed in 
/usr/bin on RedHat 7.  If so, then run configure in 
the python 2.0 root directory with the --prefix=/usr
option and all your scripts should still work.

cd your/python2.0/root/dir
./configure --prefix=/usr (and any other options you want)
make
make install

Then build any add-ons you want (Tkinter, NumPy, PIL, etc).

--
Deon Garrett



More information about the Python-list mailing list