logoalt Hacker News

ajbtoday at 9:46 AM0 repliesview on HN

If you have its path, dpkg already has an option to do that: "dpkg -S". Although some extra logic is needed for symlinks.