CLI: Finding all installed apps with description
Posted: 08 Oct 2015, 23:33
I usually cheat with a GUI package managers when I want to find new programs. They have nice descriptions.
it is possible to find all installed packages in all distros:
Aptitude-based distributions (Ubuntu, Debian, etc): dpkg -l
RPM-based distributions (Fedora, RHEL, etc): rpm -qa
pkg*-based distributions (OpenBSD, FreeBSD, etc): pkg_info
Portage-based distributions (Gentoo, etc): equery list or eix -I
pacman-based distributions (Arch Linux, etc): pacman -Q
Cygwin: cygcheck --check-setup --dump-only *
Slackware: slapt-get --installed
Once you have this list you find that program that you have no clue what does right?
To get the description you can use apropos. Apropos is borrowed from French and means "on that Subject" :
This will tell you that unopkg is the LibreOffice extension manager.
You do not have to use the exact name will give you a list of all the packages that have libre in the name or in the description. And so on....
Here is what happens when you type apropos porn:
So if it is not there that is what you get.
it is possible to find all installed packages in all distros:
Aptitude-based distributions (Ubuntu, Debian, etc): dpkg -l
RPM-based distributions (Fedora, RHEL, etc): rpm -qa
pkg*-based distributions (OpenBSD, FreeBSD, etc): pkg_info
Portage-based distributions (Gentoo, etc): equery list or eix -I
pacman-based distributions (Arch Linux, etc): pacman -Q
Cygwin: cygcheck --check-setup --dump-only *
Slackware: slapt-get --installed
Once you have this list you find that program that you have no clue what does right?
To get the description you can use apropos. Apropos is borrowed from French and means "on that Subject" :
Code: Select all
apropos unopkgThis will tell you that unopkg is the LibreOffice extension manager.
You do not have to use the exact name
Code: Select all
apropos libreHere is what happens when you type apropos porn:
Code: Select all
apropos porn
porn: nothing appropriate.