---

Hidden Linux : apt-get secrets

“apt-get is the package handling utility behind Debian-based
Linux systems such as Ubuntu, Mint and Mepis. You may be using it
‘by proxy’ via GUI-based package managers such as Synaptic, but
hardened Linux users tend to prefer the command line – especially
as the latter has a couple of neat tricks up its sleeve.

“(Not that if you’re not a super-user you’ll need to prefix the
following commands with sudo – well, all but the last one …)

“The basics

apt-get update
Resynchronise installed packages with their sources. (Always do
this before an upgrade.)

apt-get upgrade
Install the newest version of all packages installed on the
system.

apt-get dist-update
Upgrade to the latest version of your distribution.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis