Home arrow Journal arrow Find to which package a file belongs to using pkg
Find to which package a file belongs to using pkg PDF
Wednesday, 26 November 2014
If we want to find out the package to which a file belong to we will use pkg which command. For example to find the package that installs /usr/local/bin/yasm we use:

  pkg which /usr/local/bin/yasm

The command will return:

/usr/local/bin/yasm was installed by package yasm-1.2.0

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?