Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

Repository for Ubuntu 8.04 Hardy Heron.

What are Repositories?

There are thousands of programs available to install on Ubuntu. These programs are stored in software archives (repositories) and are available for installation over the Internet. This makesit very easy to install new programs. It is also very secure, because each program you install is thoroughly tested and built specifically for Ubuntu.

The Ubuntu software repository is organised into four "components", on the basis of the level of support Ubuntu can offer them, and whether or not they comply with Ubuntu's Free Software Philosophy. The components are called Main (officially supported software), Restricted (supported software that is not available under a completely free license), UniverseMultiverse (software that is "not free").


Repository for Ubuntu 8.04 Hardy Heron.

The Ubuntu Install CDs contain software from the Main and Restricted components. Once your system is made aware of the Internet-based locations for these repositories, many more software programs are made available for installation. Using the software package management tools already installed on your system, you can search for, install and update any piece of software directly over the Internet, without the need for the CD.

Adding Repositories in Ubuntu.


eyes.png This page describes how to manage software repositories in Ubuntu 7.10 (Gutsy Gibbon) and Ubuntu 7.04 (Feisty Fawn). For Kubuntu please see Kubuntu repository management. For earlier versions of Ubuntu this wiki page. please see

terminal.png The operations described on this page modify the software repositories configuration file located at

    /etc/apt/sources.list



    Software sources can also be managed by making direct modifications to this file using the command line. If you prefer to use the command line instead of a graphical user interface, see Managing Repositories from the Command Line instead.

Adding the Universe and Multiverse Repositories.


    Navigate to "System" > "Administration" > "Software Properties". You will have to enter your password here.

    A list of repositories or "Channels" will be shown. Select "Ubuntu 6.06 LTS (source)" from the list (should be the first one), click "Add...", select "non-free (multiverse)" and "community maintained (universe)" by clicking their check boxes. Now click the "add" button.

    Click Close to save your changes. A dialog box should appear, asking whether you'd like to update the list of repositories. Click Reload to apply your changes.

   


Integration with Synaptic Package Manager.


    The next time you use the Synaptic package manager, click on the Reload button to make it aware of the new software repositories.

    You can also manage software repositories from within Synaptic by selecting "Settings" > "Repositories".

Adding Canonical Commercial Repositories

To launch the Synaptic Package Manager hit System -> Administration -> Synaptic Package Manager .

Next you will be prompted for your password to be able to launch Synaptic as super user.

Once that's all done you should now have the Synaptic package manager on your screen. On the menu of this screen you will want to click on Settings -> Repositories

This is were you will be able to add the Canonical commercial repositories. on the left of the screen click on the button Add.

The Add Channel screen will come up. On this screen select the Custom option.

On this screen type the following line and then click on Add Channel.




deb http://archive.canonical.com/ubuntu feisty-commercial main

Now hit Close. From the main Synaptic window, hit Reload. Once this finishes, you will now be able to get packages from the Canonical commercial repositories using the Synaptic Package Manager.

Adding Other Repositories.



Note: There are some (but not many) good reasons for which you might want to add non-Ubuntu repositories to your list of software sources. For example, some software cannot be distributed by Ubuntu due to patent and licensing restrictions in some countries (see the RestrictedFormats page for examples).

You might want to add repositories that offer such software. Make sure that all repositories you add in this way have been tested and are known to work on Ubuntu systems. Repositories that are not designed to work with your version of Ubuntu can introduce inconsistencies in your system and might force you to re-install.

You can add custom software repositories by adding the apt repository line of your software source to the list of repositories. To do so, click on the Add button next to the Channel list in the Software Preferences panel, then select Custom.

    Enter the apt line into the dialog box. It should look something like this:


    deb http://mirror3.ubuntulinux.nl/ dapper-seveas freenx

For an explanation of the different parts of the apt line, see the Editing Repositories section below.

Managing Local Repositories

Disable the CD-ROM Repository

