Comparing Installed vs Update Package Versions on CentOS 7 & 8
When updating CentOS it can be very useful as a sysadmin to compare the incoming update package versions against the currently installed version. However this isn't an overly easy task as the installed version numbers are not printed out in the resulting dnf/yum update summary table.
Updates coming in can be seen in the summary table by running
dnf update
However a safer command (as you have to rememeber to cancel the command) is: