From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 12:19:04 2009 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 DD4741065672 for ; Sat, 28 Mar 2009 12:19:04 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from ghirai.com (ghirai.com [195.74.52.87]) by mx1.freebsd.org (Postfix) with ESMTP id A7B608FC1A for ; Sat, 28 Mar 2009 12:19:04 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from localhost (localhost [127.0.0.1]) by ghirai.com (Postfix) with ESMTPSA id 9694B16FC3; Sat, 28 Mar 2009 12:18:56 +0000 (GMT) Date: Sat, 28 Mar 2009 14:19:02 +0200 From: Ghirai To: Olivier Nicole Message-Id: <20090328141902.22cae488.ghirai@ghirai.com> In-Reply-To: <200903270205.n2R254v0003403@banyan.cs.ait.ac.th> References: <200903270205.n2R254v0003403@banyan.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to list all the installed packages... 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: Sat, 28 Mar 2009 12:19:05 -0000 On Fri, 27 Mar 2009 09:05:04 +0700 (ICT) Olivier Nicole wrote: > Hi, > > Is there a way to show a list of all installed packages that are not > required by any other package? > > Some thing like "pkg_info -aR" where the Required by: field is empty. > > Ultimately, that would give a list of "software" versus "libraries". > > The question arise because, while installing a new machine, I found > out that I have help2man installed, that is not required by any other > package, that I did not install myself, that looks unneeded to me > (until I may need it one day). So I would remove it; and would like to > make a list of what is removable (that I did not install, and that is > not required). > > TIA, > > Olivier I use pkg_rmleaves. -- Regards, Ghirai.