Dimensione: 4517
Commento: pagina creata
|
Dimensione: 4598
Commento:
|
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)>>|| | [[Indice()]] |
Linea 3: | Linea 3: |
= Introduction = | = Introduzione = |
Linea 5: | Linea 5: |
The '''APT protocol''', or '''apturl''', is a very simple way to install a software package from a web browser. | Il '''protocollo APT''' o più semplicemente '''apturl''', è uno strumento che permette l'installazione di un programma attraverso il proprio browser. In un computer dove '''apturl''' è abilitato, quando si fa clic su un link presente in una pagina web si avvia l'installazione di uno o più pacchetti disponibili nei repository del computer. |
Linea 7: | Linea 7: |
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 quando un utente fa clic sul link apt:helloubuntu, '''apturl''' lancierà il gestore dei pacchetti per avviare l'installazione del pacchetto chiamato ''helloubuntu'' dai repository disponibili nel computer. |
Linea 9: | Linea 9: |
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''' non è un metodo alternativo al sistema di gestione di pacchetti attuale, è solo un metodo complementare.''|| |
Linea 11: | Linea 11: |
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 13: |
= Installation = | Per utilizzare questa funzione per l'installazione di pacchetti è necessario: * La versione di '''Ubuntu 8.04''' o successive. * Assicurarsi di aver [:AmministrazioneSistema/InstallareProgrammi:installato] il pacchetto ''apturl'' presente nel [:Repository/Componenti:componente] '''main''' dei [:Repository:repository] ufficiali. |
Linea 15: | Linea 19: |
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). |
* Utilizzare un browser compatibile con questa funzione, per maggiori informazioni consultare la lista qui sotto. |
Linea 20: | Linea 21: |
== 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. |
= Browser compatibili = |
Linea 25: | Linea 23: |
=== Firefox 3 === | '''Apturl''' funziona in modo predefinito con '''Firefox''' ed '''Epiphany''' se sono stati installati dai repository. Se si utilizza una versione precedente di '''Firefox''' e di '''Epiphany''' che non è stata installato dai repository ufficiali, è necessario abilitare il servizio direttamente dal browser seguendo la [#Firefox seguente procedura]. |
Linea 27: | Linea 25: |
Enter ''about:config'' in the url bar and add : | == Firefox 3 == |
Linea 29: | Linea 27: |
* '''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. |
Nella barra degli indirizzi inserire «about:config» e aggiungere i seguenti valori: |
Linea 34: | Linea 29: |
Close and restart Firefox. | |
Linea 36: | Linea 30: |
Clic on this link [[apt://mplayer]] , and in the "Application launch" windows, clic on the "Choose" button and : | ||<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 38: | Linea 36: |
Clic on ''File system'', and the /usr/bin directory then on the ''apturl'' file. | Chiudere e riavviare '''Firefox'''. |
Linea 40: | Linea 38: |
Don't forget to enable "Remember my choice" and validate. | ## 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 41: |
* Execute the Kate text editor in administrator mode: <code>kdesudo kate</code> * Create a new text file containing these data : |
Per abilitare il servizio su '''Konqueror''' modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/usr/share/services/apt.protocol` e aggiungere le seguenti righe: |
Linea 57: | Linea 55: |
Save this file under the name '''apt.protocol''' in the ''/usr/share/services'' folder. | Modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/usr/share/services/apt+http.protocol` e aggiungere le seguenti righe: |
Linea 59: | Linea 57: |
* Create a second text file containing these data : | |
Linea 71: | Linea 68: |
Save this file under the name '''apt+http.protocol''' in the ''/usr/share/services'' folder. |
|
Linea 75: | Linea 70: |
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''' andare nel menu '''''Tools -> Preference'''''. Fare clic sulla scheda '''Advance''' e nella sezione «Programs» fare clic su '''Add'''. Sotto '''Protocol''', inserire «apt» e sotto «Open with another application», inserire il valore «apturl» Fare clic sul pulsante '''Ok''' e riavviare '''Opera'''. |
Linea 77: | 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. [[Anchor(Firefox)]] |
|
Linea 79: | Linea 77: |
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. Close and restart Swiftfox. |
Nella barra degli indirizzi inserire «about:config» e aggiungere i seguenti valori: |
Linea 88: | Linea 80: |
= Use of apturl = | ||<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 || false || ||network.protocol-handler.warn-external.apt+http|| false || |
Linea 90: | Linea 86: |
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". |
Chiudere e riavviare Swiftfox |
Linea 97: | Linea 89: |
= Create an apturl link = | = Ulteriori risorse = |
Linea 99: | Linea 91: |
* See https://wiki.ubuntu.com/AptUrl = See also = * InstallingSoftware * SoftwareManagement |
* [https://help.ubuntu.com/community/AptUR Documento origianale] |
Linea 107: | Linea 94: |
CategoryDaTradurre | CategoryInTraduzione |
Introduzione
Il protocollo APT o più semplicemente apturl, è uno strumento che permette l'installazione di un programma attraverso il proprio browser. In un computer dove apturl è abilitato, quando si fa clic su un link presente in una pagina web si avvia l'installazione di uno o più pacchetti disponibili nei repository del computer.
Per esempio quando un utente fa clic sul link apt:helloubuntu, apturl lancierà il gestore dei pacchetti per avviare l'installazione del pacchetto chiamato helloubuntu dai repository disponibili nel computer.
Apturl non è un metodo alternativo al sistema di gestione di pacchetti attuale, è solo un metodo complementare. |
Installazione
Per utilizzare questa funzione per l'installazione di pacchetti è necessario:
La versione di Ubuntu 8.04 o successive.
Assicurarsi di aver [:AmministrazioneSistema/InstallareProgrammi:installato] il pacchetto apturl presente nel [:Repository/Componenti:componente] main dei [:Repository:repository] ufficiali.
- Utilizzare un browser compatibile con questa funzione, per maggiori informazioni consultare la lista qui sotto.
Browser compatibili
Apturl funziona in modo predefinito con Firefox ed Epiphany se sono stati installati dai repository. Se si utilizza una versione precedente di Firefox e di Epiphany che non è stata installato dai repository ufficiali, è necessario abilitare il servizio direttamente dal browser seguendo la [#Firefox seguente procedura].
Firefox 3
Nella barra degli indirizzi inserire «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 Firefox.
Konqueror
Per abilitare il servizio su Konqueror modificare con un [:Ufficio/EditorDiTesto:editor di testo] e con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file /usr/share/services/apt.protocol e aggiungere 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 e aggiungere 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 andare nel menu Tools -> Preference. Fare clic sulla scheda Advance e nella sezione «Programs» fare clic su Add. Sotto Protocol, inserire «apt» e sotto «Open with another application», inserire il valore «apturl» Fare clic sul pulsante Ok e riavviare Opera.
Swiftfox
Nella barra degli indirizzi inserire «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 |
false |
network.protocol-handler.warn-external.apt+http |
false |
Chiudere e riavviare Swiftfox
Ulteriori risorse
[https://help.ubuntu.com/community/AptUR Documento origianale]