1

How to query multiple packages from a file

view story
linux-howto

http://www.linuxquestions.org – Hi, I am writing a bash script where I want to query multiple packages which are kept in a file (/opt/packages) & i am using the command as, rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" & if the packages where not found which was listed in the file then install the packages through yum install. (HowTos)