Mar 27 2006

Ubuntu: Attivazione repository universe

Published by maxgrante at 23:20 under Linux, Opensource, Opensource World

Buongiorno a tutti,
pubblico articolo scritto a suo tempo per Openskills sull’attivazione dei repository universe con Ubuntu.
Per poter sfruttare appieno il fantastico sistema di update e installazione pacchetti che è apt-get su Ubuntu bisogna attivare i repository “universe” che risultano essere di default commentati.

Di seguito un esempio del file dei repository /etc/apt/sources.list e descrizione delle righe da decommentare:

deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Preview i386 Binary-1 (20050310)]/ hoary main restricted

deb http://it.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://it.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
# deb http://it.archive.ubuntu.com/ubuntu hoary-updates main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the ‘universe’
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
#deb http://it.archive.ubuntu.com/ubuntu hoary universe
#deb-src http://it.archive.ubuntu.com/ubuntu hoary universe

#deb http://security.ubuntu.com/ubuntu hoary-security main restricted
#deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

#deb http://security.ubuntu.com/ubuntu hoary-security universe
#deb-src http://security.ubuntu.com/ubuntu hoary-security universe

Bisogna scommentare quindi tutte le righe al di sotto della nota scritta dal team di Ubuntu.
Come possiamo notare Ubuntu per motivi di copyright non supporta direttamente i pacchetti presenti nel repository universe, ad ogni modo l’aggiornamento degli stessi è comunque sempre ampiamente garantito dalla comunità .

Nota: per installazione di tipo server, soprattutto per servizi pubblici è consigliabile utilizzare solo i repository ufficiali.

Ora con il vostro fido apt-get potete installare una grande quantità  di pacchetti.

Articolo originale scritto sempre da me su:
http://openskills.info/infobox.php?ID=1255

Ciao. Maxgrante
info[AT]massimo-caselli[dot]com

2 Responses to “Ubuntu: Attivazione repository universe”

  1. enricoon 29 Mar 2006 at 07:17

    scusa se te lo dico, ma sto articolo lascia un po’ a desiderare. non viene spiegato nè se ci sono repository alternativi e magari più veloci, nè come fare a selezionare un repository alternativo nel caso uno sia irraggiungibile. E poi che differenza c’è tra #deb http://it.archive.ubuntu.com/ubuntu hoary universe e #deb-src http://it.archive.ubuntu.com/ubuntu hoary universe
    oppure tra #deb http://it.archive.ubuntu.com/ubuntu hoary universe e #deb http://security.ubuntu.com/ubuntu hoary-security main restricted .
    Facevi prima a scrivere: leggete e modificate il file /etc/apt/sources.list, che tanto dentro c’è spiegato tutto esattamente come lo spieghi tu. Tu dici come fare qualcosa, ma non ne spieghi il perchè, quindi mi serve a poco. Comunuqe grazie per l’impegno.

  2. maxgranteon 29 Mar 2006 at 08:38

    Ciao,
    guarda, sono conscio del fatto che non dico nulla di clamoroso.
    In fondo più che altro è una sintetizzazione e traduzione di quanto scritto nel file.

    Nel caso volessi diventare un autore fammi sapere.

    Ciao. Max

Trackback URI | Comments RSS

Leave a Reply