View previous topic :: View next topic |
Author |
Message |
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Thu Jul 04, 2002 9:24 am Post subject: how to list files belonging to a package? |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 04, 2002 4:09 pm Post subject: Re: how to list files belonging to a package? |
|
|
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 |
|
|
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Jul 05, 2002 7:05 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:14 pm Post subject: |
|
|
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).
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sun Jul 07, 2002 1:34 pm Post subject: |
|
|
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 |
|
|
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Sun Jul 07, 2002 1:47 pm Post subject: |
|
|
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 |
|
|
|