[asterisk-users] Uninstalling Asterisk? No make uninstall?

Carey O'Shea carey at internode.on.net
Sat Jul 8 00:43:41 MST 2006


On Sat, 2006-07-08 at 10:22 +0300, Tzafrir Cohen wrote:
> On Sat, Jul 08, 2006 at 04:46:00PM +1000, Carey O'Shea wrote:
> > There does not seem to be any "make uninstall" for Asterisk 1.2.9.1 and
> > Zaptel 1.2.6... 
> > 
> > I tried to apply an uninstall patch but got many Hunk errors from both
> > 1.2.9.1 and latest SVN:
> > http://bugs.digium.com/file_download.php?file_id=8805&type=bug
> 
> Next time, patch --dry-run # :-(

It's OK, I did the patch on copies of my built source on an isolated
server, so I still have my original untouched sources that I am
currently running.

> > Is there a reason that there is no "make uninstall"? And what is the
> > easiest way to completely remove Asterisk and Zaptel from any given
> > system -- cleanly and properly?
> 
> If you want to "reinstall" just reinstall on top of the old system.

I don't need to reinstall, I need to uninstall.

> 
> You can't really be sure that the uninstall script you'll be running is
> using the same options as the one you build with.

I should be able to with a proper "make uninstall".

> 
> If you want to allow a clean uninstall, either use asterisk from a
> decent package or try something like checkinstall .
> 

The Asterisk packages built for my systems are always far too out of
date. However you are right, since there seems to be no "make
uninstall", then packages should have been built by hand at compile time
instead of "make install". But it is too late for that now, "make
install" has already been run, hence my post. Is the only option to
manually remove everything?





More information about the asterisk-users mailing list