Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "Repository"
Differenze tra le versioni 12 e 94 (in 82 versioni)
Versione 12 del 12/07/2005 10.41.29
Dimensione: 6247
Autore: host59-121
Commento: translation
Versione 94 del 14/01/2017 00.18.10
Dimensione: 3319
Autore: jeremie2
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
{{{ Traduzione in corso ...
}}}
#format wiki
#language it
<<BR>>
<<Indice(depth=1)>>
<<Informazioni(forum="http://forum.ubuntu-it.org/viewtopic.php?t=431132")>>
Linea 4: Linea 7:
da AddingRepositoriesHowto
by BlackDesert
= Introduzione =
Linea 7: Linea 9:
= Come aggiungere repositories al proprio sources.list = I '''repository''' sono archivi web nei quali vengono raggruppati i pacchetti software [[AmministrazioneSistema/InstallareProgrammi|installabili]] su Ubuntu. Questo rende l'installazione di nuovi programmi facile e sicura, dato che ogni pacchetto viene creato e controllato specificamente per Ubuntu.
Linea 9: Linea 11:
attachment:IconsPage/IconHelp.png I repository di Ubuntu sono organizzati in quattro [[Repository/Componenti|componenti]]. Il CD di installazione di Ubuntu ne contiene solo una parte. Stabilita una connessione a internet, molti più software saranno disponibili.
Linea 11: Linea 13:
Questo documento spiega come aggiungere altri [:IRepositories: repositories] al proprio {{{/etc/apt/sources.list}}}. Spiega anche come uncomment il repository {{{universe}}}. Tecnicamente i '''repository''' vengono annotati sul file `/etc/apt/sources.list`. Sul medesimo file possono esserne aggiunti di supplementari, tuttavia in tal caso è comune che vengano aggiunti su appositi file all'interno della directory `/etc/apt/sources.list.d`.
Linea 13: Linea 15:
[[TableOfContents]] <<Anchor(abilitare)>>
= Gestire i repository =
 * [[Repository/Ubuntu|Gestire i repository con Ubuntu]]: come gestire i repository su Ubuntu utilizzando un'interfaccia grafica.
 * [[Repository/Kubuntu|Gestire i repository con Kubuntu]]: come gestire i repository su Kubuntu utilizzando un'interfaccia grafica.
 * [[Repository/RigaDiComando|Gestire i repository dalla riga di comando]]: come gestire i repository tramite la [[AmministrazioneSistema/Terminale|riga di comando]].
 * [[Repository/SourcesList|Elenco di sources.list]]: elenco di file `sources.list` funzionali per Ubuntu.
 * [[Repository/Locale|Creare un repository locale]]: come creare e gestire in locale un archivio di pacchetti.
Linea 15: Linea 23:
== Uncommenting Universe == = Repository ufficiali =
Linea 17: Linea 25:
=== Usare Synaptic ===  * [[/Componenti|Componenti]]: guida ai componenti dei repository;
 * [[/Updates|Updates]]: guida ai repository degli aggiornamenti;
 * [[/Backports|Backports]]: guida ai repository '''backports'''.
