Bild wird geladen
 
A l e x a n d e r    W i t t i gBanner

pkg_rmleaves

NAME

pkg_rmleaves − deinstall ’leaf’ packages

SYNOPSIS

pkg_rmleaves [-l] [-d] [-x] [-X] [-k]

DESCRIPTION

pkg_rmleaves finds packages that are not required (depended on) by any other installed package and lets you decide (in a beautiful dialog interface) for each one if you want to keep it or delete it.

Once the packages marked for removal have been deinstalled, you’ll be asked if you want to do another run to see packages that have become ’leaves’ now because you’ve deinstalled the package(s) that depended on them. In every run you will be shown only packages that you haven’t decided to keep yet in a previous run.

This version automatically detects if you are using the new pkg(8) package management system (also known as pkgng) or still the old pkg_* tools. It works with both package management systems, but may show more information with the new pkg(8) system.

OPTIONS

-l

List leaf packages only, one per line, and don’t ask for anything to be deinstalled.

-d

Use dialog (the default)

-x

Use Xdialog

-X

Use Xdialog in high compatibility mode

AUTHORS

Timothy Redaelli <drizzt (at) freesbie.org>
Alexander Wittig <alexander (at) wittig.name>

SEE ALSO

dialog(1), pkg(8), pkg_delete(1), pkg_info(1)

DOWNLOAD

pkg_rmleaves is available directly in the FreeBSD ports tree at ports-mgmt/pkg_rmleaves. You can install it either as a package or directly from ports. The latest version of the tool is also available directly here: pkg_rmleaves-latest.tar.gz.