public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr/bin/time is in what package?
@ 2010-07-04  8:22 meino.cramer
  2010-07-04  9:28 ` justin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: meino.cramer @ 2010-07-04  8:22 UTC (permalink / raw
  To: Gentoo

Hi,

 in what package can I find /usr/bin/time (not the shell's builtin) ?

 Or, in other more general words: How can I find a package which
 contains a certain installable file?

 Thanks a lot in advance for any help!
 Best regards,
 mcc






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04  8:22 [gentoo-user] /usr/bin/time is in what package? meino.cramer
@ 2010-07-04  9:28 ` justin
  2010-07-04  9:53 ` Albert Hopkins
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: justin @ 2010-07-04  9:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

On 04/07/10 10:22, meino.cramer@gmx.de wrote:
> Hi,
> 
>  in what package can I find /usr/bin/time (not the shell's builtin) ?
> 
>  Or, in other more general words: How can I find a package which
>  contains a certain installable file?
> 
>  Thanks a lot in advance for any help!
>  Best regards,
>  mcc
> 
> 
> 
> 

sys-process/time


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04  8:22 [gentoo-user] /usr/bin/time is in what package? meino.cramer
  2010-07-04  9:28 ` justin
@ 2010-07-04  9:53 ` Albert Hopkins
  2010-07-04  9:57 ` Mick
  2010-07-04  9:59 ` Stroller
  3 siblings, 0 replies; 9+ messages in thread
From: Albert Hopkins @ 2010-07-04  9:53 UTC (permalink / raw
  To: gentoo-user

On Sun, 2010-07-04 at 10:22 +0200, meino.cramer@gmx.de wrote:
> Hi,
> 
>  in what package can I find /usr/bin/time (not the shell's builtin) ?
> 
sys-process/time

>  Or, in other more general words: How can I find a package which
>  contains a certain installable file?

In general you can't because, when you think about it, in the Gentoo
world most packages don't contain "installable files".  The files don't
get created until build time, and then the files that are installed
depends variably on USE flags, CFLAGS, architecture, FEATURES, etc. etc.
So the set of installed files created by a package on my system can be
different than the set of files created by the same package on your
system.

But people don't like that answer.  So there is a statistical, though
not always accurate way of finding out:

http://www.portagefilelist.de/




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04  8:22 [gentoo-user] /usr/bin/time is in what package? meino.cramer
  2010-07-04  9:28 ` justin
  2010-07-04  9:53 ` Albert Hopkins
@ 2010-07-04  9:57 ` Mick
  2010-07-04 12:10   ` pk
  2010-07-04  9:59 ` Stroller
  3 siblings, 1 reply; 9+ messages in thread
From: Mick @ 2010-07-04  9:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 449 bytes --]

