Ubuntu equivalent of Yum's WhatProvides, to find which package provides a file
Fedora's yum package management tool has a nice option called whatprovides , which lets you find what package has installed a specific binary or file. What is the equivalent command on Ubuntu? For example, say I'd like to find what package provided /usr/bin/mysqladmin . I know it should be something like mysql-server* . I've read that apt-cache search blah is a similar command, but running apt-cache search /usr/bin/mysqladmin returns nothing. Is there a better command? I believe apt-file will give you what you want. $ apt-file update $ apt-file list mysqladmin kmysqladmin: /usr/bin/kmysqladmin