Hi All , I have a requirement in Linux environement to check for an application pre-requisites if rpm's are installed or not .
Like rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}\n" compat-libstdc++-* rpm -q --queryformat "%{NAME}-%{VERSION}-%{RELEASE}\n" glibc-common-* Where glibc-common- and compat-libstdc++- are rpm's . And I have for this application to check 10 more rpm's in the list. The other complexity is these rpm's have major and minor numbers . So the rpm's should have minimum major number which would be in the list of rpm's .Higher than that is ok . for example :compat-libstdc++-296-2.96-138 is minimum version(major number ) required for the application to run sucessfully . Any help in the right direction . ** Thanks,