list installed package files and how to know which package a file belongs
Hello,
Is there any way of listing the files of a installed package, like Debian does with dpkg -L ? Is there any way of knowing which package a file belongs, like Debian does with dpkg -S ? Using Slackware 13. Thanks. |
List files in package:
Code:
less /var/log/packages/PACKAGE_NAME Code:
grep FILENAME /var/log/packages/* |
Hello,
To list the files of a package, run as root user: Code:
pkgtool To find the package containing a file, I'm only aware of slackpkg. Code:
slackpkg search filename |
There also are some nice shell scripts that elaborate upon the methods just described:
Useful custom commands for Slackware. |
All times are GMT -5. The time now is 12:10 PM. |