If you have a binary RPM that you have not yet installed you can try:

rpm -qpl your.rpm

      ^ I think you need the "p" to tell rpm to query an uninstalled package

I don't know if this works with a source RPM (your.src.rpm), but you can always 
install the source RPM, and then check under the /usr/src/redhat/SPECS and 
/usr/src/redhat/SOURCES dirs.  

If you have Midnight Commander (mc) on your system, you can use that program to look 
inside RPMs before you install (mc can also look inside *.tar.gz files too).

__
Larry Grover, PhD
Assoc Prof of Physiology
Marshall Univ Sch of Med



On Mon, 09 Oct 2000 13:46:32 -0400 (EDT), Charles Galpin 
<[EMAIL PROTECTED]> wrote:
>
> you can do this without installing it. Try
>
> rpm -ql your.rpm
>
> this will list all the file that would be installed if you choose to do
> so.
>
> charles
>
> On Mon, 9 Oct 2000 [EMAIL PROTECTED] wrote:
>
>> hi,
>> ihow can i get an rpm file to 'install' into a given directory - i want
>> to look at what makes up the libc rpm
>> but have been unable to get any joy when looking at the man pages - i
>> don't want to actuall y install the rpm - just 'untar' it into a given
>> directory structure - can anybody help?
>> 
>> --
>> John Horton DBA Cognito (Informix on Linux)
>> [EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to