Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "AmministrazioneSistema/InstallareProgrammi/AptUrl"
Differenze tra le versioni 1 e 9 (in 8 versioni)
Versione 1 del 22/04/2009 19.39.58
Dimensione: 4517
Autore: NaldiniPaolo
Commento: pagina creata
Versione 9 del 23/04/2009 10.50.12
Dimensione: 4110
Commento: revisionata,tolta sezione swiftfox, valide le istruzioni per firefox
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(4)>>|| #format wiki
#language it
[[BR]]
[[Indice()]]
Linea 3: Linea 6:
= Introduction = = Introduzione =
Linea 5: Linea 8:
The '''APT protocol''', or '''apturl''', is a very simple way to install a software package from a web browser. '''apturl''' è uno strumento che facilita l'installazione di un programma attraverso il proprio browser selezionando un link presente all'interno di una pagina web, consentendo l'avvio automatico della procedura di installazione dei pacchetti selezionati.
Linea 7: Linea 10:
On computers where apturl is enabled, the clic in a web page on a special link starts the installation of one or several packages available in the package repositories of this computer. Per esempio, selezionando il link apt:helloubuntu, '''apturl''' lancierà il gestore dei pacchetti per avviare l'installazione del pacchetto chiamato ''helloubuntu''.
Linea 9: Linea 12:
For example, from a web page, when a Ubuntu user clicks on the link apt:packageexample , the apturl protocol will launch the package manager to propose the installation of the package called "packageexample" from the repositories available on the computer. ||<tablestyle="text-align: justify; width:100%; " style="border:none;" 5% ^>[[Immagine(Icone/Piccole/note.png,,center)]] ||<style="padding:0.5em; border:none;">'''apturl''' ''é solo un metodo complementare e non sostitutivo dell'attuale sistema di gestione dei pacchetti attuale.''||
Linea 11: Linea 14:
Please note that ''apturl'' is not aimed at replacing the current system of repositories and package manager. It is a complementary method. = Installazione =
Linea 13: Linea 16:
= Installation = Per utilizzare questa funzione per l'installazione di pacchetti è necessario:
 
 * Utilizzare '''Ubuntu 8.04''' o successive.
