Ok - now that we have update your Ubuntu System with its default update sources list - we can now add in the hidden extras. When you ran your initial update - the Synaptic Package manager connects to various website address and fetches updates for packages on your machine. There are other update sites that have not been included by default but can be later added. Here is how is all works, this is what you will see in your sources.list file (the list of update websites).
deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://packages.freecontrib.org/plf dapper free non-free
deb-src http://packages.freecontrib.org/plf dapper free non-free
Dont worry if your sources.list file looks different to this above - some people have a slightly different one, what does matter is the end result. Let me give you a quick Idea as to what the above mean. There are hundreds of thousands of programs available to install on your Ubuntu System. These packages are stored in software archives -repositories- and are made freely available for installation over the Internet. This makes it very easy to install new programs in Linux, and it is also very secure, because each program you install is built specially for Ubuntu and checked before it is installed. To organise the software, Ubuntu repositories are categorised into four groups-: Main, Restricted, Universe, and Multiverse:
Main Component: is free software that can be freely redistributed and is fully supported by the Ubuntu Team. Included are the most popular and most reliable open source applications available, much of which is installed by default when you installed Ubuntu.
Restricted Component: is reserved for software that is very commonly used, and which is supported by the Ubuntu team even though it is not available under a completely free licence. Please note that it may not be possible to provide complete support for this software since they are unable to fix the software themselves, but can only forward problem reports to the actual authors.
Universe component: is a snapshot of the free, open source, and Linux world. In universe you can find almost every piece of open source software, and software available under a variety of less open licences, all built automatically from a variety of public sources. All of this software is compiled against the libraries and using the tools that form part of main, so it should install and work well with the software in main, but it comes with no guarantee of security fixes and support. The universe component includes thousands of pieces of software. Through universe, users are able to have the diversity and flexibility offered by the vast open source world on top of a stable Ubuntu core. (this is not installed by Default)
Multiverse component: contains software that is “not free”, which means the licensing requirements of this software do not meet the Ubuntu “main” Component Licence Policy.The onus is on you to verify your rights to use this software and comply with the licensing terms of the copyright holder.This software is not supported and usually cannot be fixed or updated. Use it at your own risk. (this is not insalled by Default as well)
Now that you have a brief understanding of the different type of “Component’s” there are under updates, now to get an understanding of a few more things. In the front of each line you have deb and deb-src. Basically deb is the actually install file for your system and deb-src is the source file for that package(source files are the original pieces of code). Getting the source code for a package allows you to manipulate the package to do what you want. Now isnt that cool?
The catagories are just as they appear (just so you know what is what), Bug fixes, Security updates etc.
Before I show you my list of Repositories I want to explain the “Free” item that pops up all over the place. There are many many different interpretations to it but the quickest and easiest explaination is that “Free software” can and sometimes is Tottally free as in monetary, as well as “Free” to change the source code and do with the package as you wish, with the restriction of making that changed code available to others. Most of Linux as a Default is freely downloadable and you are able to install on as many machines as you wish. You MAY NOT sell the free software! Open source is to be kept free to everyone out there.
Now a Glance at my sources.list file:
## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
## Uncomment the following two lines to add software from the ‘universe’
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ dapper universe main restricted multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper universe
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
## WINE
deb http://wine.budgetdedicated.com/apt dapper main
deb-src http://wine.budgetdedicated.com/apt dapper main
#PLF Repositories
deb http://packages.freecontrib.org/plf dapper free non-free
deb-src http://packages.freecontrib.org/plf dapper free non-free
As you can see, not too much different from the original - a few extras that I have picked up along the way. Soon you will have one like this, if not longer: Feel free to copy this and replace yours: just replace the gb part of the lines to your country code to find a closer location to get updates. i.e us - united states.
There are 2 ways of updating the repository sources.list file. The first way is to open the Menu System, Administration, Synaptic package manager( you will need to enter your password). When it opens select settings at the top and select Repositories. Select Add on the right hand side and choose what you want to add.
The second way and the best way is to manually edit the sources.list file and copy,paste or type in the repositories. This is how you do it. Open Menu Applications, Accesories and Terminal (this is like DOS in windows): you will have a shell / prompt to type in, type the following: sudo gedit /etc/apt/sources.list hit enter
This will open the main file sources.list in your GUI (Graphical User interface). I do recommend saving the file as a backup first before editing it. Call it sources.list_backup or something similar. Now that you have the list on screen you can copy and paste my list on this web over the top of yours and save as source.list. The reason why we use sudo is that the file is a system file and requires admin rights to edit. sudo (super user do)- you will need to put in your password here to allow access. This is a very secure way of protecting your system from harm, when you do many admin tasks you will need to add the sudo command to the front of it, enter your password and the command will run.
Once either of the 2 ways have been preformed, you will need to update the application to the new sources.list file. If you are using method 1 - you will need to click the reload button on the first screen of synaptic package manager (it will tell you this when you have changed settings) If you are using my second way, at the terminal prompt you type: sudo apt-get update hit return. You will see it fetching the update information to add to the package manger (apt). Once you see you are back to the prompt, you are done…….. Next session: How to add more software to your system using Synaptic Package Manager.