Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 09:01:05 +0200
From:      Peter Boosten <peter@boosten.org>
To:        Erno Immonen <erno.immonen@gmail.com>
Cc:        freebsd-questions@freebsd.org, vuthecuong <cuongvt@fpt.vn>
Subject:   Re: deinstall all apps installed from ports
Message-ID:  <46C547B1.4020709@boosten.org>
In-Reply-To: <40bdcc020708162311g5ea14924x3bb9f7f26ea88b6f@mail.gmail.com>
References:  <46C4EA46.9050801@fpt.vn> <40bdcc020708162311g5ea14924x3bb9f7f26ea88b6f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Erno Immonen wrote:
> 2007/8/17, vuthecuong <cuongvt@fpt.vn> wrote:
>> Just for reference only:
>> I wonder how can I remove all apps, yes, all apps installed from ports
>> so that only
>> freebsd 6.2 OS remains just by one command.
>> I use portupgrade.
>> Thanks
> 
> rm -rf /usr/local/* /usr/X11R6/* /var/db/pkg/* /var/db/ports/*

Yeah, right... why not 'rm -rf /' :-S

pkg_delete -a

-- 
http://www.boosten.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C547B1.4020709>