2

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

user784637
  • 1,482
  • 7
  • 35
  • 51

1 Answers1

4

Red Hat based distro:

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

Debian based distro:

$ ls -lt /var/lib/dpkg/info/<pkg>.list
quanta
  • 50,327
  • 19
  • 152
  • 213