From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 02:05:09 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 126A4106566C for ; Fri, 27 Mar 2009 02:05:09 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6D89F8FC12 for ; Fri, 27 Mar 2009 02:05:07 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n2R21IbS001965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 27 Mar 2009 09:01:18 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id n2R254v0003403; Fri, 27 Mar 2009 09:05:04 +0700 (ICT) Date: Fri, 27 Mar 2009 09:05:04 +0700 (ICT) Message-Id: <200903270205.n2R254v0003403@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: 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: Fri, 27 Mar 2009 02:05:09 -0000 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