From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 21:15:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0656016A41F for ; Sun, 25 Dec 2005 21:15:01 +0000 (GMT) (envelope-from mph@echobase.hoth.dk) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A70D43D49 for ; Sun, 25 Dec 2005 21:15:00 +0000 (GMT) (envelope-from mph@echobase.hoth.dk) Received: from echobase.hoth.dk (echobase.hoth.dk [80.62.210.27]) by pfepa.post.tele.dk (Postfix) with ESMTP id 37B5347FEAA for ; Sun, 25 Dec 2005 22:14:59 +0100 (CET) Received: by echobase.hoth.dk (Postfix, from userid 1001) id F1BBA19B3D; Sun, 25 Dec 2005 22:14:58 +0100 (CET) Date: Sun, 25 Dec 2005 22:14:58 +0100 From: "Martin P. Hansen" To: freebsd-questions@freebsd.org Message-ID: <20051225211458.GA62030@echobase.hoth.dk> Mail-Followup-To: freebsd-questions@freebsd.org References: <43AF084B.3070900@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43AF084B.3070900@sbcglobal.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Uninstall Apache??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2005 21:15:01 -0000 On Sun, 25 Dec 2005, Jose Borquez wrote: > I would like to know how you can uninstall Apache is it was installed > from source? I did a search on Google and read that you could just stop > the service and then delete the apache source tree. Is this true? It probably depends on your definition of uninstall. Usually the service binaries are installed in /usr/local/bin or sometimes in paths like /usr/local/apache. Same goes for configuration files see also hier(7). So stopping the service and removing the source tree wont remove these. Some makefiles comes with an uninstall target, so you might try ``make uninstall''. Otherwise you can do a rebuild and reinstall from the sources again and look for recently changed files with something like ``find / -newerct "10 minutes ago"''. This probably have some shortcomings, but if you are careful it might do the job. -- Martin P. Hansen