LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2003, 02:41 PM   #1
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
Listing files before intalling a RPM?


Hi,

I am trying to figure out how to list the files of an RPM before it's installed.
I have tried many options but still couldn't find it.
 
Old 07-18-2003, 02:58 PM   #2
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
rpm -qlp name.rpm
 
Old 07-18-2003, 03:03 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try:
rpm -qpl package.rpm

or this is also good:
rpm -qpi package.rpm


EDIT: took too long to check it!

Last edited by david_ross; 07-18-2003 at 03:04 PM.
 
Old 07-18-2003, 05:00 PM   #4
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Original Poster
Rep: Reputation: 15
Hi David,

Thanks. rpm -qpl works good.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
listing all files of a certain user X-GhoSt Linux - General 1 10-22-2005 03:22 AM
rpm listing ejbest Linux - Newbie 2 08-12-2004 10:24 PM
listing files in a directory Linh Programming 7 05-17-2004 04:35 AM
listing large files fintan Linux - Newbie 7 11-06-2003 11:40 AM
listing files in apache im1crazyassmofo Linux - Software 0 07-27-2003 05:05 PM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration