Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rpm --> emerge queries ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
glenc
n00b
n00b


Joined: 24 Jun 2002
Posts: 13
Location: Syd, Oz

PostPosted: Mon Jun 24, 2002 2:59 pm    Post subject: rpm --> emerge queries ... Reply with quote

Hi,

My RH partition corrupted itself to death last night and I took the opportunity to try Gentoo, and what a happy mistake!

Just a couple of queries though. I'm an RH user for over 2 years, and I'm pretty used to commandline rpm ... I can't figure out the emerge equivalents of a couple of commands:

1. File --> package reverse-lookup. In rpm, you could rpm -qf /bin/ls and it would tell you which package owned /bin/ls ... is there an emerge equiv?

2. Package --> file list. In rpm, you could rpm -ql galeon and it would tell you every file that belongs to the galeon package .. again, is there an emerge equiv?

3. Info: I know I can do a `emerge search galeon` and it will give me the galeon info, but it will also give info for everything else containing the substring 'galeon' and it also takes ages because it searches the entire portage tree. Is there a specific package query command in emerge?

Thanks, and I look forward to a long future in the gentoo community :)
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jun 24, 2002 3:21 pm    Post subject: Reply with quote

Try:

Code:
emerge epm


And I think you'll find it very familiar. :)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Jun 24, 2002 3:33 pm    Post subject: Reply with quote

Isn't epm part of gentoolkit?
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
glenc
n00b
n00b


Joined: 24 Jun 2002
Posts: 13
Location: Syd, Oz

PostPosted: Mon Jun 24, 2002 4:08 pm    Post subject: Reply with quote

klieber wrote:

And I think you'll find it very familiar. :)


Home again home again jiggity-jig! :D
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jun 24, 2002 4:18 pm    Post subject: Reply with quote

fghellar wrote:
Isn't epm part of gentoolkit?


May have been in the past. Not any more.

Code:
root@M3 etc # emerge -s epm
[ Results for search key : epm ]
[ Applications found : 2 ]

*  net-mail/grepmail
      Latest version Available: 4.70
      Latest version Installed: [ Not Installed ]
      Homepage: http://grepmail.sourceforge.net/
      Description: Search normal or compressed mailbox using a regular
      expression or dates.

*  sys-apps/epm
      Latest version Available: 0.7
      Latest version Installed: [ Not Installed ]
      Homepage: http://www.gentoo.org/~agriffis/epm/
      Description:
      rpm workalike for Gentoo Linux


--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Jun 24, 2002 4:52 pm    Post subject: Reply with quote

klieber wrote:
May have been in the past. Not any more.

Hmm...

From the gentoolkit ebuild:
Code:
src_install () {
   (...)
   dosbin ${FILESDIR}/scripts/epm
   (...)
}


And from the epm ebuild:
Code:
src_install () {
   dobin epm

}

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jun 24, 2002 4:57 pm    Post subject: Reply with quote

OK -- looks like they're included in both locations, then, 'cause epm is definitely a standalone package. That's weird.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum