View previous topic :: View next topic |
Author |
Message |
HuskyDog Tux's lil' helper
Joined: 20 Feb 2003 Posts: 77 Location: Wiltshire, UK
|
Posted: Thu Mar 06, 2003 5:28 pm Post subject: RPM - Portage equivalents |
|
|
Hi,
Having just come from an RPM based distro, I am still finding myself a little lost in Portage land. What I need is a quick guide to what Portage commands I need for tasks I used to do every day with RPM. Specifically:
How do I get a simple list of what packages are installed (rpm -qa)?
How do I find out which files belong to a particular package (rpm -ql package_name)?
How do I find out which package a given file belongs to (rpm -qf file_name)?
These 3 would be enough to keep me going for a while.
Thanks,
HuskyDog |
|
Back to top |
|
|
avenj Retired Dev
Joined: 11 Oct 2002 Posts: 495 Location: New Hampshire
|
Posted: Thu Mar 06, 2003 5:44 pm Post subject: Re: RPM - Portage equivalents |
|
|
First, for all of these, emerge gentoolkit to get the tools you need. You may also want to emerge epm (epm is a RPM-like management tool).
Quote: |
Having just come from an RPM based distro, I am still finding myself a little lost in Portage land. What I need is a quick guide to what Portage commands I need for tasks I used to do every day with RPM. Specifically:
How do I get a simple list of what packages are installed (rpm -qa)?
|
With gentoolkit's qpkg:
qpkg -I -v
With epm:
epm -qa
Quote: |
How do I find out which files belong to a particular package (rpm -ql package_name)?
|
qpkg -l packagename
Quote: |
How do I find out which package a given file belongs to (rpm -qf file_name)?
|
qpkg -f /path/to/file |
|
Back to top |
|
|
|
|
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
|
|