User Tools

Site Tools


packages:search_packages

This is an old revision of the document!


Packages - Search Packages

Search for packages with “foo” in the name:

Issue the command:

aptitude search foo

Search for installed packages with “foot” in the name:

aptitude search '~foo'

Search for packages from the section “foo” that are not installed:

aptitude search \!~i~sfoo

Pipelines allow complex searches:

aptitude search '~i' | grep -ie 'x11\|xorg' | less

NOTE: aptitude search foo is slower than using apt-cache search foo to perform a searc. The output is also a bit different from apt-cache. Use whichever method is preferred.

packages/search_packages.1467730113.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki