Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] How to find out what the last n packages installed?
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
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 605

PostPosted: Wed Mar 13, 2013 8:45 pm    Post subject: [solved] How to find out what the last n packages installed? Reply with quote

Hi,
I wasn to find out what the last 16 packages I installed were, and was wondering if there was a quick way of doing this? I installed grip on a xfce machine, and it's pulled in a lot of gnome dependencies I want to expunge.

Thanks,
Jim
_________________
Intel 2.2 Core 2 Duo, 4Gb Ram, 320GB Sata Drive and Nvidia card.


Last edited by BrummieJim on Wed Mar 13, 2013 8:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31342
Location: 56N 3W

PostPosted: Wed Mar 13, 2013 8:54 pm    Post subject: Reply with quote

BrummieJim,

Look at the end of /var/log/emerge.log

You will find tail, grep and | useful.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 605

PostPosted: Wed Mar 13, 2013 8:55 pm    Post subject: Reply with quote

Thanks, I'd tried looking in the world file, that didn't give dates.
Much appreciated,
Jim
_________________
Intel 2.2 Core 2 Duo, 4Gb Ram, 320GB Sata Drive and Nvidia card.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3907

PostPosted: Wed Mar 13, 2013 9:58 pm    Post subject: Reply with quote

genlop will tell you dates.

look here for a kinda on topic subject : https://forums.gentoo.org/viewtopic-t-842667-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31342
Location: 56N 3W

PostPosted: Wed Mar 13, 2013 10:04 pm    Post subject: Reply with quote

BrummieJim,

The world files only tells you packages you asked to be installed. It does not include their dependancies.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1538

PostPosted: Thu Mar 14, 2013 10:18 am    Post subject: Re: [solved] How to find out what the last n packages instal Reply with quote

BrummieJim wrote:
I wasn to find out what the last 16 packages I installed were, and was wondering if there was a quick way of doing this?

BrummieJim ... install app-portage/portage-utils and use 'qlop' (emerge log analyzer).

Code:
# qlop -Cl | tail -16

HTH & best ... khay
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