Subject: Re: Removing All Packages
To: Daniel Bolgheroni <dbolgheroni@unifei.edu.br>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/28/2004 21:57:55
On Fri, 29 Oct 2004, Daniel Bolgheroni wrote:

> I trying to remove _all_ packages from my system, with the minimal
> amount of commands possible.
>
> What's the easy way to do this?

Assuming defaults:

rm -rf /var/db/pkg /usr/pkg

Or try:

pkg_info  | cut -f 1 -d " " | xargs pkg_delete -fr

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/