1752815 Members
6006 Online
108789 Solutions
New Discussion юеВ

Re: PACKAGE DEPENDENCIES

 
dhamodharan_1
Occasional Advisor

PACKAGE DEPENDENCIES

hi

I need a information about Package dependencies

If i wants to know the list of packages and its dependencies what command is used for it?

Thanks in advance
Dhamodharan.s
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: PACKAGE DEPENDENCIES

If not installed, use:

rpm -qRp .rpm

q=query
R=requires?
p=package file
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Guru Dutta
Frequent Advisor

Re: PACKAGE DEPENDENCIES

I agree that the above command will give you the list of dependencies if the package is not installed.Also you can refer to

http://eijk.homelinux.org/~stefan/rpm_devel_dependencies_v0.1.html


~Guru Dutta
John Collier
Esteemed Contributor

Re: PACKAGE DEPENDENCIES

Personally, I have gotten lazy these days and just do a simple

yum install

It will do most of the work for you and you will see a print out of what it thinks it needs to make the install work.

As long as you did not provide the -y option in the yum command, then you have the option of allowing or denying the install at that time.

Of course, this all assumes that you have yum installed and have the repositories configured...
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855