Results 1 to 10 of 10

Thread: APT-GET SOURCE PACKAGE

  1. #1

    Default APT-GET SOURCE PACKAGE

    How do I get the same result with Zypper ?

    I tried
    Code:
    sudo zypper source-download empathy
    The problem is that it started downloading all source packages instead of only the ones for empathy.

    TY for your attention. BD

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: APT-GET SOURCE PACKAGE

    Quote Originally Posted by binarydepth View Post
    How do I get the same result with Zypper ?

    I tried
    Code:
    sudo zypper source-download empathy
    The problem is that it started downloading all source packages instead of only the ones for empathy.

    TY for your attention. BD
    You want to do more than just download the package, you want to install the source package so you can use it, right?
    If so, do this
    Code:
    zypper si empathy
    You will be given an opportunity to review the packages to be downloaded first.

    HTH,
    TSU

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,726

    Default Re: APT-GET SOURCE PACKAGE

    Code:
    man zypper
    is your friend.
    Henk van Velden

  4. #4

    Default Re: APT-GET SOURCE PACKAGE

    Quote Originally Posted by tsu2 View Post
    You want to do more than just download the package, you want to install the source package so you can use it, right?
    If so, do this
    Code:
    zypper si empathy
    You will be given an opportunity to review the packages to be downloaded first.

    HTH,
    TSU
    I want to develop so "SI" is great to get the building dependencies. But I need to have a personal archive to test my modfications. That's how i would do it I actually don't know how actual DEVS do this.

    TY. BD

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,317
    Blog Entries
    15

    Default Re: APT-GET SOURCE PACKAGE

    On Sun 06 Apr 2014 04:16:01 PM CDT, binarydepth wrote:


    tsu2;2635397 Wrote:
    > You want to do more than just download the package, you want to
    > install the source package so you can use it, right?
    > If so, do this
    > >

    Code:
    --------------------
    > > zypper si empathy

    --------------------
    > >

    >
    > You will be given an opportunity to review the packages to be
    > downloaded first.
    >
    > HTH,
    > TSU


    I want to develop so "SI" is great to get the building dependencies. But
    I need to have a personal archive to test my modfications. That's how i
    would do it I actually don't know how actual DEVS do this.

    TY. BD


    Hi
    For openSUSE packages, the Open Build Service and use osc locally....
    https://build.opensuse.org/

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-7-desktop
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  6. #6

    Default Re: APT-GET SOURCE PACKAGE

    [QUOTE=malcolmlewis;2635413]Hi
    For openSUSE packages, the Open Build Service and use osc locally....
    https://build.opensuse.org/

    Great! Why didn't I think of that before... :/

    I don't like this. I want to download SW from OpenSUSE repos by now.

    Server returned an error: HTTP Error 404: Not Found
    Error getting meta for project 'OpenSUSE:13.1' package 'gnome'
    OpenSUSE:13.1


    Code:
    osc co OpenSUSE:13.1 empathy

    Well TY

  7. #7

    Default Re: APT-GET SOURCE PACKAGE

    Lets try getting COREUTILS or FINDUTILS. How woudl that be ?

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: APT-GET SOURCE PACKAGE

    On 2014-04-06 17:26, binarydepth wrote:
    >
    > How do I get the same result with Zypper ?
    >
    > I tried
    > Code:
    > --------------------
    > sudo zypper source-download empathy
    > --------------------
    >
    >
    > The problem is that it started downloading all source packages instead
    > of only the ones for empathy.


    As the manual says, it downloads the entire dependency chain for the
    package you request.

    To download a single source package, you can use a browser like firefox,
    or wget if you know the link.

    Or, look up the manual, and find the switches for "source-download". I
    would try "-D". :-)


    That said, I do not see this is a question for the scripting forum, it
    is for the application forum. How to use zypper.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,317
    Blog Entries
    15

    Default Re: APT-GET SOURCE PACKAGE

    [QUOTE=binarydepth;2635469]
    Quote Originally Posted by malcolmlewis View Post
    Hi
    For openSUSE packages, the Open Build Service and use osc locally....
    https://build.opensuse.org/

    Great! Why didn't I think of that before... :/

    I don't like this. I want to download SW from OpenSUSE repos by now.

    Server returned an error: HTTP Error 404: Not Found
    Error getting meta for project 'OpenSUSE:13.1' package 'gnome'
    OpenSUSE:13.1


    Code:
    osc co OpenSUSE:13.1 empathy

    Well TY
    Hi
    It does depend on you having an obs account...

    Plus it's all lower case;
    Code:
     osc co openSUSE:13.1:Update empathy
    A    openSUSE:13.1:Update
    A    openSUSE:13.1:Update/empathy
    A    openSUSE:13.1:Update/empathy/empathy-3.10.2.tar.xz
    A    openSUSE:13.1:Update/empathy/empathy-rpmlintrc
    A    openSUSE:13.1:Update/empathy/empathy.changes
    A    openSUSE:13.1:Update/empathy/empathy.spec
    At revision 4c8f3335cb4a5ff0e77bf77be3ba0234
    Normally you would copy to your home project if your just wanting to play with the package;
    Code:
    osc copypac openSUSE:13.1:Update empathy home:<your_project>
    The command line osc also have nice search and download the binary file as well rather than using the web ui for searching.

    The other advantage is downloading the build dependencies into it's own local repo rather than installing into your system.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: APT-GET SOURCE PACKAGE

    Quote Originally Posted by binarydepth View Post
    I want to develop so "SI" is great to get the building dependencies. But I need to have a personal archive to test my modfications. That's how i would do it I actually don't know how actual DEVS do this.

    TY. BD
    If I want to isolate and control the Dev environment, I just create a virtualized Guest. Based on the initial Guest build, I can create any number of clones that test various code, environment factors. Can snapshot and rollback quickly if needed. Can delete/dispose any dead ends without a moment's thought.

    So, for a typical somewhat complex project I might have 10+, maybe even 20+ VMs created that each is a specific reference point and purpose(Yes, I also have to maintain a description what each machine is or does and note taking and documentation is critical). For me, is faster and more versatile than even using a version control file system since going back and forth in time doesn't destroy anything.

    Of course, this is possible only if I'm working on a project by myself. Becomes unwieldy if I'm working with someone else.

    HTH,
    TSU

Posting Permissions

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