Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do I download a source package?

21 views
Skip to first unread message

Matt

unread,
Nov 14, 2011, 7:49:02 PM11/14/11
to
Hi---

Trying to download the source code for byacc.


I found pkgs.fedoraproject.org/gitweb?p=byacc.git;a=summary


but I don't see how to download the package.


Also I don't see why the above line that looks like a link doesn't even
seem to be a url although it shows up as the address when I am at the
page in firefox.


What do I have to do?


Thanks.

Eef Hartman

unread,
Nov 15, 2011, 4:32:00 AM11/15/11
to
Matt <ma...@themattfella.xxxyyz.com> wrote:
> Trying to download the source code for byacc.

For _which_ version of Fedora (or even another distro)?

> I found pkgs.fedoraproject.org/gitweb?p=byacc.git;a=summary

That is the "git" version (I believe), that is: the one that may
be in the NEXT (17) release of Fedora. You have to have "git" installed
to get that, the reference is then
git://pkgs.fedoraproject.org/gitweb?p=byacc.git;a=summary
(note, that isn't http or ftp, git has its own protocol).
But that isn't really meant for end-users, more for developers,
you get them as "sources to be edited", not as an rpm.

The source for the newer versions of Fedora can be found through
http://mirrors.fedoraproject.org/publiclist/
(click under the mirror list filter on the version you want,
choose a mirror and go down on that to the "source" directory.

Example: our own (TU Delft) mirror has the source rpms in
http://ftp.tudelft.nl/download.fedora.redhat.com/linux/releases/16/Fedora/source/SRPMS/
the one for byacc is then the file: byacc-1.9.20101229-2.fc15.src.rpm
(as you can see from the name, this one is actually the Fedora 15
one, didn't need to be updated for Fedora 16).

Other distro's, of course, have their own way to distribute the
source packages of the applications they include and you can get
the original sourceathey all started with at:
ftp://ftp.cs.berkeley.edu/ucb/4bsd/
--
******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M....@tudelft.nl - phone: +31-15-27 82525 **
******************************************************************

Matt

unread,
Nov 17, 2011, 11:53:54 PM11/17/11
to
On 11/15/2011 03:32 AM, Eef Hartman wrote:
> Matt <ma...@themattfella.xxxyyz.com> wrote:
>> Trying to download the source code for byacc.
>
> For _which_ version of Fedora (or even another distro)?


Yes, for another distro. I am not inclined to hack byacc at the moment.
I just want to run it on opensuse, which for some reason doesn't
include it. However I found evidence indicating it will be included in
opensuse 12 dot something.


>> I found pkgs.fedoraproject.org/gitweb?p=byacc.git;a=summary
>
> That is the "git" version (I believe), that is: the one that may
> be in the NEXT (17) release of Fedora. You have to have "git" installed
> to get that, the reference is then
> git://pkgs.fedoraproject.org/gitweb?p=byacc.git;a=summary
> (note, that isn't http or ftp, git has its own protocol).
> But that isn't really meant for end-users, more for developers,
> you get them as "sources to be edited", not as an rpm.


I see I was barking up the wrong tree.


>
> The source for the newer versions of Fedora can be found through
> http://mirrors.fedoraproject.org/publiclist/
> (click under the mirror list filter on the version you want,
> choose a mirror and go down on that to the "source" directory.
>
> Example: our own (TU Delft) mirror has the source rpms in
> http://ftp.tudelft.nl/download.fedora.redhat.com/linux/releases/16/Fedora/source/SRPMS/
> the one for byacc is then the file: byacc-1.9.20101229-2.fc15.src.rpm
> (as you can see from the name, this one is actually the Fedora 15
> one, didn't need to be updated for Fedora 16).
>
> Other distro's, of course, have their own way to distribute the
> source packages of the applications they include and you can get
> the original sourceathey all started with at:
> ftp://ftp.cs.berkeley.edu/ucb/4bsd/


Thank you Eef for a very clear explanation.

Eef Hartman

unread,
Nov 18, 2011, 3:51:09 AM11/18/11
to
Matt <ma...@themattfella.xxxyyz.com> wrote:
> Yes, for another distro. I am not inclined to hack byacc at the moment.
> I just want to run it on opensuse, which for some reason doesn't
> include it.

And what do you think this is?
OBS repo (in this case for openSUSE 11.3 but there are 11.4 and 12.1 repo's too):
http://download.opensuse.org/repositories/devel:/tools:/compiler/openSUSE_11.3
contains (among others):
byacc-20100216-7.1.i586.rpm 19-Sep-2011 21:16 43K
cq.
byacc-20100216-7.1.x86_64.rpm 19-Sep-2011 21:20 47K
and if you really need the source too, it's in
http://download.opensuse.org/repositories/devel:/tools:/compiler/openSUSE_11.3/src/byacc-20100216-7.1.src.rpm

But to install the binary only, you can do:
zypper ar -f http://download.opensuse.org/repositories/devel:/tools:/compiler/openSUSE_1x.y devel_tools
(fill in x.y for YOUR version)
zypper in byacc
or use the 1-click install from the search result (see below).

Note: some of the lines are very long in this msg and may wrap around
in your newsreader.
To find packages in the openSUSE Build Service (OBS), use:
http://software.opensuse.org/search
0 new messages