Results 1 to 4 of 4

Thread: Zypper build-deps-install

  1. #1

    Default Zypper build-deps-install

    On my ubuntu machine I was used to using:
    Code:
    apt-get build-deps pkg_name
    to install only the dependencies and not the package itself.

    Is there an equivalent option in zypper?

    And I know about "zypper si -d ..." but that tries to build from source and the source for the package I need isn't on the repos.

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Zypper build-deps-install

    Tokolosh wrote:

    >
    > On my ubuntu machine I was used to using:
    >
    > Code:
    > --------------------
    > apt-get build-deps pkg_name
    > --------------------
    >
    > to install only the dependencies and not the package itself.
    >
    > Is there an equivalent option in zypper?
    >
    > And I know about "zypper si -d ..." but that tries to build from source
    > and the source for the package I need isn't on the repos.
    >

    Then you are out of luck with that method, but I hope you are aware that
    apt-get can also only be used on debian based machines for packages where a
    source package exists (or do you think it knows by some black magick what
    the build dependencies are for an unknown package are?).

    What package do you want to build maybe we can help to figure out what you
    need?

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
    ION | 3GB Ram

  3. #3

    Default Re: Zypper build-deps-install

    Actually when I did the standard "zypper install ..." it listed the additional packages it would install and I just installed those ones.

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Zypper build-deps-install

    Tokolosh wrote:

    >
    > Actually when I did the standard "zypper install ..." it listed the
    > additional packages it would install and I just installed those ones.
    >

    But that are only the runtime dependencies not the build dependencies. I
    wonder which package has no source. Sometimes the source has a different
    package name (for example for some of the kde applications).

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
    ION | 3GB Ram

Posting Permissions

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