Last active
August 9, 2017 02:50
-
-
Save davidwalter0/fc0d0381e1e6b53dccb6c171adf94f7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rpm -qa --qf '%{INSTALLTIME} (%{INSTALLTIME:date}): %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | |
To list all packages, sorted by install date, latest first: | |
rpm -qa --last | |
This should work on any RPM based machine: | |
rpm -qa --qf '%{INSTALLTIME} (%{INSTALLTIME:date}): %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -n | |
(To get a list of all possible tags, use rpm --querytags.) | |
https://unix.stackexchange.com/questions/2291/centos-list-the-installed-rpms-by-date-of-installation-update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment