On Thu, 31 Jul 2003 00:31:16 -0300
Antonio Alberto Lobato <[EMAIL PROTECTED]> escreveu:

> On Thu, 31 Jul 2003 12:59:35 +1000
> "Fenn Bailey" <[EMAIL PROTECTED]> escreveu:
> 
> > 
> > Basically, there is no 'uninstall' as such unless you build and installed it
> > as a debian package (go debian!). It most likely built to a single directory
> > (eg: /usr/local/radiusd/) or whatever, which is referred to (somewhere?) as
> > $radiusdprefix or whatever ;)
> 
> but in this case, "make install" putted things in 
> /usr/local/(bin,sbin,share/etc/etc...), not in only one dir :-(
> 
> > 
> > Just delete everything under that tree and it (might) be gone).
> > 
> > I gotta admit, I don't know where 'make install' usually puts things as I've
> > been using the debian package builder.

Ok, I found (I made :-) a solution for uninstall packages without a uninstall target 
for make (that cant run "make uninstall") and it may be util for someone more:

1) Install the software using a clean directory, say /tmp/prefix. 
2) Run find there for know where "make install" put the files. 
3) Using this information, delete the files.

For list the wanted files, use:

(install the soft with prefix=/tmp/prefix)
cd /tmp/prefix
ls -d $(for i in $(find -type f|cut -b 2-); do echo /usr/local$i; done)

For delete then, just swap "ls -d" by "rm".




Thank you for previus explains.
Tom






- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to