If you have installed Ubuntu from one of Ubuntu's CD-ROMs, the CD will be included in the list of repositories used by the package managment tools. When you install a new package, Synaptic will check whether the package is available locally (i.e. on the CD-ROM). Synaptic may then ask for the CD-ROM. This can help reduce the size of downloads and speed up the installation process. If you would like Synaptic to rely solely on the internet repositories for package management, you can disable the CD-ROM entry with a few steps:

    Launch Synaptic and navigate to "Settings" > "Repositories".

    A list of software repositories or "Channels" will be shown.

    Locate the entry for the CD-ROM (it may say something like CD disk with Ubuntu 6.06 LTS). Click on the checkbox next to it to disable the CD-ROM as a software source.

    Click the Close button to save the changes you have made.

    You can re-enable the CD-ROM at any time using the checkbox next to its entry.

Removing Repositories.


To remove software sources ("Channels") from the list, select the source and click on the Remove button. (If you only want to disable the repository temporarily, uncheck the checkbox next to the source instead.)

eyes.png Use with caution: At present, you will not be asked to confirm the remove action. This is not a problem with the Ubuntu repositories as you can simply add them again, but you may have to look up a custom repository line if you mistakenly delete it. (It is always a good idea to back up your sources.list).

Get Paid to Blog About the Things You Love


Editing Repositories.


To make changes to a software source, select it in the list and click the Edit button. A dialog box displays the apt line, broken up into its components.

Repository for Ubuntu 8.04 Hardy Heron.Click to Tweet

    Type Software sources may contain software in binary or source code format. Select the option that corresponds to the repository.

    eyes.png The corresponding apt line has deb for binary repositories and deb-src for source code repositories.

Read also: SoundConverter, The Sound Conversion Application for the GNOME Environment.
    URI Enter a valid Uniform Resource Indicator or URI for the software repository. Here's a list of examples:

        cdrom

        cdrom:[description_of_cd]/

        ftp

        ftp://ftp.domain.ext/path/to/repository

        http

        http://www.domain.ext/path/to/repository

        smb (works only when the computer is connected to a Samba share)

        smb://path/to/repository

        nfs (works only if the computer is connected to a NFS share)

        file://path/to/local/directory

    Click here for last second holidays

    

Distribution.

    Select the name of the distribution or the name of the distribution version.

    (dapper-seveas in the example above.)



Components.

    Select the repository section to access. Add more sections separated by spaces.

    (The example repository has a freenx section.)

    Comment

    Add a comment to describe the repository for easier reference.

info.png Repositories defined using the Software Preferences panel are available to Update-Manager and will be periodically checked for updates.

Managing Authentication Keys

Authentication keys are usually obtained from the maintainer of the software repository. The maintainer will often place a copy of the authentication key on a public key server such as www.keyserver.net. The key can then be retrieved using the command



    gpg --keyserver [name of keyserver] --recv-keys [keyhash]

    In our example above, you would import the maintainer's authentication key as follows:


    gpg --keyserver subkeys.pgp.net --recv-keys 1135D466

    Then, add the key to Ubuntu's apt trusted keys database with the following command

    gpg --export --armor 1135D466 | sudo apt-key add -

    Note there's a dash at the end of the line

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:
Ubuntu-Logo-apple-style400x400
Do you consider this article interesting? Share it on your network of Twitter contacts, on your Facebook wall or simply press "+1" to suggest this result in searches in Google, Linkedin, Instagram or Pinterest. Spreading content that you find relevant helps this blog to grow. Thank you!
Share on Google Plus

About Hugo

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment

2 comments:

  1. The server version of Ubuntu does not have the add-apt-repository command. How can I add a Personal Package Archive (PPA) to the server without this command?

    ReplyDelete
  2. You can simply add the add-apt-repository command. In 13.10 and later, you also need to run this command:

    sudo apt-get install software-properties-common

    Side note: in 11.04 they added a symlink to add-apt-repository so it can be run as apt-add-repository which totally makes more sense to me. Everything else apt starts with "apt".

    NOTE: It's part of the python-software-properties package (before 13.10):

    sudo apt-get install python-software-properties

    ReplyDelete