public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to discover what is the package of a given file?
@ 2006-10-25 21:58 Leandro Melo de Sales
  2006-10-25 22:14 ` Vikas Kumar
  0 siblings, 1 reply; 12+ messages in thread
From: Leandro Melo de Sales @ 2006-10-25 21:58 UTC (permalink / raw
  To: gentoo-user

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

Hi list,

  How to discover what is the package of a given file? Should I use emerge
command?

Leandro

[-- Attachment #2: Type: text/html, Size: 140 bytes --]

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

* Re: [gentoo-user] How to discover what is the package of a given file?
  2006-10-25 21:58 [gentoo-user] How to discover what is the package of a given file? Leandro Melo de Sales
@ 2006-10-25 22:14 ` Vikas Kumar
  2006-10-25 22:35   ` Justin Findlay
  2006-10-26  1:39   ` [gentoo-user] " Leandro Melo de Sales
  0 siblings, 2 replies; 12+ messages in thread
From: Vikas Kumar @ 2006-10-25 22:14 UTC (permalink / raw
  To: gentoo-user

On 18:58 Wed 25 Oct     , Leandro Melo de Sales wrote:
>    Hi list,
> 
>      How to discover what is the package of a given file? Should I use emerge
>    command?
> 
>    Leandro
if i've understood your question right then may be,

# equery belongs <file>

equery comes with gentoolkit.

# emerge gentoolkit

-- 
New crypt.  See /usr/news/crypt.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] How to discover what is the package of a given file?
  2006-10-25 22:14 ` Vikas Kumar
@ 2006-10-25 22:35   ` Justin Findlay
  2006-10-26  1:03     ` Neil Hodges
  2006-10-26  1:39   ` [gentoo-user] " Leandro Melo de Sales
  1 sibling, 1 reply; 12+ messages in thread
From: Justin Findlay @ 2006-10-25 22:35 UTC (permalink / raw
  To: gentoo-user

On AD 2006 October 26 Thursday 03:44:29 AM +0530, Vikas Kumar wrote:
> # equery belongs <file>
> 
> equery comes with gentoolkit.
> 
> # emerge gentoolkit

You can alternatively try qfile from portage-utils.

# emerge portage-utils
$ qfile $(which file)
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] How to discover what is the package of a given file?
  2006-10-25 22:35   ` Justin Findlay
@ 2006-10-26  1:03     ` Neil Hodges
  2006-10-26 12:19       ` [gentoo-user] " Harm Geerts
  0 siblings, 1 reply; 12+ messages in thread
From: Neil Hodges @ 2006-10-26  1:03 UTC (permalink / raw
  To: gentoo-user

Hello,

Isn't qfile deprecated?

- Neil
On 16:35 Wed 25 Oct     , Justin Findlay wrote:
> On AD 2006 October 26 Thursday 03:44:29 AM +0530, Vikas Kumar wrote:
> > # equery belongs <file>
> > 
> > equery comes with gentoolkit.
> > 
> > # emerge gentoolkit
> 
> You can alternatively try qfile from portage-utils.
> 
> # emerge portage-utils
> $ qfile $(which file)
> -- 
> gentoo-user@gentoo.org mailing list

-- 
 /  /  ----- |--|--|
/-//-/   |\    -|-    ---
 /  /    |    |-|-|  -----
/  /     |    \- \ \

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] How to discover what is the package of a given file?
  2006-10-25 22:14 ` Vikas Kumar
  2006-10-25 22:35   ` Justin Findlay
@ 2006-10-26  1:39   ` Leandro Melo de Sales
  2006-10-29 22:50     ` [gentoo-user] " lanjelot
  1 sibling, 1 reply; 12+ messages in thread
From: Leandro Melo de Sales @ 2006-10-26  1:39 UTC (permalink / raw
  To: gentoo-user

Thank you Vikas and Justin. It works for me.

Leandro

26 Oct 2006 03:44:29 +0530, Vikas Kumar <Vikas.Kumar@iitkgp.ac.in>:
> On 18:58 Wed 25 Oct     , Leandro Melo de Sales wrote:
> >    Hi list,
> >
> >      How to discover what is the package of a given file? Should I use emerge
> >    command?
> >
> >    Leandro
> if i've understood your question right then may be,
>
> # equery belongs <file>
>
> equery comes with gentoolkit.
>
> # emerge gentoolkit
>
> --
> New crypt.  See /usr/news/crypt.
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG
083 33101404 (extension 208)

"O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana."

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user] Re: How to discover what is the package of a given file?
  2006-10-26  1:03     ` Neil Hodges
