Some times you need to check how many packages are installed on your Linux box. This article will help you to find all installed packages on Redhat and Debian based Linux systems.
List Installed Packages
Use one of following commands to list all installed packages on CentOS, RedHat, Fedora, Ubuntu, Debian and LinuxMint systems
On CentOS, RHEL & Fedora:
# rpm -qa# Using rpm command # yum list installed# Using yum command
On Ubuntu & Debian:
# dpkg --get-selections $ apt list --installed# Ubuntu 14.04 or above