Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 14:19:02 +0200
From:      Ghirai <ghirai@ghirai.com>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to list all the installed packages...
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>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 27 Mar 2009 09:05:04 +0700 (ICT)
Olivier Nicole <on@cs.ait.ac.th> 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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090328141902.22cae488.ghirai>