From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 08:45:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FF3316A4AB for ; Fri, 17 Aug 2007 08:45:05 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2B93E13C4A6 for ; Fri, 17 Aug 2007 08:44:44 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [213.51.130.188] (port=53587 helo=smtp3.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.30) id 1ILxRj-0003AP-7Z; Fri, 17 Aug 2007 10:44:43 +0200 Received: from cp268254-a.landg1.lb.home.nl ([213.51.103.48]:4936 helo=ra.egypt.nl) by smtp3.groni1.gr.home.nl with esmtp (Exim 4.30) id 1ILxRh-00020K-31; Fri, 17 Aug 2007 10:44:41 +0200 Received: from ra.egypt.nl (localhost.egypt.nl [127.0.0.1]) by ra.egypt.nl (Postfix) with ESMTP id 82B80398B6; Fri, 17 Aug 2007 10:44:40 +0200 (CEST) Received: by ra.egypt.nl (Postfix, from userid 501) id 24C16398AB; Fri, 17 Aug 2007 10:44:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on ra.egypt.nl X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.2.3 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id C45D839885; Fri, 17 Aug 2007 10:44:38 +0200 (CEST) Message-ID: <46C55FF6.1030003@boosten.org> Date: Fri, 17 Aug 2007 10:44:38 +0200 From: Peter Boosten User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: Erno Immonen References: <46C4EA46.9050801@fpt.vn> <40bdcc020708162311g5ea14924x3bb9f7f26ea88b6f@mail.gmail.com> <46C547B1.4020709@boosten.org> <40bdcc020708170131h3ac60df7xb4ce62ba31b27576@mail.gmail.com> In-Reply-To: <40bdcc020708170131h3ac60df7xb4ce62ba31b27576@mail.gmail.com> X-Enigmail-Version: 0.95.3 OpenPGP: url=http://www.boosten.org/content/view/49/47/ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000766-0, 08/16/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV using ClamSMTP X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Cc: freebsd-questions@freebsd.org, vuthecuong Subject: Re: deinstall all apps installed from ports 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: Fri, 17 Aug 2007 08:45:05 -0000 Erno Immonen wrote: > 2007/8/17, Peter Boosten wrote: > >> Yeah, right... why not 'rm -rf /' :-S >> >> pkg_delete -a >> >> -- >> http://www.boosten.org >> > > Ports are installed into /usr/local/*, /usr/X11R6/*, package database > /var/db/pkg/*, ports options /var/db/ports/* > Deleting those directories will remove every installed package from your system. > > pkg_delete -a will do the same thing, but leaves some files behind. And your method will delete every locally (not by ports) installed application as well. Peter -- http://www.boosten.org