Red Hat Installation - How do I list files in an RPM and where they are installed ?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > December 2005 > How do I list files in an RPM and where they are installed ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I list files in an RPM and where they are installed ?
Aaron Gray

2005-12-13, 8:50 pm

How do I list the files in an RPM ?

I have tried :-

rpm -lf test.rpm

Also how do I find out where they are install ?

Aaron


Lenard

2005-12-13, 8:50 pm

Aaron Gray wrote:

> How do I list the files in an RPM ?
>
> I have tried :-
>
> rpm -lf test.rpm


This works for me; rpm -qlip test.rpm

If the output is to long try; rpm -qlip test.rpm | less
Press the spacebar for the next screen and use the 'q' key when you reach
the (END) <-- hint


--
"A personal computer is called a personal computer because it's yours,
Anything that runs on that computer, you should have control over."
Andrew Moss, Microsoft's senior director of technical policy, 2005
Aaron Gray

2005-12-14, 2:49 am

> This works for me; rpm -qlip test.rpm
>
> If the output is to long try; rpm -qlip test.rpm | less
> Press the spacebar for the next screen and use the 'q' key when you reach
> the (END) <-- hint


Thanks,

Aaron


Nobody Here

2005-12-14, 2:49 am

Aaron Gray <ang.usenet@gmail.com> wrote:
>
> Thanks,


On a redhat system and possibly many, "less test.rpm" will work directly
using the lessopen interface.

--
Nobby
Lenard

2005-12-15, 2:50 am

Nobody Here wrote:

> On a redhat system and possibly many, "less test.rpm" will work directly
> using the lessopen interface.


True, but I like the formatting a bit more with; rpm -qlip test.rpm | less


--
"A personal computer is called a personal computer because it's yours,
Anything that runs on that computer, you should have control over."
Andrew Moss, Microsoft's senior director of technical policy, 2005
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com