From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 22:24:40 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 5786116A41F for ; Sun, 25 Dec 2005 22:24:40 +0000 (GMT) (envelope-from legalois@acm.org) Received: from smtp4.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64D0643D5C for ; Sun, 25 Dec 2005 22:24:39 +0000 (GMT) (envelope-from legalois@acm.org) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP id 6FE771C0020E for ; Sun, 25 Dec 2005 23:24:38 +0100 (CET) Received: from [192.168.0.4] (ADijon-151-1-118-143.w81-51.abo.wanadoo.fr [81.51.152.143]) by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP id 2C4D21C00209 for ; Sun, 25 Dec 2005 23:24:38 +0100 (CET) X-ME-UUID: 20051225222438181.2C4D21C00209@mwinf0404.wanadoo.fr Message-ID: <43AF19B7.30203@acm.org> Date: Sun, 25 Dec 2005 23:14:15 +0100 From: legalois User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051210) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43AF084B.3070900@sbcglobal.net> <20051225211458.GA62030@echobase.hoth.dk> In-Reply-To: <20051225211458.GA62030@echobase.hoth.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 22:24:40 -0000 Martin P. Hansen wrote: > 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. > ...or you could read pkg_delete(1) and pkg_deinstall(1) and follow instructions. ("make uninstall" is not a valid target for any Makefile in the ports tree that I am aware of.)