How to get installed packages list from YUM package manager

Please  use this command
[crayon-669e201505226005416396/]
This command will save  package list to a txt file.