Is there a way to determine the date a package was installed or updated? What's the proper syntax for both rpm and dpkg?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

Red Hat based distro:

$ rpm -q --last <pkg>
$ rpm -qi <pkg>

Debian based distro:

$ ls -lt /var/lib/dpkg/info/<pkg>.list
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.