I needed to determine which packages were recently installed on a
CentOS
7 system where
yum is used to install packages. The command
rpm -qa --last
will list all packages that have been installed
in chronological order with the most recently installed packages listed
first, since the --last
option orders the package listing by
install time such that the latest packages are at the top. E.g.:
# rpm -qa --last amarok-utils-2.8.0-19.el7.x86_64 Fri 12 Aug 2016 09:02:34 PM EDT amarok-libs-2.8.0-19.el7.x86_64 Fri 12 Aug 2016 09:02:34 PM EDT amarok-2.8.0-19.el7.x86_64 Fri 12 Aug 2016 09:02:31 PM EDT taglib-extras-1.0.1-8.el7.x86_64 Fri 12 Aug 2016 09:02:17 PM EDT mariadb-embedded-5.5.50-1.el7_2.x86_64 Fri 12 Aug 2016 09:02:17 PM EDT qjson-0.8.1-4.el7.x86_64 Fri 12 Aug 2016 09:02:15 PM EDT kdelibs-webkit-4.14.8-1.el7.x86_64 Fri 12 Aug 2016 09:02:14 PM EDT qtscriptbindings-0.2.0-5.el7.x86_64 Fri 12 Aug 2016 09:02:13 PM EDT qtwebkit-2.3.4-6.el7.x86_64 Fri 12 Aug 2016 09:01:57 PM EDT alpine-2.20-2.el7.x86_64 Mon 08 Aug 2016 10:13:54 PM EDT fuse-sshfs-2.5-1.el7.x86_64 Mon 08 Aug 2016 09:28:26 PM EDT gpg-pubkey-352c64e5-52ae6884 Mon 08 Aug 2016 09:27:13 PM EDT epel-release-7-6.noarch Mon 08 Aug 2016 09:12:51 PM EDT lynx-2.8.8-0.3.dev15.el7.x86_64 Fri 05 Aug 2016 10:28:17 PM EDT telnet-0.17-59.el7.x86_64 Sat 30 Jul 2016 04:34:17 PM EDT thunderbird-45.2-1.el7.centos.x86_64 Sat 30 Jul 2016 04:10:55 PM EDT mutt-1.5.21-26.el7.x86_64 Sat 30 Jul 2016 03:50:58 PM EDT <text snipped> gnu-free-fonts-common-20120503-8.el7.noarch Fri 15 Jul 2016 03:10:39 PM EDT dejavu-fonts-common-2.33-6.el7.noarch Fri 15 Jul 2016 03:10:39 PM EDT libgcc-4.8.5-4.el7.x86_64 Fri 15 Jul 2016 03:10:38 PM EDT fontpackages-filesystem-1.44-8.el7.noarch Fri 15 Jul 2016 03:10:38 PM EDT control-center-filesystem-3.14.5-8.el7.x86_64 Fri 15 Jul 2016 03:10:38 PM EDT #
[ More Info ]