List installed packages – CentOS

Issue the following command to get a list of all packages installed on your server

yum list installed

To pipe the result to a file issue the following

yum list installed >> /root/installed_packages.txt