linux mint installed packages, filter by date installed
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
linux mint installed packages, filter by date installed
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: linux mint installed packages, filter by date installed
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):
Or upgraded packages:
List installed packages, sorted by date (timestamp at beginning of the line):
Code: Select all
grep " install " /var/log/dpkg.log
Code: Select all
grep " upgrade " /var/log/dpkg.log
Re: linux mint installed packages, filter by date installed
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.*'