Linea 15: Linea 20:
To use this package installation method:
 * you need to be on [[Versions|Ubuntu 7.10 or later]]
 * you need the package '''apturl''' [[InstallingSoftware#Installing%20a%20Package|to be installed]] (it is generally installed by default)
 * you need a compatible web browser (see list below).
 * Assicurarsi di aver [:AmministrazioneSistema/InstallareProgrammi:installato] il pacchetto ''apturl''.
Linea 20: Linea 22:
== Firefox and Epiphany ==
 * apturl works by default with Firefox and Epiphany if they are normally installed from the repositories
 * if you use a version of Firefox2 or Epiphany that you didn't install from the repositories, you need to enable the apturl in your browser with the same procedure as Swiftfox (see below).
 * if you use a version of Firefox3, see below to enable the apturl in your browser.
 * Utilizzare un browser compatibile con questa funzione, per maggiori informazioni consultare il seguente elenco.
Linea 25: Linea 24:
=== Firefox 3 === = Browser compatibili =
Linea 27: Linea 26:
Enter ''about:config'' in the url bar and add : '''apturl''' funziona in modo predefinito con le versioni di '''Firefox''' e '''Epiphany''' installate dai [:Repository:repository ufficiali], mentre per quanto riguarda vecchie versioni oppure installazioni manuali é necessario abilitare il servizio direttamente dal browser seguendo una delle procedure sottostanti.
Linea 29: Linea 28:
  * '''network.protocol-handler.app.apt''' in character chain with '''/usr/bin/apturl''' as value,
  * '''network.protocol-handler.app.apt+http''' in character chain with '''/usr/bin/apturl''' as value,
  * '''network.protocol-handler.warn-external.apt''' in boolean value and put '''true''' as value,
  * '''network.protocol-handler.warn-external.apt+http''' in boolean value and put '''true''' as value.
== Firefox 3 ==
Linea 34: Linea 30:
Close and restart Firefox. ||<tablestyle="text-align: justify; width:100%; " style="border:none;" 5% ^>[[Immagine(Icone/Piccole/note.png,,center)]] ||<style="padding:0.5em; border:none;">''Le seguenti istruzioni solo valide anche per il browser'' '''Swiftfox'''.||
Linea 36: Linea 32:
Clic on this link [[apt://mplayer]] , and in the "Application launch" windows, clic on the "Choose" button and : Nella barra degli indirizzi digitare l'indirizzo `about:config` e aggiungere i seguenti valori:
Linea 38: Linea 34:
Clic on ''File system'', and the /usr/bin directory then on the ''apturl'' file. ||<tablestyle="width:50%" : 70% style="background-color:#FEB76D;">'''Stringa''' ||<style="background-color:#FEB76D;":>'''Valore''' ||
||network.protocol-handler.app.apt || /usr/bin/apturl ||
||network.protocol-handler.app.apt+http|| /usr/bin/apturl ||
||network.protocol-handler.warn-external.apt || true ||
||network.protocol-handler.warn-external.apt+http|| true ||
Linea 40: Linea 40:
Don't forget to enable "Remember my choice" and validate. Chiudere e riavviare il browser.

## Clic on this link [[apt://mplayer]] , and in the "Application launch" windows, clic on the "Choose" button and : Clic on ''File system'', and the /usr/bin directory then on the ''apturl'' file. Don't forget to enable "Remember my choice" and validate.
Linea 43: Linea 45:
  * Execute the Kate text editor in administrator mode: <code>kdesudo kate</code>
  * Create a new text file containing these data :
Linea 46: Linea 46:
Per abilitare il supporto su '''Konqueror''' é necessario modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/usr/share/services/apt.protocol` aggiungendo le seguenti righe:
Linea 57: Linea 58:
Save this file under the name '''apt.protocol''' in the ''/usr/share/services'' folder.

  * Create a second text file containing these data :
Modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/usr/share/services/apt+http.protocol` aggiungendo le seguenti righe:
Linea 71: Linea 70:
Save this file under the name '''apt+http.protocol''' in the ''/usr/share/services'' folder.
Linea 75: Linea 72:
If you use [[OperaBrowser|Opera]], you just need to go in the menu ''Tools'' then ''Preferences''. Clic on the tab ''Advanced'' then ''Programs'', and choose ''Add''. In ''Protocol'', enter '''apt''' and in ''Open with another application'', enter '''apturl'''. Clic on the button OK and restart Opera. Se si utilizza '''Opera''' selezionare '''''Tools -> Preference''''', fare clic sulla scheda «'''Advance'''» e nella sezione «'''Programs'''» selezionare il pulsante «'''Add'''», mentre nella sezione «'''Protocol'''» inserire «apt» e sotto «'''Open with another application'''», inserire il valore «apturl». Fare clic sul pulsante '''Ok''' e riavviare il browser.
Linea 77: Linea 74:
== Swiftfox == ##If you use [[OperaBrowser|Opera]], you just need to go in the menu ''Tools'' then ''Preferences''. Clic on the tab ''Advanced'' then ''Programs'', and choose ''Add''. In ''Protocol'', enter '''apt''' and in ''Open with another application'', enter '''apturl'''. Clic on the button OK and restart Opera.
Linea 79: Linea 76:
To enjoy the APT protocol with [[Swiftfox]], enter '''about:config''' in the url bar and add :
  * '''network.protocol-handler.app.apt''' in character chain with '''/usr/bin/apturl''' as value,
  * '''network.protocol-handler.app.apt+http''' in character chain with '''/usr/bin/apturl''' as value,
  * '''network.protocol-handler.warn-external.apt''' in boolean value and put '''false''' as value,
  * '''network.protocol-handler.warn-external.apt+http''' in boolean value and put '''false''' as value.
= Ulteriori risorse =
Linea 85: Linea 78:
Close and restart Swiftfox.


= Use of apturl =

In the Ubuntu Documentation, you will sometimes find sentences like for example:

" To install this software in Ubuntu, [[InstallingSoftware#installing-a-package|install the following package]]: '''''[[apt:supertux|supertux]]'''''. "

Click on the name of the package ("supertux" in the example): if the apturl protocol is enabled on your computer, you will be proposed to install the package called "supertux".


= Create an apturl link =

 * See https://wiki.ubuntu.com/AptUrl


= See also =
 * InstallingSoftware
 * SoftwareManagement
 * [https://help.ubuntu.com/community/AptUR Documento origianale]
Linea 107: Linea 81:
CategoryDaTradurre CategoryInTraduzione

BR Indice()

Introduzione

apturl è uno strumento che facilita l'installazione di un programma attraverso il proprio browser selezionando un link presente all'interno di una pagina web, consentendo l'avvio automatico della procedura di installazione dei pacchetti selezionati.

Per esempio, selezionando il link apt:helloubuntu, apturl lancierà il gestore dei pacchetti per avviare l'installazione del pacchetto chiamato helloubuntu.

Immagine(Icone/Piccole/note.png,,center)

apturl é solo un metodo complementare e non sostitutivo dell'attuale sistema di gestione dei pacchetti attuale.

Installazione

Per utilizzare questa funzione per l'installazione di pacchetti è necessario:

  • Utilizzare Ubuntu 8.04 o successive.

  • Assicurarsi di aver [:AmministrazioneSistema/InstallareProgrammi:installato] il pacchetto apturl.

  • Utilizzare un browser compatibile con questa funzione, per maggiori informazioni consultare il seguente elenco.

Browser compatibili

apturl funziona in modo predefinito con le versioni di Firefox e Epiphany installate dai [:Repository:repository ufficiali], mentre per quanto riguarda vecchie versioni oppure installazioni manuali é necessario abilitare il servizio direttamente dal browser seguendo una delle procedure sottostanti.

Firefox 3

Immagine(Icone/Piccole/note.png,,center)

Le seguenti istruzioni solo valide anche per il browser Swiftfox.

Nella barra degli indirizzi digitare l'indirizzo about:config e aggiungere i seguenti valori:

Stringa

Valore

network.protocol-handler.app.apt

/usr/bin/apturl

network.protocol-handler.app.apt+http

/usr/bin/apturl

network.protocol-handler.warn-external.apt

true

network.protocol-handler.warn-external.apt+http

true

Chiudere e riavviare il browser.

Konqueror

Per abilitare il supporto su Konqueror é necessario modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file /usr/share/services/apt.protocol aggiungendo le seguenti righe:

[Protocol]
exec=apturl "%u"
protocol=apt
input=none
output=none
helper=true
reading=true
writing=true

Modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file /usr/share/services/apt+http.protocol aggiungendo le seguenti righe:

[Protocol]
exec=apturl "%u"
protocol=apt+http
input=none
output=none
helper=true
reading=true
writing=true

Opera

Se si utilizza Opera selezionare Tools -> Preference, fare clic sulla scheda «Advance» e nella sezione «Programs» selezionare il pulsante «Add», mentre nella sezione «Protocol» inserire «apt» e sotto «Open with another application», inserire il valore «apturl». Fare clic sul pulsante Ok e riavviare il browser.

Ulteriori risorse


CategoryInTraduzione