LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   i need a command for checking the dependency of a package (https://www.linuxquestions.org/questions/suse-opensuse-60/i-need-a-command-for-checking-the-dependency-of-a-package-393036/)

Uday123 12-15-2005 03:08 AM

i need a command for checking the dependency of a package
 
Hi all,

I need couple of commands in SUSE for getting the following info:
1.Files installed by the package
2.Dependencies associated with the package

Thanks in advance,

dylants 12-15-2005 04:07 AM

Hi Uday

Are you talking about an .rpm or a .deb or a .tar.gz or what?

Dylan

berbae 12-15-2005 09:31 AM

Hi Uday
See 'man rpm'
in particular the query option '-q'
If yo want to use graphical applications : Kpackage in KDE or even YaST2 (it works also in a text console)
Regards.
Bernard

abisko00 12-16-2005 08:01 AM

In KDE, konqueror will show some package information once you click the file.

Uday123 12-16-2005 08:25 AM

Hi,
Thanks for ur reply.
Now i got the commands.

Cheers,
Uday.

reddazz 12-16-2005 10:04 AM

Quote:

Originally Posted by Uday123
Hi,
Thanks for ur reply.
Now i got the commands.

Cheers,
Uday.

Maybe it will help others in the future if you post what commands you used.

XavierP 12-16-2005 02:25 PM

Why didn't you just use YAST? It does that for you.

Uday123 12-19-2005 12:03 AM

Thanks for all u guys.
I found the commands which i asked to all of u.
I think this will help the other guys who wants the same.

1.Files installed by the package
rpm -ql <package name>
2.Dependencies associated with the pack
rpm -q -R <package name>


All times are GMT -5. The time now is 09:27 AM.