Question: yum how to list installed packages?
Answer: 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. Want to save all installed packages names in a file? Try: sudo yum list installed > my_list.