Tag Archives: rpm

List packages by install date

A handy ‘one liner’ that lists all the packages installed on a RedHat system by the install date. $ rpm -qa --qf $'%{INSTALLTIME}\t%{INSTALLTIME:date}\t%{NAME}\n' | sort -n -r -k1 | cut -f2,3 Sun 09 Jun 2019 17:26:04 BST systemd-sysv Sun 09 Jun 2019 17:26:04 BST systemd-libs Sun 09 Jun 2019 17:26:04 BST rsync   :   :   : Thu 02 Nov 2017 12:49:32 GMT bzip2-libs Thu 02 Nov 2017 12:49:13 GMT fontpackages-filesys Thu 02 Nov 2017 12:49:13 GMT basesystem $  This command uses format specifier … Continue reading

Posted in RedHat | Tagged | Leave a comment

Using RPM to find package dependencies

I recently discovered that is it actually rather difficult to determine which packages depend on a particular package using the RedHat Package Manager, and I ended up writing a short script to list all the dependencies for a particular package.

Posted in CentOS, RedHat | Tagged , | Leave a comment