Dimensione: 4517
Commento: pagina creata
|
Dimensione: 4428
Commento: Revisionata
|
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. | '''Apturl''' è uno strumento che permette l'installazione di un programma attraverso il proprio browser selezionando un link presente all'interno di una pagina web, quindi verrà avviata l'installazione di uno o più pacchetti. |
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 verrà selezionato il link apt:helloubuntu, '''apturl''' lancierà il gestore dei pacchetti per avviare l'installazione del pacchetto chiamato ''helloubuntu''. |
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 le versioni di '''Firefox''' ed '''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 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 digitare l'indirizzo `about:config` e aggiungere i seguenti valori: |
Linea 34: | Linea 29: |
Close and restart Firefox. | ||<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 36: | Linea 35: |
Clic on this link [[apt://mplayer]] , and in the "Application launch" windows, clic on the "Choose" button and : | Chiudere e riavviare '''Firefox'''. |
Linea 38: | Linea 37: |
Clic on ''File system'', and the /usr/bin directory then on the ''apturl'' file. 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 40: |
* Execute the Kate text editor in administrator mode: <code>kdesudo kate</code> * Create a new text file containing these data : |
|
Linea 46: | Linea 41: |
{{{ | 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` aggiungendo le seguenti righe:{{{ |
Linea 57: | Linea 52: |
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 63: |
Save this file under the name '''apt+http.protocol''' in the ''/usr/share/services'' folder. |
|
Linea 75: | Linea 65: |
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» 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 '''Opera'''. ##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 71: |
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. |
Nella barra degli indirizzi digitare l'indirizzo `about:config` e aggiungere i seguenti valori: |
Linea 85: | Linea 73: |
Close and restart Swiftfox. | ||<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 87: | Linea 79: |
Chiudere e riavviare '''Swiftfox'''. | |
Linea 88: | Linea 81: |
= Use of apturl = | = Ulteriori risorse = |
Linea 90: | Linea 83: |
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 86: |
CategoryDaTradurre | CategoryInTraduzione |
Introduzione
Apturl è uno strumento che permette l'installazione di un programma attraverso il proprio browser selezionando un link presente all'interno di una pagina web, quindi verrà avviata l'installazione di uno o più pacchetti.
Per esempio quando verrà selezionato il link apt:helloubuntu, apturl lancierà il gestore dei pacchetti per avviare l'installazione del pacchetto chiamato helloubuntu.
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 le versioni di Firefox ed 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
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 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 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 andare nel menu 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 Opera.
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 |
false |
network.protocol-handler.warn-external.apt+http |
false |
Chiudere e riavviare Swiftfox.
Ulteriori risorse
[https://help.ubuntu.com/community/AptUR Documento origianale]