list content of rpm package without installing it

If you want to check which files are in particular package before package installation, then you can do it with below comands ( tested on RHEL / Centos 6 )

#yum install yum-utils
#repoquery --list packagename

Do you know some other commands doing this on same/similar or better way?

Advertisements

#rpm-rhel-6, #yum-utils