Can anyone tell me, how I can find out to which package a file belongs?
I know how to get a file list of a package if I know the package name, but not how to get the package name if I only have a file name.
[Solved] How to find the package which a file belongs to?
-
- Posts: 13
- Joined: 26. Dec 2012, 01:27
[Solved] How to find the package which a file belongs to?
Last edited by cyberpatrol on 8. Mar 2013, 13:58, edited 1 time in total.
-
- Posts: 13
- Joined: 26. Dec 2012, 01:27
Re: How to find the package which a file belongs to?
This unfortunately doesn't work.djemos wrote:slapt-get --search file_name
That's the most simple and easiest way, I guess.djemos wrote:grep file_name /var/log/packages/*
But I will try the script, too.
Thanks.