Adding a software repository

Software is available from third-party sources, as well as from the default Ubuntu software repositories. If you want to install software from a third-party software repository, you must add it to the package manager's list of available repositories.

[Caution]

Only add software repositories from sources that you trust. Third-party software repositories are not checked for security by Ubuntu members, so could contain software which is harmful to your computer.

  1. Open SystemAdministrationSoftware Sources and select Third Party Software.

  2. Click 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, and should look similar to the following:

    deb http://ftp.debian.org etch main
  4. Click 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. Click Reload.

  6. Packages from the new repository should now be available in your package manager.

As a security measure, most software repositories use a GPG key to digitally sign the files they provide. This makes it easy to check that the files have not been tampered with since their creation. In order for your package manager 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.

Download the GPG key. Then, click SystemAdministrationSoftware Sources, select the Authentication tab, click Import Key File and select the GPG key to be imported.