Linux tips and tweaks
Update the system using apt-get or Update Manager
Keeping the operating system up to date is important for several reasons no matter whether you use Linux, Windows or Apple Mac OS X. Updates to the system will fix bugs, stop crashes and other problems and may also add new features too. Keeping the OS up to date is quite easy and in this article we take a look at Linux, specifically Ubuntu and similar distros that are based on Debian. There are two ways to update the system and you can either use the graphical user interface of Update Manager, which is accessed from the menu bar, or you can open a Terminal window and use apt-get. Command line die-hards will prefer that option, but both work just as well.
If you absolutely must type in complex and hard to remember commands for everything, then open a Terminal window and enter
Once you've updated the index, you can enter
Sometimes not all possible updates are downloaded and installed, and there is a more powerful version of the command,
Downloaded packages may be left on the disk and they aren't always needed and just end up using up disk space for no good reason. You can remove them and reclaim the disk space with this command,
If you're not into all this command line nonensense and you prefer something you can point the mouse at and click on, go to the System, Administration menu in Ubuntu and select Update Manager. You can think of this as a graphical front end to apt-get.
You should always click the Check button first to refresh the index (like apt-get update) and then you'll see a list of the updates in the window (apt-get -s update).
Unlike apt-get, you can choose the updates you want to download install using the tick boxes next to each one.
OK, you can do this from the command line with apt-get, but it's just too fiddly to bother with.
After selecting the updates, you can then click Install Updates to download and install the packages (apt-get update).