Di default, Ubuntu non abilita i repositories Universe and Multiverse. Potrebbero anche esserci sorgenti non-Ubuntu che potreste voler aggiungere alla vostra macchina Ubuntu, benché questo sia generalmente non raccomandato.
ContentsBRTableOfContents |
Aggiungere Universe e Multiverse
Synaptic Package manager is in slightly different places between Warty and Hoary/Breezy.
Hoary Hedgehog e Breezy Badger
Avviate Synaptic Package Manager dal System , Administration menu.
attachment:hoarysynaptic.jpg
Warty Warthog
Avviate Synaptic Package Manager dal Computer , System Configuration menu
attachment:PicSelectSynapticFromtheMenu.png
On all Ubuntu versions
In Synaptic, sciegliete l'oggetto Repositories nel Settings menu
attachment:PicOpentheRepositoriesDialog.png
Vi verrà mostrata una lista di repositories. Cliccate il Settings button in basso e tick Show disabled software sources. Quindi cliccate Close button.
attachment:showdisabled.jpg
You should now see checkboxes next to the repositories. Scroll down and enable the Universe repository by ticking the checkbox next to Community Maintained (Universe). Click OK to save your settings. You may also want to enable Multiverse and the Universe Security updates repositories.
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.
Click New to add a repository.
Click Custom
- On Hoary Hedgehog and Breezy Badger, 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.
Save the changes and close the window by pushing on OK.
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
Warty Warthog: 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.
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
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.
- 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
