To display information about a specific package
$ sudo rpmquery vsftpd
$ sudo rpmquery httpd
To display information about multiple packages
$ sudo rpmquery vsftpd httpd bind
To display the version number of a package
$ sudo rpmquery -q httpd
To display the files that are included in a package
$ sudo rpmquery --list bind
$ sudo rpmquery --list httpd
To display the architecture of a package
$ sudo rpmquery --queryformat '%{ARCH}\n' httpd
regards,
T.Dhanasekar