# How to see what packages are installed using YUM

I am getting ready to do a database migration.  While putting my project plan and documentation together I needed a way to find out what postgres packages were installed on the server.  
  
This command does the trick.  
  

yum list installed | grep "postgres"
