Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage query?
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
cf25
Apprentice
Apprentice


Joined: 20 Jun 2002
Posts: 158

PostPosted: Tue Jul 09, 2002 8:27 pm    Post subject: portage query? Reply with quote

i've searched the forums and gawked at the documentation but i cant find the answer to my question. is there a way to do something like

emerge [query] {world}

to see what ebuilds are installed? i am wanting to see how much stuff i have installed so i know what i can unmerge. thanx.
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


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

PostPosted: Tue Jul 09, 2002 8:35 pm    Post subject: Reply with quote

emerge epm then type:

Code:
epm -qa


That should give you a list of all packages installed in your system. Or, you could just look in /var/db/pkg/

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Jul 09, 2002 8:55 pm    Post subject: Reply with quote

Or, do:
Code:

/usr/lib/portage/bin/pkglist

klieber wrote:

...Or, you could just look in /var/db/pkg/

--kurt
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


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

PostPosted: Tue Jul 09, 2002 9:00 pm    Post subject: Reply with quote

[quote="Naan Yaar"]
Code:

/usr/lib/portage/bin/pkglist

Hey -- that's pretty nifty. I never knew about that little feature. Thanks!

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Jul 09, 2002 9:12 pm    Post subject: Reply with quote

I just hope this "undocumented API" does not vanish in a future version of portage :)
klieber wrote:
...
Code:

/usr/lib/portage/bin/pkglist

Hey -- that's pretty nifty. I never knew about that little feature. Thanks!

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