1. Introductiongpkgdep 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 PackagesThe \"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 PackagesThe "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 SimmulationThe \"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: