CentOS (and Red Hat) have two package managers, with another soon to be added to the equation.
Starting at the top, we have RPM Package Manager (RPM is a recursive acronym), which is the underpinning of package management in Red Hat based systems. It is what you might consider to be a raw package manager, in the sense that it is primordial, and you probably won't be using it directly day to day.
RPM does the following four things:
- Select
- Query
- Verify
- Install
These options have arguments, and the one that I find myself using the most often is query.
To list all installed packages on your system, use -qa, as follows:
$ rpm -qakernel-tools-libs-3.10.0-862.2.3.el7.x86_64grub2-common-2.02-0.65.el7.centos.2.noarchdmidecode-3.0-5.el7.x86_64 ...