Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GF3: How do I get a list of installed packages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20540

PostPosted: Thu Jan 16, 2003 10:18 pm    Post subject: GF3: How do I get a list of installed packages? Reply with quote

Navigation: [Gentoo Fundamentals] [Table of Contents]


Q: How do I get a list of installed packages?

A: The qpkg tool comes in handy for this task. You may need to emerge gentoolkit to use it.
Code:
qpkg -I
This will show a list of installed packages, but will not differentiate versions.
Example:
Code:
# qpkg -I glib
dev-libs/glib *
gnome-extra/glibwww *
sys-libs/glibc *

Code:
qpkg -I -v
This will show a list of installed packages in verbose format. Verbose will show multiple versions of the same package.
Example:
Code:
# qpkg -I -v glib
sys-libs/glibc-2.2.5-r7 *
dev-libs/glib-1.2.10-r4 *
dev-libs/glib-2.0.7 *
gnome-extra/glibwww-0.2-r2 *


Also see: man qpkg


Post comments on this FAQ to [FAQF] GF3: How do I get a list of installed packages?.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Sun Jan 09, 2005 8:10 pm    Post subject: Reply with quote

Qpkg is deprecated in favour of equery, which is also included in app-portage/gentoolkit. The equivalent of qpkg -I -v is
Code:
equery list

See man equery, equery --help and equery list --help for more information.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions 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