One of our regular reader asks:
How do I update and patch system under Ubuntu Linux? How do I update desktop and server edition software?
Updating software under Ubuntu Linux is pretty easy. There are two ways to update software as follows:
Method # 1: Ubuntu Linux Software update using command line tools
apt-get is the command-line tool for handling packages, updating package and installing patches under Ubuntu Linux. All you have to do is type the following two command to update all installed software to latest version.
Open terminal and type the following two commands:
$ sudo apt-get update
$ sudo apt-get upgrade
Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-headers-generic linux-image-generic openssh-client openssh-server ssl-cert The following packages will be upgraded: ca-certificates cupsys cupsys-bsd cupsys-client cupsys-common evolution evolution-common evolution-plugins gstreamer0.10-esd gstreamer0.10-plugins-good kdelibs-data kdelibs4c2a libcupsimage2 libcupsys2 libgnutls13 libhsqldb-java libpq5 libsmbclient libsmbclient-dev libspeex-dev libspeex1 libssl0.9.8 linux-image linux-libc-dev linux-restricted-modules-common linux-source-2.6.22 linux-ubuntu-modules-2.6.22-14-generic openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-impress openoffice.org-java-common openoffice.org-math openoffice.org-style-human openoffice.org-writer openssl python-uno samba-common smbclient ssh ssh-askpass-gnome ttf-opensymbol tzdata update-manager update-manager-core vorbis-tools xserver-xephyr xserver-xorg-core xserver-xorg-dev 56 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Need to get 183MB of archives. After unpacking 119kB of additional disk space will be used. Do you want to continue [Y/n]? y
Method # 2: GUI tool – Ubuntu Update Manager
This is a GUI tool. It works like Microsoft / Red Hat / Fedora update manager i.e. you will see a little icon in the kicker bar/taskbar when there are updates available. It will only appear when new upgrades are available. All you have to do is click on it and follow the online instructions.