Computer Tips - How can I make all installed packages up-to-date?

Date: 2015may29 Q. How can I make all installed packages up-to-date? A. RedHat/CentOS
yum update yum -y update (Say "yes" to everything - run unattended)
I have found the GUI (Software Update) doesn't work. Maybe it needs to checking occasionally. Fedora
dnf update dnf -y update (Say "yes" to everything)
Ubuntu
# First update sudo apt-get update # Then upgrade sudo apt-get upgrade sudo apt-get -y upgrade (Say "yes" to everything)
If you prefer a GUI, you can search for "Updater" and click on "Software Updater" FreeBSD
pkg upgrade env ASSUME_ALWAYS_YES=YES pkg upgrade (Says "yes" to everything)
FreeBSD on two lines (saying "yes" to everything)
export ASSUME_ALWAYS_YES=YES pkg upgrade
Do not use `pkg update` which just updates the repositories.