1

Possible Duplicate:
How do I find out which package owns a file?

How do I find out what Debian package a file came from?

2 Answers2

8

dpkg -S /path/to/file

joschi
  • 1,151
1
user@host:~$ dpkg-query -S /bin/bash 
bash: /bin/bash

Where bash is the package name.