Sunday, July 18, 2010

Install Ubuntu security updates from command line

You can install Ubuntu (security updates) from command line by typing:

sudo apt-get dist-upgrade
(dist-upgrade, in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages)

OR

sudo apt-get upgrade
(upgrade is used to install the newest versions of all packages currently installed on the system)