Linea 19: Linea 29:
Per togliere il commento al repository {{{universe}}}, segui queste istruzioni = Repository non ufficiali =
Linea 21: Linea 31:
Su Hoary 5.04  * [[/NonUfficiali|Repository non ufficiali]]: documento relativo ai repository non ufficiali.
Linea 23: Linea 33:
Avvia {{{Synaptic Package Manager}}} dal menu {{{System}}} > {{{Administration}}} ##Quella che segue è una lista di repository [[/NonUfficiali|non ufficiali]] ritenuti validi e sicuri:
Linea 25: Linea 35:
## * [[/NonUfficiali/Medibuntu|Medibuntu]]: un repository contenente pacchetti per la multimedialità;
## * [[Cestino/NonUfficialiUpure64|uPure64]]: contiene pacchetti esclusivamente per architetture a ''64 bit'';
Linea 26: Linea 38:
attachment:hoarysynaptic.jpg ##= Applicazioni per la gestione dei repository =
##Quello che segue è un elenco di applicazioni utili alla gestione dei pacchetti e dei repository:
## * [[AmministrazioneSistema/InstallareProgrammi/GestorePacchetti|Synaptic]]: guida a '''Synaptic''', il gestore di pacchetti di '''Ubuntu''' e '''Xubuntu''';
## * [[AmministrazioneSistema/InstallareProgrammi/KPackageKit|KPackageKit]]: guida a '''KPackageKit''', il gestore di pacchetti di '''Kubuntu''';
## * [[AmministrazioneSistema/Apt|Apt]]: guida all'utilizzo di '''apt-get''', uno semplice strumento di gestione a riga di comando;
## * [[AmministrazioneSistema/Aptitude|Aptitude]]: guida all'utilizzo di '''aptitude''', uno strumento avanzato per la gestione dei pacchetti.
Linea 28: Linea 45:
Su Warty 4.10:
Avvia {{{Synaptic Package Manager}}} del menu {{{Computer}}} > {{{System Configuration}}}
= Ulteriori risorse =
Linea 31: Linea 47:
attachment:PicSelectSynapticFromtheMenu.png  * [[AmministrazioneSistema/InstallareProgrammi|Guida all'installazione e alla gestione dei programmi]]
 * [[AmministrazioneSistema/Alien|Guida all'uso di alien]]
Linea 33: Linea 50:
In Synaptic, selezionare la voce {{{Repositories}}} nel menu {{{Settings}}}

attachment:PicOpentheRepositoriesDialog.png

Viene mostrata una lista di repositories. Cliccare sul pulsante {{{Settings}}} in basso e spuntare l'opzione {{{Show disabled software sources}}}. Infine cliccare su {{{Close}}}.

attachment:showdisabled.jpg

Ora dovrebbe apparire una lista di repositories affiancati dal una casella d'opzione (checkbox?). Scorri la lista ed attiva il repository Universe, spuntando la casella (checkbox) che si trova a fianco di {{{Community Maintained (Universe)}}}.
Ota clicca su {{{OK}}} per salvare le impostazioni. Allo stesso modo puoi anche attivare i repository {{{Multiverse}}} e {{{Universe Security}}}.

attachment:enableuniverse.jpg

Salva le impostazioni e chiudi la finestra cliccando su {{{OK}}}.

Aggiorna la lista dei pacchetti disponibili con il comando {{{Reload}}} nella finestra principale.
 
attachment:PicApplyTheseSettings.png

Una volta che la lista dei pacchetti è stata aggiornata, i pacchetti del repository universe possono essere installati.


=== Usare il Terminale ===

In alternativa, per abilitare il repository universe, si può usare il terminale con i suoi comandi.
Avviate {{{Terminal}}} dal menu {{{Applications}}} > {{{System Tools}}}

Digitate il seguente comando:

{{{
   bash:~$ sudo nano -w /etc/apt/sources.list
}}}

Si avvia l'editor di testo {{{nano}}} che aprirà il file di configurazione per i repositories (n.d.t. il file è /etc/apt/sources.list).

Rimuovete il commento "{{{#}}}" dall'inizio di queste linee:

{{{
   #deb http://archive.ubuntu.com/ubuntu hoary universe
   #deb-src ftp://archive.ubuntu.com/ubuntu hoary universe
}}}

poi aggiungete la parola {{{multiverse}}}, devono risultare così:

{{{
   deb http://archive.ubuntu.com/ubuntu hoary universe multiverse
   deb-src ftp://archive.ubuntu.com/ubuntu hoary universe multiverse
}}}

In seguito, aggiornate la lista dei pacchetti con il seguente comando:
{{{
   bash:~$ sudo apt-get update
}}}

== Aggiungere repositories esterni ==

Sometimes other users will make repositories for packages they have made. It is real easy to add these repositories to the system package manager.

attachment:IconsPage/IconNote.png

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

For a list of outside repositories see BreakMyUbuntu.

=== Adding outside repositories using Synaptic ===

As shown in the Using Synaptic screenshot above, start {{{Synaptic Package Manager}}} from the {{{Computer}}} menu, {{{System Configuration}}} item. Once Synaptic has launched, choose the {{{Settings}}} menu, [Repositories] item.

You now see a window with a list of repositories. Push the button {{{New}}} to add a repository. Type in the information about the repositories in the dropdown menu and three textfields according to the following examples.

Normally you find websites providing information about a repository in a form like the following example:
{{{
   deb http://www.grawert.net/ubuntu/ warty universe
}}}

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.


attachment:IconsPage/IconNote.png

'''Note:''' 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.

attachment:IconsPage/IconNote.png

'''Note:''' 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.

Save the changes and close the window by pushing on {{{OK}}}.

Update the list of avaible packages with {{{Reload}}} in the main window. After downloading the packages list from the repositories you can install packages from universe.

=== Adding outside repositories using the Terminal ===

Alternatively, use a terminal and command line tools to enable other repositories. Start {{{Terminal}}} from {{{Applications}}}, {{{System Tools}}} in the menubar.

Type in the command line:

This example uses tseng's repository.
{{{
   bash:~$ echo deb http://www.getsweaaa.com/~tseng/ubuntu/debs ./ | sudo tee -a /etc/apt/sources.list
}}}

You would just substitute the {{{deb http://www.getsweaaa.com/~tseng/ubuntu/debs ./}}} with any other outside repositories name.
----
CategoryAmministrazione


Problemi in questa pagina? Segnalali in questa discussione

Introduzione

I repository sono archivi web nei quali vengono raggruppati i pacchetti software installabili su Ubuntu. Questo rende l'installazione di nuovi programmi facile e sicura, dato che ogni pacchetto viene creato e controllato specificamente per Ubuntu.

I repository di Ubuntu sono organizzati in quattro componenti. Il CD di installazione di Ubuntu ne contiene solo una parte. Stabilita una connessione a internet, molti più software saranno disponibili.

Tecnicamente i repository vengono annotati sul file /etc/apt/sources.list. Sul medesimo file possono esserne aggiunti di supplementari, tuttavia in tal caso è comune che vengano aggiunti su appositi file all'interno della directory /etc/apt/sources.list.d.

Gestire i repository

Repository ufficiali

  • Componenti: guida ai componenti dei repository;

  • Updates: guida ai repository degli aggiornamenti;

  • Backports: guida ai repository backports.

Repository non ufficiali

Ulteriori risorse


CategoryAmministrazione