How to check if an rpm package is installed on a Red Hat Linux server rpm check, check if package is installed, red hat linux
Maintaining a server up-to-date requires regular rpm checks.
Each time Red Hat releases a newer version of, for example, samba rpm (and requisites) with fixes for known vulnerabilities one needs to check if your server already has that rpm installed and which version, to compare it with the new released one (in the case when you have under administration more servers).
How to check if an rpm package is installed on a Red Hat Linux server
The result of the commands shows us that samba rpm and requisites are installed on our server.
You can replace samba with the rpm package you need and play a little with grep and regular expressions to limit the results of the command depending on the desired rpm name.
Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.