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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 8 00:58:04 MST 2006


On Sat, Jul 08, 2006 at 05:43:41PM +1000, Carey O'Shea wrote:
> 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?

"Everything" is not much. Mostly /etc/asterisk , /var/lib/asterisk ,
/var/spool/asterisk , /var/run/asterisk , /etc/asterisk ,
/usr/lib/asterisk (/modules) and /usr/share/asterisk (at least in some
cases).

There are also a number of binaries in /usr/sbin (most notably asterisk)
which may differ a bit, depending on yor installation method.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list