uninstall

M

Milos Prudek

I run "make install" of Python 2.4.4 and now I discovered that I do not like
the default placement of my install. The Makefile does not support
an "uninstall" option.

Is there a way to uninstall Python compiled from sources?
 
P

Paul Boddie

I run "make install" of Python 2.4.4 and now I discovered that I do not like
the default placement of my install. The Makefile does not support
an "uninstall" option.

Is there a way to uninstall Python compiled from sources?

If you're installing from sources "manually", you might want to
consider checkinstall to give you the option of an uninstall for those
software distributions which don't support "make uninstall":

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

I seem to recall at some point doing a checkinstall on one or more
programs, installing the resulting packages, then uninstalling them in
order to remove installed files. That might be one approach you could
take, although it obviously won't restore any files overwritten when
you originally installed Python. That said, Python tends to install
into /usr/local by default and is fairly conservative about where it
puts its files, so it's unlikely that anything was overwritten.

Paul
 
M

Milos Prudek

If you're installing from sources "manually", you might want to
consider checkinstall to give you the option of an uninstall for those
software distributions which don't support "make uninstall":

I know about checkinstall and I often use it. If I remember correctly, Python
failed to work with it. I admit I did not try to use checkinstall this time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,117
Latest member
Matilda564
Top