linux mint installed packages, filter by date installed

Questions about applications and software
Forum rules
Before you post please read how to get help
dragon-dragon_dragon
Level 2
Level 2
Posts: 66
Joined: Tue Sep 11, 2012 11:09 am

linux mint installed packages, filter by date installed

Postby dragon-dragon_dragon » Tue May 07, 2013 12:38 pm

Is there a way for me to pull up a list of installed packages and sort them by their install date? I've recently been having some system stability problems and I'm wondering if I installed something bizarre which may have sent me down this spiral.

User avatar
xenopeek
Level 23
Level 23
Posts: 19396
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: linux mint installed packages, filter by date installed

Postby xenopeek » Tue May 07, 2013 2:44 pm

Well, perhaps not exactly a match but dpkg keeps a log. I usually query that, or have others query theirs, in case of recent problems.

List installed packages, sorted by date (timestamp at beginning of the line):

Code: Select all

grep " install " /var/log/dpkg.log

Or upgraded packages:

Code: Select all

grep " upgrade " /var/log/dpkg.log
Image

dragon-dragon_dragon
Level 2
Level 2
Posts: 66
Joined: Tue Sep 11, 2012 11:09 am

Re: linux mint installed packages, filter by date installed

Postby dragon-dragon_dragon » Wed May 08, 2013 1:31 pm

Thanks Xenopeek, I just made too aliases so I don't forget the commands. This would be a nice feature to get into the Cinnamon package manager, especially if it could detect whether the hit is currently installed.


Code: Select all

# Linux specific aliases
alias latest-installs='grep " install " /var/log/dpkg.*'
alias latest-upgrades='grep " upgrade " /var/log/dpkg.*'


Return to “Software & Applications”

Who is online

Users browsing this forum: kanichiro and 9 guests