gpkgdep - A Graphical Package Dependency Viewer for FreeBSD.
Hosted by: SourceForge Logo

1. Introduction

gpkgdep is a package viewer for FreeBSD. It allows to visualize the dependencies of all installed packages in three different ways. The first shows the required, the second the dependent packages. The third offers a comfortable way to identify unnecessary packages interactively.

Note: gpkgdep does only view things. It does not change anything on the packages!

Furthermore gpkgdep requires a consistent package database. Please install sysutils/portupgrade and run pkgdb -F before using gpkgdep. If the package database is inconsistent, a red warning line appears at the bottom of the main window!

2. Required Packages

The \"Required Packages\" tab shows all currently installed packages. If one requires another package, a small triangle appears before its name. By clicking on it, a list of the required packages appears, forming a small tree. This can be repeated recursively. Example: If you have KDE3 installed, clicking on the triangle reveals f.e. qt, because KDE3 requires qt.

If a package or one of its childs requires a packages, which does not exist, it is displyed in red. Please close gpkgdep, run pkgdb -F and restart gpkgdep to fix this problem

3. Dependent Packages

The "Dependent Packages" tab shows the same but in the opposite direction: all currently installed packages are shown as well. If another packages require one in the list, a small triangle appears before its name. By clicking on it, a list of these packages, which are requireing the starting one, is shown. Example: if you have KDE3 installed, qt will be in the list. Clicking on qt reveals KDE3, because KDE3 requires qt. Packages without childs can probably be deinstalled without making other packages unable to run

4. Remove Package Simmulation

The \"Remove Package Simmulation\" tab again shows all currently installed packages. This time there is a check box in front of each package. Clicking on it marks the corresponding package as "wanted" package. Wanted packages are packages the user wanted to keep on his or hers computer. Marking one package "wanted" also marks all packages this one requires as "wanted"! Furthermore this required packages are disabled, so that the "wanted" check box can not be un-checked. Marking all "wanted" packages will automatically mark all packages these require. What remains "unwanted" are obviously good candidates for deinstallation.

Please note the options at the bottom of the dialog:

  • Show all packages shows, as the title implies, all packages.
  • Show wanted and unwanted packagesshows all packages which are "unwanted" (not checked) and "wanted" (checked). Packages required by the "wanted" are not shown.
  • Show unwanted packages (the default) shows all packages which are "unwanted" (not checked). All "wanted" packages (checked by the user and required by them) are not shown
  • Show wanted packages only shows all packages which are "wanted" (checked) by the user. Packages which are required by them and which are "unwanted" are not shown.
  • Show wanted and dependent packages shows all packages which are "wanted" (checked) either because they are checked by the user, or because they are required by them.
  • Show dependent packages shows all which depend on the "wanted" packages.