@ 2006-10-26 12:19       ` Harm Geerts
  0 siblings, 0 replies; 12+ messages in thread
From: Harm Geerts @ 2006-10-26 12:19 UTC (permalink / raw
  To: gentoo-user

On Thursday 26 October 2006 03:03, Neil Hodges wrote:
> On 16:35 Wed 25 Oct     , Justin Findlay wrote:
> > On AD 2006 October 26 Thursday 03:44:29 AM +0530, Vikas Kumar wrote:
> > > # equery belongs <file>
> > >
> > > equery comes with gentoolkit.
> > >
> > > # emerge gentoolkit
> >
> > You can alternatively try qfile from portage-utils.
> >
> > # emerge portage-utils
> > $ qfile $(which file)
>
> Isn't qfile deprecated?

It's not.

qpkg from gentoolkit is deprecated (and is installed outside $PATH)

portage-utils also has a qpkg which is not deprecated (and installed in $PATH)

FYI: On gentoo's mailing lists bottom-posting is prefered.
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: How to discover what is the package of a given file?
  2006-10-26  1:39   ` [gentoo-user] " Leandro Melo de Sales
@ 2006-10-29 22:50     ` lanjelot
  2006-10-30 20:02       ` Bo Ørsted Andresen
                         ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: lanjelot @ 2006-10-29 22:50 UTC (permalink / raw
  To: gentoo-user

but what if <package> isn't merged yet ?

expl:
how do i find out what package i need to emerge so i can use nslookup.

it's something i've been wondering for a while and i just thought it 
could fit in this thread even though the poster got the answer to his 
question.

thanks all

Leandro Melo de Sales wrote:
> Thank you Vikas and Justin. It works for me.
> 
> Leandro
> 
> 26 Oct 2006 03:44:29 +0530, Vikas Kumar <Vikas.Kumar@iitkgp.ac.in>:
>> On 18:58 Wed 25 Oct     , Leandro Melo de Sales wrote:
>> >    Hi list,
>> >
>> >      How to discover what is the package of a given file? Should I 
>> use emerge
>> >    command?
>> >
>> >    Leandro
>> if i've understood your question right then may be,
>>
>> # equery belongs <file>
>>
>> equery comes with gentoolkit.
>>
>> # emerge gentoolkit
>>
>> -- 
>> New crypt.  See /usr/news/crypt.
>>
>> -- 
>> gentoo-user@gentoo.org mailing list
>>
>>
> 
> 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: How to discover what is the package of a given file?
  2006-10-29 22:50     ` [gentoo-user] " lanjelot
@ 2006-10-30 20:02       ` Bo Ørsted Andresen
  2006-10-30 20:10       ` Neil Bothwick
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-30 20:02 UTC (permalink / raw
  To: gentoo-user

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

On Sunday 29 October 2006 23:50, lanjelot wrote:
> but what if <package> isn't merged yet ?
>
> expl:
> how do i find out what package i need to emerge so i can use nslookup.
>
> it's something i've been wondering for a while and i just thought it
> could fit in this thread even though the poster got the answer to his
> question.

In this case it's in the description and hence easy to find (emerge -S would 
work too but that's painfully slow so use app-portage/eix instead...):

# eix -S nslookup
[I] net-dns/bind-tools
     Available versions:  9.2.5 9.2.6 9.2.6-r3 9.3.2 9.3.2-r3
     Installed:           9.3.2-r3[17:04:32 30/10/06][-idn -ipv6]
     Homepage:            http://www.isc.org/products/BIND/bind9.html
     Description:         bind tools: dig, nslookup, and host

But otherwise the only option that I know of (short of asking someone who 
knows) is:

http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl?filter=nslookup&action=search_file&limit=500

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user]  Re: How to discover what is the package of a given file?
  2006-10-29 22:50     ` [gentoo-user] " lanjelot
  2006-10-30 20:02       ` Bo Ørsted Andresen
@ 2006-10-30 20:10       ` Neil Bothwick
  2006-10-30 20:12       ` kashani
  2006-10-30 20:28       ` Etaoin Shrdlu
  3 siblings, 0 replies; 12+ messages in thread
From: Neil Bothwick @ 2006-10-30 20:10 UTC (permalink / raw
  To: gentoo-user

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

On Sun, 29 Oct 2006 23:50:30 +0100, lanjelot wrote:

> but what if <package> isn't merged yet

http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl?action=home


-- 
Neil Bothwick

Hard work has a future payoff. Laziness pays off NOW!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user]  Re: How to discover what is the package of a given file?
  2006-10-29 22:50     ` [gentoo-user] " lanjelot
  2006-10-30 20:02       ` Bo Ørsted Andresen
  2006-10-30 20:10       ` Neil Bothwick
@ 2006-10-30 20:12       ` kashani
  2006-10-30 23:33         ` lanjelot
  2006-10-30 20:28       ` Etaoin Shrdlu
  3 siblings, 1 reply; 12+ messages in thread
From: kashani @ 2006-10-30 20:12 UTC (permalink / raw
  To: gentoo-user

lanjelot wrote:
> but what if <package> isn't merged yet ?
> 
> expl:
> how do i find out what package i need to emerge so i can use nslookup.
> 
> it's something i've been wondering for a while and i just thought it 
> could fit in this thread even though the poster got the answer to his 
> question.
> 
> thanks all

It's not easy under any system. My favorite was trying to figure out how 
to get uuencode stuff under Redhat. It's the sharutils package in case 
you were wondering.

Google and the Gentoo forums are your friends when trying to find what 
installs what though most of it fairly straightforward. Gentoo does have 
some unique issues because the Gentoo "system" is fairly stripped down 
so things like dig, telnet, or ftp are missing until you add them. 
That's much of the appeal to many people.

emerge bind-tools to get nslookup, dig, host, etc.

kashani
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: How to discover what is the package of a given file?
  2006-10-29 22:50     ` [gentoo-user] " lanjelot
                         ` (2 preceding siblings ...)
  2006-10-30 20:12       ` kashani
@ 2006-10-30 20:28       ` Etaoin Shrdlu
  3 siblings, 0 replies; 12+ messages in thread
From: Etaoin Shrdlu @ 2006-10-30 20:28 UTC (permalink / raw
  To: gentoo-user

On Sunday 29 October 2006 23:50, lanjelot wrote:

> but what if <package> isn't merged yet ?

You might try
http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: How to discover what is the package of a given   file?
  2006-10-30 20:12       ` kashani
@ 2006-10-30 23:33         ` lanjelot
  0 siblings, 0 replies; 12+ messages in thread
From: lanjelot @ 2006-10-30 23:33 UTC (permalink / raw
  To: gentoo-user

i'm amazed by how reactive you people were, eix -S was actually what i 
was looking for for so long.

thx heaps!

kashani wrote:
> lanjelot wrote:
>> but what if <package> isn't merged yet ?
>>
>> expl:
>> how do i find out what package i need to emerge so i can use nslookup.
>>
>> it's something i've been wondering for a while and i just thought it 
>> could fit in this thread even though the poster got the answer to his 
>> question.
>>
>> thanks all
> 
> It's not easy under any system. My favorite was trying to figure out how 
> to get uuencode stuff under Redhat. It's the sharutils package in case 
> you were wondering.
> 
> Google and the Gentoo forums are your friends when trying to find what 
> installs what though most of it fairly straightforward. Gentoo does have 
> some unique issues because the Gentoo "system" is fairly stripped down 
> so things like dig, telnet, or ftp are missing until you add them. 
> That's much of the appeal to many people.
> 
> emerge bind-tools to get nslookup, dig, host, etc.
> 
> kashani

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-10-31  1:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25 21:58 [gentoo-user] How to discover what is the package of a given file? Leandro Melo de Sales
2006-10-25 22:14 ` Vikas Kumar
2006-10-25 22:35   ` Justin Findlay
2006-10-26  1:03     ` Neil Hodges
2006-10-26 12:19       ` [gentoo-user] " Harm Geerts
2006-10-26  1:39   ` [gentoo-user] " Leandro Melo de Sales
2006-10-29 22:50     ` [gentoo-user] " lanjelot
2006-10-30 20:02       ` Bo Ørsted Andresen
2006-10-30 20:10       ` Neil Bothwick
2006-10-30 20:12       ` kashani
2006-10-30 23:33         ` lanjelot
2006-10-30 20:28       ` Etaoin Shrdlu

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