This is a personal note about how to show list of installed packages on a Linux system.
There are different CLI commands depending on what kind of Linux operating system you use.
- Ubuntu / Debian
For Ubuntu, and Debian users, use this command to check installed packages on your system :
dpkg --get-selections | lessor
apt list –installed- RHEL/Fedora/CentOS
For RHEL (Red Hat), Fedora, and CentOS users use this command to check installed packages on your system :
rpm -qa | lessor
yum list installed | wc -l- FreeBSD
For FreeBSD users can use this command to check installed packages on your system :
pkg_info | less