Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Listing all installed packages in installed order
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jhood
n00b
n00b


Joined: 18 Jul 2002
Posts: 3

PostPosted: Mon Jul 29, 2002 11:30 am    Post subject: Listing all installed packages in installed order Reply with quote

I have been trying to figure out if there is a way to list all of the installed packages, in then order that they were installed... I mostly want this so that I can easily see the dependancy tree of packages like gnome...

Thanks in advance...

JH
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 29, 2002 11:43 am    Post subject: Reply with quote

I am sure there are other ways to do this, but you could do:
Code:

ls -lrt /var/db/pkg/*/*/CONTENTS

to see the order in which packages have been installed.

Also note that:
Code:

emerge -pe <package_name>

will give you all the dependencies of the package.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 557
Location: USA

PostPosted: Mon Jul 29, 2002 12:43 pm    Post subject: Reply with quote

Code:
qpkg -fp .
will return a list of all packages installed, although in in the order they were installed.
If you want a list of dependencies for a particular package, try
Code:
qpkg -q <package>

qpkg is part of the gentoolkit package.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 29, 2002 12:51 pm    Post subject: Reply with quote

Code:

qpkg -I

should do it too.
nitro322 wrote:
Code:
qpkg -fp .
will return a list of all packages installed, although in in the order they were installed.
...


Also, "qpkg -q" returns "reverse" dependencies, i.e., packages that depend on the queried package. epm -pe returns the "forward" dependencies, i.e., packages that complete dependencies for the queries package.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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