Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-18-2007, 02:22 PM   #1
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
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
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
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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


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, 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 AM.

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