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 10 e 29 (in 19 versioni)
Versione 10 del 12/07/2005 08.58.19
Dimensione: 6187
Autore: host16-127
Commento: translation
Versione 29 del 08/09/2006 18.49.00
Dimensione: 2360
Commento: iniziata la modifica
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
{{{ Traduzione in corso ...
}}}
## page was renamed from Repositories
#language it
Linea 4: Linea 4:
da AddingRepositoriesHowto
by BlackDesert
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Indice'''[[BR]][[TableOfContents]]||
Linea 7: Linea 6:
= Come aggiungere repositories al proprio sources.list = = Introduzione =
Linea 9: Linea 8:
attachment:IconsPage/IconHelp.png Se si proviene dal mondo Windos e/o Mac OS, si è abituati a cercare un particolare programma su internet (la maggior parte delle volte fornito in un eseguibile installabile) e le uniche azioni da svolegere erano scaricare e installare. Si è molto familiari con il software distribuito in CD o DVD da cui è molto comodo installare questi programmi. Per i sistemi liberi e open source come Ubuntu GNU/Linux esiste del software distribuito con questi mezzi, ma solitamente si tratta di software proprietario e non libero.
Linea 11: Linea 10:
Questo documento spiega come aggiungere altri [:IRepositories: repositories] al proprio {{{/etc/apt/sources.list}}}. Spiega anche come uncomment il repository {{{universe}}}. Sui sistemi com Ubuntu, il software viene fornito in file con estensione '''.deb''' (o '''.rpm''' con per Red```Hat) che contengono il programma e le librerie necessarie. Questi file possono essere scaricati oppure vengono forniti su CD (il CD di Ubuntu ne contiene molti). I repository sono dei server che contengono molti diquesti pacchetti. Solitamente si accede a questi repository con strumenti come [:SynapticHowto:Synaptic].
Linea 13: Linea 12:
[[TableOfContents]] Questi strumenti possono elencare tutti i pacchetti installati sul proprio sistema (dal kernel fino alle applicazioni preferite) e i pacchetti disponibili nei repository configurati per l'accesso. È possibile anche eseguire delle semplici ricerche per delle frasi come "editor di immagini".
Linea 15: Linea 14:
== Uncommenting Universe == These tools provide a simple, centralized method of software installation while and give the distributors (who set up the repositories) a centralized way to send you updates(1) to your software.
Linea 17: Linea 16:
=== Usare Synaptic === In Ubuntu you generally want to have at least Ubuntu's repositories (which may include the install CD) but it is not uncommon to have other repositories (from other packagers) set up.
Linea 19: Linea 18:
Per togliere il commento al repository {{{universe}}}, segui queste istruzioni It's important to know that most of the tools you'll want to use in Ubuntu are already in Ubuntu's repositories. You can go search the internet for packages, or even source code, for others, but these will be more difficult to install and won't, most of the time, integrate well with your system.
Linea 21: Linea 20:
Su Hoary 5.04

Avvia {{{Synaptic Package Manager}}} dal menu {{{System}}} > {{{Administration}}}


attachment:hoarysynaptic.jpg

Su Warty 4.10:
Avvia {{{Synaptic Package Manager}}} del menu {{{Computer}}} > {{{System Configuration}}}

attachment:PicSelectSynapticFromtheMenu.png

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.

--------------
Using Terminal
--------------

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

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

The texteditor {{{nano}}} starts and opens the configuration file for repositories.
Remove the comment "{{{#}}}" marks from the start of lines that look like this:

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

then add the word {{{multiverse}}} making them look like this:

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

Afterwards, update the package list with the following command:
{{{
   bash:~$ sudo apt-get update
}}}

== Adding outside repositories ==

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.
So now you know: no more endless searching looking for spyware infested shareware and freeware. The vast majority of useful software available for Linux is pre-packaged for you.

Introduzione

Se si proviene dal mondo Windos e/o Mac OS, si è abituati a cercare un particolare programma su internet (la maggior parte delle volte fornito in un eseguibile installabile) e le uniche azioni da svolegere erano scaricare e installare. Si è molto familiari con il software distribuito in CD o DVD da cui è molto comodo installare questi programmi. Per i sistemi liberi e open source come Ubuntu GNU/Linux esiste del software distribuito con questi mezzi, ma solitamente si tratta di software proprietario e non libero.

Sui sistemi com Ubuntu, il software viene fornito in file con estensione .deb (o .rpm con per Red`Hat) che contengono il programma e le librerie necessarie. Questi file possono essere scaricati oppure vengono forniti su CD (il CD di Ubuntu ne contiene molti). I repository sono dei server che contengono molti diquesti pacchetti. Solitamente si accede a questi repository con strumenti come [:SynapticHowto:Synaptic].

Questi strumenti possono elencare tutti i pacchetti installati sul proprio sistema (dal kernel fino alle applicazioni preferite) e i pacchetti disponibili nei repository configurati per l'accesso. È possibile anche eseguire delle semplici ricerche per delle frasi come "editor di immagini".

These tools provide a simple, centralized method of software installation while and give the distributors (who set up the repositories) a centralized way to send you updates(1) to your software.

In Ubuntu you generally want to have at least Ubuntu's repositories (which may include the install CD) but it is not uncommon to have other repositories (from other packagers) set up.

It's important to know that most of the tools you'll want to use in Ubuntu are already in Ubuntu's repositories. You can go search the internet for packages, or even source code, for others, but these will be more difficult to install and won't, most of the time, integrate well with your system.

So now you know: no more endless searching looking for spyware infested shareware and freeware. The vast majority of useful software available for Linux is pre-packaged for you.