sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)
Source:
http://askubuntu.com/questions/196768/how-to-install-updates-via-command-line