[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to uninstall compiled programs from src?

On Thu, Sep 13, 2001 at 04:23:43PM +0800, louie miranda wrote:
> none, del it 1 by 1.
> > hi,
> >
> > just wondering "howto" do the 'proper' way to uninstall useless programs
> > compiled from source...
> >
> > thanks

Sorry to jump in at this part of the thread.

There is no proper way to uninstall programs compiled from src. There is
a proper way to install it though. It's called GNU Stow

apt-get install stow

It's as simple as:

make install prefix=/usr/local/stow/program_name

Then as root:

stow /usr/local/stow/program_name

And the program appears to be in /usr/local/bin!

To delete it:

stow -D /usr/local/stow/program_name

This doesn't delete the actual files, only the symlinks. You can then 
rm -rf /usr/local/stow/program_name and everything stays neat and tidy.

Danie Roux *shuffle* Adore Unix

Reply to: