RPM Command: Display Information about Installed Software Program

What command is used to display information about an installed software program in an RPM based Linux distribution?

Which command will provide extensive details about individual packages?

Answer:

The command to display information about an installed software program in an RPM based Linux distribution is 'rpm -qi'.

The 'rpm -qi' command is a powerful tool in RPM based Linux distributions like CentOS, Fedora, and RHEL. It provides comprehensive information about individual packages, including details such as the package version, description, build date, and install date.

When you run the 'rpm -qi' command followed by the package name, it will return a detailed report with all the relevant information about that specific package. This can be very useful when you need to troubleshoot issues with software programs, check for updates, or verify installation details.

It's important to remember that this command is specifically designed to provide information about installed packages. For querying uninstalled package files, generating a list of all installed packages, listing files in installed packages, or identifying which installed package owns a specified file, different commands such as 'rpm -qp', 'rpm -qa', 'rpm -ql', and 'rpm -qf' should be used, respectively.

← Word processors vs typewriters embracing technology in writing Best practices for variable declaration in programming languages →