How do I discover what package provides a certain file?

Ouattara Oumar Aziz wattazoum at gmail.com
Sat Feb 24 09:51:49 UTC 2007


Eric Dunbar a écrit :
> 1. Anyone know how to easily search the files installed by packages?

# Set up apt-file
apt-get intall apt-file
apt-file update

# Search for my_file
apt-file search my_file

> 2. Second though, anyone know how to use apt-get et al. to search for
> packages (like yum find xyz)? aptitude can do it but I really don't
> like its interface (its user interface could handle a major overhaul
> -- the irony is that it's designed so people don't have to fiddle with
> apt-get but it's designed for people who read man pages and memorise
> commands ;-)... exactly the crowd who don't need something like
> aptitude ;-P)
> 

apt-cache search regex





More information about the ubuntu-users mailing list