After executing the aptitude search pattern
command, I need to see only installed packages in the search result. Is there any way to do that?
Aptitude – How to Show Only Installed Packages by Executing ‘aptitude search’
aptitudesearch
aptitudesearch
After executing the aptitude search pattern
command, I need to see only installed packages in the search result. Is there any way to do that?
Best Answer
Add
~i
(short for?installed
) to match the installed packages whose name containsbash
:To match whose description contains
bash
.To limit to the ones that are not installed: