Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge blasphemy
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
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Wed Feb 05, 2003 1:50 am    Post subject: emerge blasphemy Reply with quote

I know this may sound blasphemous, but I am using gentoo for the fist time and finding myself missing some package management features from rpm. I decided to ask here because I'm sure that there is an answer.

I am looking for emerge equivalents of queries on packages. The closest I have found is emerge -s ^somethign$ and that tells me the version available, which one is installed (if any) and a breif description. That's great, but there are some other useful peices of information that I would like, such as:

- a list of all of the files in a particular package
- a list of all installed packages
- being able to ask to what package a particular file belongs
as in rpm -qf /usr/lib/librandomlib.so.4

That's all I can think of for now. So is this information available somewhere.

Thanks for the help.
Back to top
View user's profile Send private message
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Wed Feb 05, 2003 2:01 am    Post subject: Reply with quote

And while someone might be answering, can anyone tell me how to pass --options to the configure script when emerge is compiling something.

For example, I need to add --enable-gui to mplayer.

Anyone, anyone..... Beuller?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Feb 05, 2003 2:02 am    Post subject: Reply with quote

emerge epm

it has a rpm-like sintax. Gentoolkit has also a qpkg script.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Feb 05, 2003 2:03 am    Post subject: Reply with quote

For this, take a look at the documentation for USE flags. For mplayer, I think it needs USE="gtk" for a gui. Be sure you emerged gtk before.

drjimmy42 wrote:
And while someone might be answering, can anyone tell me how to pass --options to the configure script when emerge is compiling something.

For example, I need to add --enable-gui to mplayer.

Anyone, anyone..... Beuller?

_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Feb 05, 2003 2:23 am    Post subject: Re: emerge blasphemy Reply with quote

drjimmy42 wrote:
- a list of all installed packages
- being able to ask to what package a particular file belongs
as in rpm -qf /usr/lib/librandomlib.so.4
Not searching for the answer blasphemy ;)


GF3: How do I get a list of installed packages?

A search for "particular package belongs" turned up:
How can I tell what package provides a particular file?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Wed Feb 05, 2003 3:04 am    Post subject: Reply with quote

absolutely perfect. qpkg is exactly what I wanted and epm is like a stepping stone from rpm syntax. This distro absolutely rocks. Nice job everyone.

Thanks for the USE tip too.
Back to top
View user's profile Send private message
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Wed Feb 05, 2003 3:36 am    Post subject: Reply with quote

I'm a dope. I get it. I'll search next time
Back to top
View user's profile Send private message
paul138
Guru
Guru


Joined: 09 Aug 2002
Posts: 370
Location: Ottawa, ON

PostPosted: Wed Feb 05, 2003 4:37 am    Post subject: Reply with quote

And if you dont like messing around with the use flags too much, emerge 'ufed' and give it a run.

Personally, I'm happy on my vacation from RPM :P
_________________
Talk is cheap because supply always exceeds demand.
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