Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "AddingRepositoriesHowto"
Differenze tra le versioni 4 e 5
Versione 4 del 23/09/2005 08.27.08
Dimensione: 4933
Autore: host210-184
Commento:
Versione 5 del 23/09/2005 08.37.56
Dimensione: 5004
Autore: host210-184
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 50: Linea 50:
You now see a window with a list of repositories. Vedrete ora una finestra con una lista di repositories.
Linea 52: Linea 52:
 1. Click {{{New}}} to add a repository.  1. Click {{{New}}} per aggiungere un repository.
Linea 54: Linea 54:
 1. 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.
 1. Save the changes and close the window by pushing on {{{OK}}}.
 1. Update the list of avaible packages with {{{Reload}}} in the main window.
 1. Su Hoary Hedgehog e Breezy Badger, incollate le informazioni del repository, come visto la sezione successiva e cliccate ok. Su Warty Warthog, you need to break the line down, as seen below.
 1. Salvate i cambiamenti e chiudete la finestra cliccando {{{OK}}}.
 1. Aggiornate la lista dei pacchetti disponibili cliccando {{{Reload}}} nella finestra principale.
Linea 59: Linea 59:
Normally you find websites providing information about a repository in a form like the following example: Normalmente troverete siti web che mettono a disposizione informazioni su un repository in una forma come l'esempio seguente:

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.

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

Ora vedrete dei checkboxes vicino ai repositories. Scorrete la lista e abilitate il repository Universe spuntando il checkbox vicino a Community Maintained (Universe). Cliccate OK per salvare le impostazioni. Potreste anche voler abilitare i repositories Multiverse e Universe Security updates .

attachment:enableuniverse.jpg

Salvate i cambiamenti e chiudete la finestra cliccando OK.

Aggiornate la lista dei pacchetti disponibili cliccando Reload nella finestra principale.

attachment:PicApplyTheseSettings.png

Una volta aggiornata la lista dei pacchetti, i pacchetti di universe possono essere installati.

Adding Outside Repositories

A volte altri utenti creano repositories per i propri pacchetti (non ufficiali).

Note: PRESTATE ATTENZIONE nel fare ciò, qualche pacchetto non-Ubuntu potrebbe danneggiare la vostra installazione Ubuntu.

Come mostrato nello screenshot di Using Synaptic sopra, avviare Synaptic Package Manager dal menuComputer o System (a seconda della vostra versione di Ubuntu) , voce System Configuration . Una volta lanciato Synaptic, scegliete il menu Settings, voce [Repositories] .

Vedrete ora una finestra con una lista di repositories.

  1. Click New per aggiungere un repository.

  2. Click Custom

  3. Su Hoary Hedgehog e Breezy Badger, incollate le informazioni del repository, come visto la sezione successiva e cliccate ok. Su Warty Warthog, you need to break the line down, as seen below.
  4. Salvate i cambiamenti e chiudete la finestra cliccando OK.

  5. Aggiornate la lista dei pacchetti disponibili cliccando Reload nella finestra principale.

Repository line

Normalmente troverete siti web che mettono a disposizione informazioni su un repository in una forma come l'esempio seguente:

   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

  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

CategoryDocumentation