Finding package dependencies with zypper

Hi,

Is there a command that I can use to find out what are the dependencies of a given package.

Thanks,

H

This might help

zypper info <package-name>

Eg:

zypper info amarok

This does not seem to contain the dependencies. For example:

$ zypper info libkde4-devel
Loading repository data…
Reading installed packages…

Information for package libkde4-devel:

Repository: @System
Name: libkde4-devel
Version: 4.6.0-6.13.1
Arch: i586
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 6.2 MiB
Summary: KDE Base Libraries: Build Environment
Description:
This package contains all necessary include files and libraries needed
to develop KDE applications.

hegheg wrote:

>
> This does not seem to contain the dependencies. For example:
>
> $ zypper info libkde4-devel
> Loading repository data…
> Reading installed packages…
>
>
> Information for package libkde4-devel:
>
> Repository: @System
> Name: libkde4-devel
> Version: 4.6.0-6.13.1
> Arch: i586
> Vendor: openSUSE
> Installed: Yes
> Status: up-to-date
> Installed Size: 6.2 MiB
> Summary: KDE Base Libraries: Build Environment
> Description:
> This package contains all necessary include files and libraries needed
> to develop KDE applications.

Try

Code:

zypper info --requires libkde4-devel


Don

That is indeed what I was was looking for.

Thanks,