Quick guide for updating Linux software

This post provides a quick method of updating the system across various Linux systems.

Ubuntu and Debian

Type the following apt-get commands in order to check and update the software:

sudo apt-get clean
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo init 6

RHEL and CentOS

The method for RHEL and Centos is similar to Ubuntu, except we use the yum command:

yum clean all
yum update
yum reboot