This is an old revision of the document!


DragonFly BSD

Finding which package includes a binary

If you know the name of the binary, but not what package it is in, look at the pkg-plist file for each one:

find /usr/dports/ -maxdepth 2 -name pkg-plist -exec grep -H <execname> {} \;
Getting the binary package for a file

If you have the binary installed, and want to know which package it belongs to:

pkg which <name>