Question: how to check if a package is installed with yum?
Answer: Open the terminal app.
For remote server log in using the ssh command: ssh user@centos-linux-server-IP-here.
Show information about all installed packages on CentOS, run: sudo yum list installed.
To count all installed packages run: sudo yum list installed | wc -l.