linux mint installed packages, filter by date installed

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dragon-dragon_dragon

linux mint installed packages, filter by date installed

Post by dragon-dragon_dragon »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29596
Joined: Wed Jul 06, 2011 3:58 am

Re: linux mint installed packages, filter by date installed

Post by xenopeek »

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

Re: linux mint installed packages, filter by date installed

Post by dragon-dragon_dragon »

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.*'
Locked

Return to “Software & Applications”