Solved apt-file command in Port system

Debian Package management has a command it called apt-file, It can search for a file on repository:
Code:
apt-file search nc
It search for NetCat in repository and returns a package that contain nc command.
Now, I have set of header file and I want to install them, How can I find their package name?
 
In order to use the pkg-provides plugin you need to enable plugins in pkg.

To do this, uncomment the following lines in /usr/local/etc/pkg.conf file and add pkg-provides to the supported plugin list:
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [ provides ];
Did you do this?
 
Back
Top