Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to list files belonging to a package?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Thu Jul 04, 2002 9:24 am    Post subject: how to list files belonging to a package? Reply with quote

Hi guys,

Just got my Gentoo system up and running.. it's sweet and a fabulous piece of work - I MUST THANK THE DEVELOPERS !

I'm used to deb and rpm package handling - and I often use a function that shows me the list of files belonging to a certain package. with rpm I would do rpm -ql <packagename>.

How do I do this with portage? It must know, since it can unemerge a package.
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Thu Jul 04, 2002 4:09 pm    Post subject: Re: how to list files belonging to a package? Reply with quote

You need to first emerge gentoolkit. Then you can do one of the following:
Code:

epm -ql <package_name> #list files in package
epm -qf <file_name> # list package a file belongs to
epm -qa # list all installed packages
qpkg -l <package_name> #list files in package


Klavs wrote:
Hi guys,

Just got my Gentoo system up and running.. it's sweet and a fabulous piece of work - I MUST THANK THE DEVELOPERS !

I'm used to deb and rpm package handling - and I often use a function that shows me the list of files belonging to a certain package. with rpm I would do rpm -ql <packagename>.

How do I do this with portage? It must know, since it can unemerge a package.
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Fri Jul 05, 2002 7:05 am    Post subject: Reply with quote

Great. I like that they took the -q options that RPM uses - makes it easier to remember, when you already know RPM :-)

Now I only need to find out, if emerge can tell, if any packages depend on it being installed - so I can tell if I can safely uninstall it - or upgrade it without troubles.
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:14 pm    Post subject: Reply with quote

Klavs wrote:
Now I only need to find out, if emerge can tell, if any packages depend on it being installed - so I can tell if I can safely uninstall it - or upgrade it without troubles.


Right, reverse dependency tracking is a big feature that has been on the list of things to-do for quite some time. We're expecting it Real Soon Now (TM). :D

It's a big task, but the developers know that it needs to get done. Some were hoping for it to make it into Portage 2, but it's a little late for that...
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Jul 07, 2002 1:34 pm    Post subject: Reply with quote

You may find this useful:
https://forums.gentoo.org/viewtopic.php?t=7283

Klavs wrote:
Great. I like that they took the -q options that RPM uses - makes it easier to remember, when you already know RPM :-)

Now I only need to find out, if emerge can tell, if any packages depend on it being installed - so I can tell if I can safely uninstall it - or upgrade it without troubles.
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Sun Jul 07, 2002 1:47 pm    Post subject: Reply with quote

Thankyou.

Looking forward to it being part of the portage DB - to speed things up :-)
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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