

Clearly, if you wanted to see such information for, say, emacs, you would use: apt-cache show emacsĪnother option is to use aptitude search. This will provide a more complete description of the package named "packagename". To learn more about a listed package use: apt-cache show packagename If you wish to search only for those packages with the search expression in the name, add the option -names-only: apt-cache search -names-only emacs

This will post the names of all packages containing the expression "emacs" in the name or description. The most current usage is to use the "search" option with a rational expression as a parameter. Use apt-cache (available since Debian 2.2)Īpt-cache allows searching rapidly among the entire list of available Debian packages. For more information, see man dlocateįind an official package (installed or not)ġ. This program does, more or less, the same thing as dpkg, but it does it even quicker. Or, like this, with grep: dpkg -l | grep toto It is often preferable to generalize, and search for all packages with "toto" in their name: dpkg -l '''toto''' To search for the package "toto": dpkg -l toto To search for an installed package including the file "toto": dpkg -S toto Translation(s): English - Français - Português (Brasil)
