How to update and upgrade Ubuntu Server?

ubuntu

#1

How to update and upgrade Ubuntu Server? using command line


#2

Ubuntu and Debian use .deb type of file types they use for package management.
You can update Ubuntun or any Debian based linux using apt-get: Command line tool.

  1. Open up a terminal window.
  2. Issue the command sudo apt-get upgrade.
  3. Enter your user’s password (if you didn’t login as root)
  4. To accept all updates click the ‘y’ key (no quotes) and hit Enter.

sudo apt-get update
sudo apt-get upgrade