Linux standards

David Kramer david at thekramers.net
Fri Jun 21 11:34:33 EDT 2002


On Fri, 21 Jun 2002, Derek D. Martin wrote:

> At some point hitherto, David Kramer hath spake thusly:
> > Here's my big problem with tarballs:
> > there's almost never a 
> > 	make uninstall
> 
> I agree, but this isn't really that hard for the user to do either,
> *if* you remember to do it at install time:
> 
>   # touch marker_file
>   # make install
>   # find / -newer marker_file -type f -exec rm {} \;
>   # find / -newer marker_file -type d -exec rm -rf {} \;

Except that tar may be used such that the timestamps are preserved.

And you better skip /var and /proc, otherwise you could trash log files, 
state files, or worse in the case of /proc.

Of course if this package creates a /var/* directory or puts 
something in a croontab file you'll then miss it.

----------------------------------------------------------------------------
DDDD   David Kramer         david at thekramers.net       http://thekramers.net
DK KD  
DKK D  Love to stay.  Can't.  Have to go.  Kiss kiss, love love, bye.
DK KD  
DDDD                                                                   J'Kar





More information about the Discuss mailing list