LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-15-2005, 03:08 AM   #1
Uday123
Member
 
Registered: Nov 2005
Posts: 80

Rep: Reputation: 15
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,
 
Old 12-15-2005, 04:07 AM   #2
dylants
Member
 
Registered: Oct 2003
Location: Bath UK
Distribution: RedHat 7,9 RHEL 2.1-4 Suse 9.1, 9.2, Ubuntu, Centos 3-4, Fedora 3-5
Posts: 44

Rep: Reputation: 15
Hi Uday

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

Dylan
 
Old 12-15-2005, 09:31 AM   #3
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
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
 
Old 12-16-2005, 08:01 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
In KDE, konqueror will show some package information once you click the file.
 
Old 12-16-2005, 08:25 AM   #5
Uday123
Member
 
Registered: Nov 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi,
Thanks for ur reply.
Now i got the commands.

Cheers,
Uday.
 
Old 12-16-2005, 10:04 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 12-16-2005, 02:25 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Why didn't you just use YAST? It does that for you.
 
Old 12-19-2005, 12:03 AM   #8
Uday123
Member
 
Registered: Nov 2005
Posts: 80

Original Poster
Rep: Reputation: 15
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>
 
  


Reply



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
how to downgrade a package for a dependency gnulinusr Linux - Newbie 7 06-30-2005 10:31 AM
Nvu package dependency kermit Linux - Software 5 01-11-2005 09:45 AM
Installing Package with dependency yunus.raza Linux - Software 1 12-03-2004 06:37 AM
There was a package dependency problem Kensai Fedora 3 02-15-2004 06:02 PM
Mandrake 9.1 does not pass checking module dependency during boot after installation Middelburg Linux - Newbie 1 06-20-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:06 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
Open Source Consulting | Domain Registration