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,542
  • 7
  • 35
  • 52

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
  • 51,413
  • 19
  • 159
  • 217