On Sunday 04 July 2010 09:22:55 meino.cramer@gmx.de wrote:
> Hi,
> 
>  in what package can I find /usr/bin/time (not the shell's builtin) ?
> 
>  Or, in other more general words: How can I find a package which
>  contains a certain installable file?
> 
>  Thanks a lot in advance for any help!

It's part of /bin/busybox I think so running qfile time will not show it up 
and which time won't get you closer either.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04  8:22 [gentoo-user] /usr/bin/time is in what package? meino.cramer
                   ` (2 preceding siblings ...)
  2010-07-04  9:57 ` Mick
@ 2010-07-04  9:59 ` Stroller
  2010-07-04 10:53   ` William Kenworthy
  3 siblings, 1 reply; 9+ messages in thread
From: Stroller @ 2010-07-04  9:59 UTC (permalink / raw
  To: gentoo-user


On 4 Jul 2010, at 09:22, meino.cramer@gmx.de wrote:
> in what package can I find /usr/bin/time (not the shell's builtin) ?

sys-process/time

> Or, in other more general words: How can I find a package which
> contains a certain installable file?

qfile /usr/bin/time

Stroller.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04  9:59 ` Stroller
@ 2010-07-04 10:53   ` William Kenworthy
  0 siblings, 0 replies; 9+ messages in thread
From: William Kenworthy @ 2010-07-04 10:53 UTC (permalink / raw
  To: gentoo-user

On Sun, 2010-07-04 at 10:59 +0100, Stroller wrote:
> On 4 Jul 2010, at 09:22, meino.cramer@gmx.de wrote:
> > in what package can I find /usr/bin/time (not the shell's builtin) ?
> 
> sys-process/time
> 
> > Or, in other more general words: How can I find a package which
> > contains a certain installable file?
> 
> qfile /usr/bin/time
> 
> Stroller.
> 
> 

This only works for files already on your system which is ok if thats
what you want.  If like in this case you are trying to locate a binary
thats not installed - how do you find what package its in?

For me its down to googling and seeing what other distros use and map
that back to a gentoo package as far as I can see.

BillK


-- 
William Kenworthy <billk@iinet.net.au>
Home in Perth!




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04  9:57 ` Mick
@ 2010-07-04 12:10   ` pk
  2010-07-04 12:13     ` Etaoin Shrdlu
  0 siblings, 1 reply; 9+ messages in thread
From: pk @ 2010-07-04 12:10 UTC (permalink / raw
  To: gentoo-user

On 2010-07-04 11:57, Mick wrote:

> It's part of /bin/busybox I think so running qfile time will not show it up 
> and which time won't get you closer either.

I just got curious when the OP posted this so I tried to do a 'which
time' and equery b time but no go... But still I have the 'time' command
available, so I thought it was a bash builtin command, but it isn't
(acc. to the manual)... It's not an alias either. Busybox does contain
the 'time' command but it doesn't seem like there's a hard link called
'time' anywhere in my path, but still I can run 'time'... I'm confused!
Anyone have a good explanation?

Best regards

Peter K



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04 12:10   ` pk
@ 2010-07-04 12:13     ` Etaoin Shrdlu
  2010-07-04 15:27       ` pk
  0 siblings, 1 reply; 9+ messages in thread
From: Etaoin Shrdlu @ 2010-07-04 12:13 UTC (permalink / raw
  To: gentoo-user

On Sun, 04 Jul 2010 14:10:13 +0200
pk <peterk2@coolmail.se> wrote:

> On 2010-07-04 11:57, Mick wrote:
> 
> > It's part of /bin/busybox I think so running qfile time will not
> > show it up and which time won't get you closer either.
> 
> I just got curious when the OP posted this so I tried to do a 'which
> time' and equery b time but no go... But still I have the 'time'
> command available, so I thought it was a bash builtin command, but it
> isn't (acc. to the manual)... It's not an alias either. Busybox does
> contain the 'time' command but it doesn't seem like there's a hard
> link called 'time' anywhere in my path, but still I can run 'time'...
> I'm confused! Anyone have a good explanation?

$ type -a time
time is a shell keyword



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/bin/time is in what package?
  2010-07-04 12:13     ` Etaoin Shrdlu
@ 2010-07-04 15:27       ` pk
  0 siblings, 0 replies; 9+ messages in thread
From: pk @ 2010-07-04 15:27 UTC (permalink / raw
  To: gentoo-user

On 2010-07-04 14:13, Etaoin Shrdlu wrote:

> $ type -a time
> time is a shell keyword

And the world makes sense again... ;-)

Thanks!

Best regards

Peter K



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-04 15:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-04  8:22 [gentoo-user] /usr/bin/time is in what package? meino.cramer
2010-07-04  9:28 ` justin
2010-07-04  9:53 ` Albert Hopkins
2010-07-04  9:57 ` Mick
2010-07-04 12:10   ` pk
2010-07-04 12:13     ` Etaoin Shrdlu
2010-07-04 15:27       ` pk
2010-07-04  9:59 ` Stroller
2010-07-04 10:53   ` William Kenworthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox