Querying RPM
What is the method to query a rpm file to find out for what purpose it is made of. And which application it will install ?
By installing through package manager it only indicates that -> "one package qued for installation" and giving some options. But it makes nothing clear. :confused: Pl help |
I'm not sure if any CLI tool exists to tell you what specifically it is that the rpm will install. Usually the name is a good help, like foobar.rpm will install foobar, but you would usually have to look online to see what it is that foobar does. For all the libs, manpages, etc, you may have to peek at the source code. I would try just dumping the name of the rpm into google.com/linux
Peace, JimBass |
Thanks for reply
I downloaded some rpms which starts with linux-kernel-2.x.xxx etc. some of them was single modules and other one are patch(s) for my soundcard. All are sized some kb. And somehow i messed them. And now i want to do some cleanup. But still confused which do delete and which to keep. regards |
You use the "rpm -q" command e.g. to find out the purpose of an installed package, you would do
Code:
$rpm -qi packagename Code:
$rpm -qip packagename.rpm |
Quote:
It will works only with installed packages. Is there is any method to query rpm which are not installed. Regards |
Quote:
|
Thanks it solved the problem
Just tried it an find it working fine and get more then expected results Sorry just misunderstood <uninstalled> |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 12:07 PM. |