CentOS: List the installed RPMs by date of installation/update?
To list all packages and their install dates, 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
.)