Thread
:
Mapping files to packages, how to do it?
View Single Post
linuxeventually
2011-01-14 , 04:35
Posts: 540 | Thanked: 387 times | Joined on May 2009
#
3
Further investigation reveals that dpkg has limited functionality in this area:
# dpkg-query -S /path/to/file
will tell you, however dpkg-query ONLY applies to installed files (this in fact what you asked), however it should be noted that
yum provides
will tell you the package name (and more detailed information) even if the package isn't installed.
Additionally both of these commands support wildcards.
__________________
{
https://sites.google.com/site/maemo4repo/home
}
Quote & Reply
|
linuxeventually
View Public Profile
Send a private message to linuxeventually
Visit linuxeventually's homepage!
Find all posts by linuxeventually