I work on my ubuntu server remotely, so I’m never around to update it in person. Keeping up with updates is easy to do via the terminal though.

Ubuntu is updating in the terminal

Assuming you’re either locally doing this on your server or already remotely connected to your server via ssh, you’ll need to run these two lines:

sudo apt-get updatesudo apt-get upgrade

The first will get any new packages since the last automatic cache refresh, and then the second will actually initiate the update. You’ll probably be probably be prompted if you seriously want to update too. Once you confirm, aptitude, the full name for apt-get, will go off and get all of those packages from their repositories and install them. That’s it.

Comments

I completely agree. Package management on Debian-based distros is the best, which is why I have used them since Debian Woody. Just one correction, aptitude is a front-end to the APT tool, much like APT is a front-end to dpkg.