User Tools

Site Tools


packages:search_packages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packages:search_packages [2016/07/05 14:48] peterpackages:search_packages [2019/12/01 12:06] (current) – removed peter
Line 1: Line 1:
-====== Packages - Search Packages ====== 
  
-Search for packages with "foo" in the name: 
- 
-Issue the command: 
- 
-<code bash> 
-aptitude search foo 
-</code> 
- 
-Search for **installed** packages with "foot" in the name: 
- 
-<code bash> 
-aptitude search '~foo' 
-</code> 
- 
- 
-Search for packages from the section "foo" that are not installed: 
- 
-<code bash> 
-aptitude search \!~i~sfoo 
-</code> 
- 
- 
-Pipelines allow complex searches: 
- 
-<code bash> 
-aptitude search '~i' | grep -ie 'x11\|xorg' | less 
-</code> 
- 
-**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