Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
anyone using epm?
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
weasel
n00b
n00b


Joined: 27 Apr 2002
Posts: 17
Location: New York

PostPosted: Sun Apr 28, 2002 8:44 pm    Post subject: anyone using epm? Reply with quote

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
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Apr 28, 2002 8:52 pm    Post subject: Re: anyone using "epm" Reply with quote

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
View user's profile Send private message
weasel
n00b
n00b


Joined: 27 Apr 2002
Posts: 17
Location: New York

PostPosted: Sun Apr 28, 2002 11:46 pm    Post subject: Re: anyone using "epm" Reply with quote

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.


klieber wrote:

Try the Portage User Guide and the Portage Manual


Thanks, I will take a look.

- W e a s e l
Back to top
View user's profile Send private message
zandor
n00b
n00b


Joined: 19 Apr 2002
Posts: 7

PostPosted: Mon Apr 29, 2002 2:28 am    Post subject: Reply with quote

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
View user's profile Send private message
weasel
n00b
n00b


Joined: 27 Apr 2002
Posts: 17
Location: New York

PostPosted: Mon Apr 29, 2002 4:18 am    Post subject: Reply with quote

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
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