Software repositories

When you install software on Ubuntu, the package manager automatically downloads the required software packages from a software repository, a location on the Internet which stores collections of packages ready to be downloaded.

There are thousands of programs available to install on Ubuntu. These programs are stored in software repositories and are made freely available for all Ubuntu users. This makes it very easy to install new programs, and it is also very secure because each program you install is built specially for Ubuntu and checked before it is allowed into the repositories.

To organise the software, Ubuntu repositories are categorised into four groups: Main, Restricted, Universe, and Multiverse. The rationale used to determine which software goes into which category is based on the level of support that software development teams provide for a program and the level of compliance the program has to the Free Software Philosophy.

The standard Ubuntu Install CD contains some software from the Main and Restricted categories.

If your system is connected to the Internet, many more software programs are made available for installation. For example, the “Universe” and “Multiverse” repositories are only available over the Internet.

[Warning]

The Multiverse repository contains software which has been classified as non-free. This software may not be permitted in some jurisdictions. When installing each package from this repository, you should verify that the laws of your country permit you to use it. Also, this software may not include security updates.

You can find more information about the Repositories available on the website.

Adding extra repositories

It is possible to add extra repositories, such as those provided by third parties or those for older version of Ubuntu.

[Caution]

Be careful when installing software from third-party repositories. It may not have been tested with Ubuntu and could cause your system to break.

  1. Open SystemAdministrationSoftware Sources and press Third Party Software.

  2. Press Add to add a new repository.

  3. Enter the APT line for the extra repository. This should be available from the website of the repository or similar, and should look similar to the following:

    deb http://ftp.debian.org etch main
  4. Press Add Source and then click Close to save your changes.

  5. You will be notified that the information about available software is out-of-date. Press Reload.

  6. Most software repositories use a GPG key to digitally sign the files they provide, which makes it easy to check that the files have not been tampered with since their creation. In order for apt to be able to check this, you need the public key that corresponds to the signatures. The key should be available for download on the repository's website.

  7. Once you have downloaded the GPG key, import the key by selecting the Authentication tab, clicking on Import Key File, and then selecting the GPG key to be imported.