Ubuntu

Differences between revisions 38 and 39
Revision 38 as of 2006-06-09 07:54:35
Size: 6302
Editor: S0106001150603f7d
Comment: new screenshot for 6.06; needs more up to date shots
Revision 39 as of 2006-06-12 09:17:36
Size: 6322
Editor: S0106001150603f7d
Comment: CatCleanup - this page is badly out of date
Deletions are marked like this. Additions are marked like this.
Line 115: Line 115:

CategoryDocumentation
----
CategoryDocumentation CategoryCleanup

By default, Ubuntu does not enable the Universe and Multiverse repositories, nor the Backports. There may also be non-Ubuntu sources that you might wish to add to your Ubuntu machine, though this is generally not recommended.

Adding Repositories in Ubuntu

(Kubuntu users, see "Enabling Repositories In Kubuntu" below.)

If you do not have X, try the guide to adding repositories through the command line at AddingRepositoriesCliHowto .

Adding Universe and Multiverse

Start Synaptic Package Manager from the System , Administration menu.

attachment:SynapticMenuDapper.png

In Synaptic, choose the Repositories item in the Settings menu

attachment:PicOpentheRepositoriesDialog.png

A list of repositories is shown. Click the Settings button at the bottom and tick Show disabled software sources. Then click the Close button.

attachment:showdisabled.jpg

You should now see checkboxes next to the repositories. Scroll down and enable the Universe repository by ticking the checkboxes next to the Community Maintained (Universe) entries. To enable the Multiverse repository, for each of the Community Maintained (Universe) entries click on the entry, click Edit, then change the entry for Sections from 'universe' to 'universe multiverse'. Click OK to save your settings.

attachment:enableuniverse.jpg

Save the changes and close the window by clicking OK.

Update the list of available packages with Reload in the main window.

attachment:PicApplyTheseSettings.png

Once the package list has been updated, packages from universe can be installed.

Adding Outside Repositories

Sometimes other users will make repositories for packages they have.

Note: BE CAREFUL doing this, some outside packages could break your Ubuntu installation.

As shown in the Using Synaptic screenshot above, start Synaptic Package Manager from the Computer or System (depending on your Ubuntu version) menu, System Configuration item. Once Synaptic has launched, choose the Settings menu, [Repositories] item.

You now see a window with a list of repositories.

  1. Click New to add a repository.

  2. Click Custom

  3. On 5.04 and 5.10, paste the the repository information, as seen the next section and click ok. On Warty Warthog, you need to break the line down, as seen below.
  4. Save the changes and close the window by pushing on OK.

  5. Update the list of avaible packages with Reload in the main window.

Repository line

Normally you find websites providing information about a repository in a form like the following example:

   deb http://www.grawert.net/ubuntu/ warty universe

Breaking the line down

This line provides the information for the Synaptic fields.

* deb means it is a binary, so use the drop-down list to choose binary. Normally this is the default setting.

* http://www.grawert.net/ubuntu/ is the URI (Uniform Resource Identifier), which means in this case the location.

* warty is the release name.

* universe is the section name. There can be several sections, seperated by spaces.

Sometimes the repository line has less information though, as shown in the next example.

   deb http://www.getsweaaa.com/~tseng/ubuntu/debs ./ 

The first two fields (deb and URI) are clearly similar to the first example above. However, the release-name is "./" so just put this (without the quotes) in the release field of Synaptic. It looks weird, but simply specifies the release as being whatever is in the directory given by the URI. Furthermore, there is no section information so just leave that text field blnk in your Synaptic entry.

Notes

  1. Only the section information is optional, and then only with respect to the repository-maintainer. If there is section information, it must be specifed in Synaptic. It cannot be left blank.

  2. If you make a mistake with the syntax in the fields you will get an error when you click the OK button in Synaptic. One cause is putting a trailing slash at the end of the URI. Also beware of leaving whitespaces at the beginning/end of the fields.

Specific Non Ubuntu Repositories

Hoary Extras

Hoary extras contains software that Ubuntu cannot legally ship. Some of this software may be illegal where you live. Use at your own risk.

To add hoary-extras, add the following:

deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted

Enabling Repositories In Kubuntu

Hit Alt+F2, type adept and then hit Enter. Put in your user password, and then Adept, the Kubuntu Package Manager, should come up.

Then, from the menu, head over to Adept -> Manage Repositories.

  1. Click a line that shows "universe".
  2. Click the word "universe".

  3. Change the line as shown below.


CategoryDocumentation CategoryCleanup

Repositories/Ubuntu (last edited 2008-08-06 16:22:40 by localhost)