rpm -qa | grep mysql
List all installed packages and filter for mysqlrpm -q --last libaio
List last update date for libaiorpm -qi mysql-commercial-server-8.0.23-1.1.el7.x86_64
Show information about the mysql-commercial-server-8.0.23-1.1.el7.x86_64 packagerpm -qi mysql-commercial-server-8.0.23-1.1.el7.x86_64 | grep Relocations
Show whether mysql-commercial-server-8.0.23-1.1.el7.x86_64 is relocatable (i.e. can it be installed to a different location)rpm -q mysql-commercial-server-8.0.23-1.1.el7.x86_64 --fileprovide
rpm -ql mysql-commercial-server-8.0.23-1.1.el7.x86_64
Both commands list the full path of files provided by the mysql-commercial-server-8.0.23-1.1.el7.x86_64 package