* [gentoo-user] many packages are available in gentoo?
@ 2005-08-28 10:17 William Kenworthy
2005-08-28 11:35 ` Neil Bothwick
` (4 more replies)
0 siblings, 5 replies; 12+ messages in thread
From: William Kenworthy @ 2005-08-28 10:17 UTC (permalink / raw
To: gentoo-user List
Is there a link that states how many packages are available in gentoo?
Stable, ~x86 etc?
Used to on the main gentoo site but I cant find it now (and
packages.gentoo.org has no stats at all)
BillK
--
William Kenworthy <billk@iinet.net.au>
Home!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 10:17 [gentoo-user] many packages are available in gentoo? William Kenworthy
@ 2005-08-28 11:35 ` Neil Bothwick
2005-08-28 12:35 ` Sergio Polini
` (3 subsequent siblings)
4 siblings, 0 replies; 12+ messages in thread
From: Neil Bothwick @ 2005-08-28 11:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
On Sun, 28 Aug 2005 18:17:56 +0800, William Kenworthy wrote:
> Is there a link that states how many packages are available in gentoo?
> Stable, ~x86 etc?
You can get the total number of packages with
# find $(portageq portdir) -maxdepth 2 -mindepth 2 -type d | wc -l
10017
To find the total number of ebuilds for a specific architecture, you'd
have to do something like
# find $(portageq portdir) -name '*.ebuild' -exec grep '^KEYWORDS=.*[^~]x86' {} ';' | wc -l
--
Neil Bothwick
Trekkers work out in the `He's Dead Gym'.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 10:17 [gentoo-user] many packages are available in gentoo? William Kenworthy
2005-08-28 11:35 ` Neil Bothwick
@ 2005-08-28 12:35 ` Sergio Polini
2005-08-28 19:28 ` Nick Rout
` (2 subsequent siblings)
4 siblings, 0 replies; 12+ messages in thread
From: Sergio Polini @ 2005-08-28 12:35 UTC (permalink / raw
To: gentoo-user
William Kenworthy:
> Is there a link that states how many packages are available in
> gentoo? Stable, ~x86 etc?
Do you speak perl? Sorry, I don't speak python any more ;-)
==== begin gentoo_packages.pl ====
#!/usr/bin/perl
use strict;
use File::Find;
use vars qw/*name/;
*name = *File::Find::name;
# Your architecture
my $arch = 'x86';
# $uniq == 1 -> nss_ldap-207.ebuild and
# nss_ldap-215-r1.ebuild are the same package
my $uniq = 1;
# $categ == 1 -> package names like 'sys-auth/nss_ldsp'
# $categ == 0 -> package names like 'nss_ldap'
my $categ = 1;
# Output:
my $sfile = 'stable';
my $tfile = 'testing';
my %stable;
my %testing;
my @stable;
my @testing;
find(\&wanted, '/usr/portage');
@stable = sort keys %stable;
@testing = sort keys %testing;
$"="\n";
open OUT, '>'.$sfile or die "Errore opening $sfile: $!\n";
print OUT "@stable\n";
close OUT;
open OUT, '>'.$tfile or die "Errore opening $tfile: $!\n";
print OUT "@testing\n";
close OUT;
print "Done.\n";
sub wanted {
/^.*\.ebuild\z/s
&& storename($name);
}
sub storename {
my $fname = $_[0];
my $shortname;
my $line;
my @temp = split('/', $fname);
print "$fname\n";
if ($uniq) {
$temp[5] =~ /(.*)-\d.*ebuild/;
$temp[5] = $1;
}
$shortname = $categ ? $temp[3] . '/' : '';
$shortname .= $temp[5];
open EBLD, $fname or die "Error opening $fname: $!\n";
while ($line=<EBLD>) {
if ($line =~ /^KEYWORDS/) {
if ($line =~ /~$arch/) {
++$testing{$shortname};
} elsif ($line =~ /$arch/) {
++$stable{$shortname};
}
last;
}
}
close EBLD;
}
==== end gentoo_packages.pl ====
Then:
[root ~]# wc stable
7702 7702 152968 stable
[root ~]# wc testing
4929 4929 98613 testing
HTH
Sergio
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 10:17 [gentoo-user] many packages are available in gentoo? William Kenworthy
2005-08-28 11:35 ` Neil Bothwick
2005-08-28 12:35 ` Sergio Polini
@ 2005-08-28 19:28 ` Nick Rout
2005-08-28 20:07 ` Philip Webb
2005-08-29 15:31 ` Ciaran McCreesh
4 siblings, 0 replies; 12+ messages in thread
From: Nick Rout @ 2005-08-28 19:28 UTC (permalink / raw
To: gentoo-user
On Sun, 2005-08-28 at 18:17 +0800, William Kenworthy wrote:
> Is there a link that states how many packages are available in gentoo?
> Stable, ~x86 etc?
>
> Used to on the main gentoo site but I cant find it now (and
> packages.gentoo.org has no stats at all)
>
> BillK
update-eix reports the number of packages when it finishes - mine tells
me 10,000, but that includes those in overlay.
but are you talking about packages or versions of packages?
for example is this one package or eight?
nick@sf ~ $ eix gentoo-sources
* sys-kernel/gentoo-sources
Available versions: 2.4.28-r9 ~2.4.31-r1 2.6.9-r9 2.6.12-r4
2.6.12-r6 ~2.6.12-r7 ~2.6.12-r8 2.6.12-r9
>
>
> --
> William Kenworthy <billk@iinet.net.au>
> Home!
>
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 10:17 [gentoo-user] many packages are available in gentoo? William Kenworthy
` (2 preceding siblings ...)
2005-08-28 19:28 ` Nick Rout
@ 2005-08-28 20:07 ` Philip Webb
2005-08-28 20:24 ` John Dangler
2005-08-29 15:31 ` Ciaran McCreesh
4 siblings, 1 reply; 12+ messages in thread
From: Philip Webb @ 2005-08-28 20:07 UTC (permalink / raw
To: gentoo-user
050828 William Kenworthy wrote:
> Is there a link that states how many packages are available in gentoo?
When I did my weekly esync yesterday, it indexed 10 350 packages.
'esync' is part of the 'esearch' package.
> Stable, ~x86 etc?
It doesn't distinguish.
If people ask or you want to give the figure in an article somewhere,
the simple answer today is "more than 10 000 ".
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [gentoo-user] many packages are available in gentoo?
2005-08-28 20:07 ` Philip Webb
@ 2005-08-28 20:24 ` John Dangler
2005-08-28 22:50 ` W.Kenworthy
0 siblings, 1 reply; 12+ messages in thread
From: John Dangler @ 2005-08-28 20:24 UTC (permalink / raw
To: gentoo-user
Maybe it's me - I don't get it.
www.gentoo-portage.com
front page ...
19884 ebuilds, 9986 Packages, Last Updated At 18:07:35 GMT
John D
esearch | grep for the particular arch seems to retrieve an accurate number
of packages for that arch, as the OP said previously...
-----Original Message-----
From: Philip Webb [mailto:purslow@sympatico.ca]
Sent: Sunday, August 28, 2005 4:07 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] many packages are available in gentoo?
050828 William Kenworthy wrote:
> Is there a link that states how many packages are available in gentoo?
When I did my weekly esync yesterday, it indexed 10 350 packages.
'esync' is part of the 'esearch' package.
> Stable, ~x86 etc?
It doesn't distinguish.
If people ask or you want to give the figure in an article somewhere,
the simple answer today is "more than 10 000 ".
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [gentoo-user] many packages are available in gentoo?
2005-08-28 20:24 ` John Dangler
@ 2005-08-28 22:50 ` W.Kenworthy
2005-08-28 23:01 ` Nick Rout
2005-08-28 23:39 ` Nick Rout
0 siblings, 2 replies; 12+ messages in thread
From: W.Kenworthy @ 2005-08-28 22:50 UTC (permalink / raw
To: gentoo-user
Not sure that is an official site ...
The question came from a couple of posts where debian is showing ~17000
packages and Fedora a couple of thousand less. They were bemoaning the
size of the install media. The difference between distros is most
likely little used packages, and the fact that rpm's for instance split
headers and sometimes aux functions into separate packages,
approximately doubling the package count. I presume debian do the same.
billk
On Sun, 2005-08-28 at 16:24 -0400, John Dangler wrote:
> Maybe it's me - I don't get it.
> www.gentoo-portage.com
>
> front page ...
>
> 19884 ebuilds, 9986 Packages, Last Updated At 18:07:35 GMT
>
> John D
...
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 22:50 ` W.Kenworthy
@ 2005-08-28 23:01 ` Nick Rout
2005-08-28 23:39 ` Nick Rout
1 sibling, 0 replies; 12+ messages in thread
From: Nick Rout @ 2005-08-28 23:01 UTC (permalink / raw
To: gentoo-user
On Mon, 29 Aug 2005 06:50:17 +0800
W.Kenworthy wrote:
> Not sure that is an official site ...
>
> The question came from a couple of posts where debian is showing ~17000
> packages and Fedora a couple of thousand less. They were bemoaning the
> size of the install media. The difference between distros is most
> likely little used packages, and the fact that rpm's for instance split
> headers and sometimes aux functions into separate packages,
> approximately doubling the package count. I presume debian do the same.
>
> billk
to make a fair comparison then you need to count the number of
.src.rpm's - one .src.rpm makes the -devel and auxillary packages as
well as the main package.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 22:50 ` W.Kenworthy
2005-08-28 23:01 ` Nick Rout
@ 2005-08-28 23:39 ` Nick Rout
1 sibling, 0 replies; 12+ messages in thread
From: Nick Rout @ 2005-08-28 23:39 UTC (permalink / raw
To: gentoo-user
On Mon, 29 Aug 2005 06:50:17 +0800
W.Kenworthy wrote:
> Not sure that is an official site ...
>
> The question came from a couple of posts where debian is showing ~17000
> packages and Fedora a couple of thousand less. They were bemoaning the
> size of the install media.
Don't these people have access to the worldwideintarwebthingy? why
download media you don't need? just install the packages you want over a
network.
Where does the thousands come from with fedora? I count 965 source rpms
on a fedora mirror i looked at.
on the same mirror there were 1483 binary rpm's. of those 299 have
"devel" in the filename, so will have been from a "split" build - ie one
foo.src.rpm may become foo.i386.rpm, foo-devel.i386.rpm,
foo-xorg.i386.rpm, foo-doc.i386.rpm etc.
This filter shows me how many binary rpm's have unique names up the the
first hyphen, :
grep i386.rpm fedora.filelist |cut -d- -f1|sort|uniq|wc -l
which gives 693 - but I don't know if thats an accurate way to tell if a
built package comes from the same source package.
But my real question is - how do you get thousands of fedora packages?
so you have to scratch around private repositories looking for the ones
with the stuff you want?
>The difference between distros is most
> likely little used packages, and the fact that rpm's for instance split
> headers and sometimes aux functions into separate packages,
> approximately doubling the package count. I presume debian do the same.
yes they do. usually called -dev rather than -devel from what i can see.
>
> billk
>
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-28 10:17 [gentoo-user] many packages are available in gentoo? William Kenworthy
` (3 preceding siblings ...)
2005-08-28 20:07 ` Philip Webb
@ 2005-08-29 15:31 ` Ciaran McCreesh
2005-08-30 3:47 ` Michael Crute
4 siblings, 1 reply; 12+ messages in thread
From: Ciaran McCreesh @ 2005-08-29 15:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
On Sun, 28 Aug 2005 18:17:56 +0800 William Kenworthy
<billk@iinet.net.au> wrote:
| Is there a link that states how many packages are available in gentoo?
| Stable, ~x86 etc?
Note that such a number wouldn't be useful for comparing with, say,
other distributions or ports, because a) we can SLOT things, so we
don't need separate foo-1, foo-2 and foo-3 packages, and b) we don't
need to do a zillion foo, foo-python, foo-perl etc packages because of
USE flags.
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-29 15:31 ` Ciaran McCreesh
@ 2005-08-30 3:47 ` Michael Crute
2005-08-30 4:12 ` W.Kenworthy
0 siblings, 1 reply; 12+ messages in thread
From: Michael Crute @ 2005-08-30 3:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]
On 8/29/05, Ciaran McCreesh <ciaranm@gentoo.org> wrote:
>
>
> Note that such a number wouldn't be useful for comparing with, say,
> other distributions or ports, because a) we can SLOT things, so we
> don't need separate foo-1, foo-2 and foo-3 packages, and b) we don't
> need to do a zillion foo, foo-python, foo-perl etc packages because of
> USE flags.
>
Some wise person once said that "Its not the size of the tool its how well
it works." I think that perhaps all this fuss over how many packages are in
the repository is kind of pointless. The issue is really does it work for
your use. Sure Fedora may have 6 billion packages but if it lacks the ONE
packages that you need to do that job and its not easy to create a package
for it then by golly Fedora isn't very useful. From personal experience I
find it much easier to create ebuilds for non standard packages than it is
to create RPMs plus the Portage tree has most of the packages I need by
default (and as an added bonus I don't have to hunt down a thousand
dependencies to install a single package).
So instead of comparing raw numbers think about this... Does it work for
you? In non-standard situations is it easy to get it to do what you want it
to do? If the answer to both is yes I think that says far more about the
distro than the size of its repository. Just my $0.02
-Mike
--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation
Linux, because reboots are for installing hardware.
"In a world without walls and fences, who needs windows and gates?"
[-- Attachment #2: Type: text/html, Size: 1944 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] many packages are available in gentoo?
2005-08-30 3:47 ` Michael Crute
@ 2005-08-30 4:12 ` W.Kenworthy
0 siblings, 0 replies; 12+ messages in thread
From: W.Kenworthy @ 2005-08-30 4:12 UTC (permalink / raw
To: gentoo-user
The focus isnt on the number of packages per se, but on the size of the
install media that a modern distro requires. Gentoo (as long as it has
the "coverage") has a natural advantage here in that you only install
what you want to install from the repositories, or from a single,
relatively small CD as far as the basics go. I believe debian can do
the same, but not as easy as gentoo, but again the discussion was on the
number of CD's that had to be obtained (either by purchase or download)
for a usable install.
BillK
On Mon, 2005-08-29 at 23:47 -0400, Michael Crute wrote:
> On 8/29/05, Ciaran McCreesh <ciaranm@gentoo.org> wrote:
>
> Note that such a number wouldn't be useful for comparing with,
> say,
> other distributions or ports, because a) we can SLOT things,
> so we
> don't need separate foo-1, foo-2 and foo-3 packages, and b) we
> don't
> need to do a zillion foo, foo-python, foo-perl etc packages
> because of
> USE flags.
>
> Some wise person once said that "Its not the size of the tool its how
> well it works." I think that perhaps all this fuss over how many
> packages are in the repository is kind of pointless. The issue is
> really does it work for your use. Sure Fedora may have 6 billion
> packages but if it lacks the ONE packages that you need to do that job
> and its not easy to create a package for it then by golly Fedora isn't
> very useful. From personal experience I find it much easier to create
> ebuilds for non standard packages than it is to create RPMs plus the
> Portage tree has most of the packages I need by default (and as an
> added bonus I don't have to hunt down a thousand dependencies to
> install a single package).
>
> So instead of comparing raw numbers think about this... Does it work
> for you? In non-standard situations is it easy to get it to do what
> you want it to do? If the answer to both is yes I think that says far
> more about the distro than the size of its repository. Just my $0.02
>
> -Mike
>
> --
> ________________________________
> Michael E. Crute
> Software Developer
> SoftGroup Development Corporation
>
> Linux, because reboots are for installing hardware.
> "In a world without walls and fences, who needs windows and gates?"
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-08-30 4:24 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-28 10:17 [gentoo-user] many packages are available in gentoo? William Kenworthy
2005-08-28 11:35 ` Neil Bothwick
2005-08-28 12:35 ` Sergio Polini
2005-08-28 19:28 ` Nick Rout
2005-08-28 20:07 ` Philip Webb
2005-08-28 20:24 ` John Dangler
2005-08-28 22:50 ` W.Kenworthy
2005-08-28 23:01 ` Nick Rout
2005-08-28 23:39 ` Nick Rout
2005-08-29 15:31 ` Ciaran McCreesh
2005-08-30 3:47 ` Michael Crute
2005-08-30 4:12 ` W.Kenworthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox