Some apt-get commands

Ubuntu uses the apt package management system which makes updates and upgrades pretty simple.

When logging on, ubuntu summarizes available updates. Use the following to do the updates:

sudo apt-get upgrade

Note, though:

However, if you want to upgrade, unconcerned of whether software packages will be added or removed to fulfill dependencies, use the ‘dist-upgrade‘ sub command.

Many more apt-get commands are summarized in 25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management.

‘man apt-get‘ or ‘man apt-cache’ are also useful.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>