View previous topic :: View next topic |
Author |
Message |
weasel n00b
Joined: 27 Apr 2002 Posts: 17 Location: New York
|
Posted: Sun Apr 28, 2002 8:44 pm Post subject: anyone using epm? |
|
|
I am trying to use epm, but I can't seem to figure out the syntax.
I can query packages using the "-q" flag, but I was wondering if anyone knew where there were any docs on it so I could find out more.
ex:
Code: |
# epm -q apache
apache-1.3.24-r1
|
Also, does anyone know if there is any support for package querying in emerge itself? I know you can specify a "-s" flag to search through the portage tree, but that does not give you any info about what you have installed afaik.
Thanks,
- W e a s e l |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Apr 28, 2002 8:52 pm Post subject: Re: anyone using "epm" |
|
|
weasel wrote: | I can query packages using the "-q" flag, but I was wondering if anyone knew where there were any docs on it so I could find out more.
|
I don't use epm, but is there something wrong with the man pages? (man epm)
weasel wrote: | Also, does anyone know if there is any support for package querying in emerge itself? |
Try the Portage User Guide and the Portage Manual _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
weasel n00b
Joined: 27 Apr 2002 Posts: 17 Location: New York
|
Posted: Sun Apr 28, 2002 11:46 pm Post subject: Re: anyone using "epm" |
|
|
klieber wrote: |
I don't use epm, but is there something wrong with the man pages? (man epm)
|
Yeah, apparently they don't exist. When I do a `man epm` I don't get anything back.
Thanks, I will take a look.
- W e a s e l |
|
Back to top |
|
|
zandor n00b
Joined: 19 Apr 2002 Posts: 7
|
Posted: Mon Apr 29, 2002 2:28 am Post subject: |
|
|
Some usefull rpm/epm queries are
Code: |
zandor root # epm -qa |more
linux-sources-2.4.18
linux-headers-2.4.19-r1
...
zandor root # epm -ql apache |more
/usr/bin/checkgid
/usr/bin/htpasswd
/usr/bin/htdigest
...
|
The first lists all packages installed on your system and the second lists all the files that were installed for the package. Also if you want to find out what package a certain file belongs to you can do:
Code: | zandor root # epm -qf /usr/sbin/lsof
lsof-4.60-r1 |
You may want to read the man page for rpm if you happen to have it installed.
-Zandor |
|
Back to top |
|
|
weasel n00b
Joined: 27 Apr 2002 Posts: 17 Location: New York
|
Posted: Mon Apr 29, 2002 4:18 am Post subject: |
|
|
Cool, that works. Thanks. I should have just read up on the rpm style queries to begin with.
Thanks again,
W e a s e l |
|
Back to top |
|
|
|