Compiling python from soruce vs RPM ?

Paul Boddie paul at boddie.org.uk
Thu Apr 19 05:49:12 EDT 2007


On 19 Apr, 04:39, howa <howac... at gmail.com> wrote:
>
> One more question:
>
> How to uninstall using the source package?
>
> the source package doesn't come with `make uninstall`?

Right. That's another pitfall of most source distributions (ie. the
Python sources from python.org) compared to system packages (ie. the
package built from a source RPM or equivalent system source package).
If you want a really quick solution to this which seems to work much
of the time, look at checkinstall:

http://asic-linux.com.mx/~izto/checkinstall/

This tool will make system packages by taking control of the usual
build process, and you can then install and uninstall those system
packages.

Paul




More information about the Python-list mailing list