Results 1 to 5 of 5

Thread: Finding package dependencies with zypper

  1. #1

    Default 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

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,700
    Blog Entries
    20

    Default Re: Finding package dependencies with zypper

    This might help

    zypper info <package-name>

    Eg:

    zypper info amarok
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Finding package dependencies with zypper

    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.

  4. #4
    Join Date
    Oct 2010
    Posts
    43

    Default Re: Finding package dependencies with zypper

    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

  5. #5

    Default Re: Finding package dependencies with zypper

    That is indeed what I was was looking for.

    Thanks,

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •