LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-18-2007, 02:22 PM   #1
shoaibi
LQ Newbie
 
Registered: May 2005
Location: Pakistan, South Asia
Distribution: Ubuntu, Simply MEPIS, SUSE, Mandrake, Red Hat, Kubuntu, Fedora
Posts: 16

Rep: Reputation: 0
Listing Dependencies of RPM Package


suppose if i have a package called abcdef.rpm, how can i list the dependencies for that rpm package? i mean what should be the command that i type on the shell?
 
Old 09-18-2007, 02:25 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Have you looked at man rpm? I believe it's something like rpm --depends abcdef.rpm or similar. The man page will tell you.
 
Old 09-18-2007, 03:45 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can do the follwing
Code:
$rpm -qpR abcdef.rpm
 
  


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
Failed dependencies /bin/sh, libc.so.6... when installing rpm package Vilenjak Linux - Newbie 4 03-19-2007 06:08 PM
How can I install a rpm package and get the dependencies installed automatically? sceadu Fedora 10 01-06-2006 04:10 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
listing of package x2000koh Debian 3 07-29-2003 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 AM.

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
Open Source Consulting | Domain Registration