Possible Duplicate:
How do I find the package that provides a file?
When you type a command in the terminal in Ubuntu that you have not installed but can supplied by a package Ubuntu will suggest the package to be installed.
How do I do the other way around? How do I look for what package supplied the command I am typing in a terminal?
dpkg -S /usr/bin/termit
returns
termit: /usr/bin/termit
apt-file find /usr/bin/termit
returns
termit: /usr/bin/termit
Where termit
is an terminal emulator supplied by package termit
.