Changes between Version 7 and Version 8 of It:Download
- Timestamp:
- 2023-04-24T10:28:20+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
It:Download
v7 v8 55 55 56 56 57 == LinuxRepositories==58 === JOSM 'sDebianbased mainly for Ubuntu ===#Ubuntu59 This is our own package repository primarily for Ubuntu. It should also work with other Debian based (especially Ubuntu based) distributions, but we do not actively test and maintain any distributions other thanUbuntu.60 61 Therepository contains two packages:62 * ''josm'' – Provides the testedversion(stable). Replaces the package from the official repositoryof yourdistribution. The default JOSM directories name is set to`JOSM`.63 * ''josm-latest'' – The latest version (nightly). Can be installed in parallel to the josm package, therefore the default JOSM directories name is set to`JOSM-latest`.64 Both packages provide `/etc/default/josm`respectively`/etc/default/josm-latest`asconfigfile for [wikitr:Help/CommandLineOptions#Javaoptionsjava options].65 66 In addition to the regularproceduredescribed below, older DEBs can bemanually downloaded from the[/apt/pool/universe/j/ archives].67 68 ==== Installa tion====69 Edit the package resource list`/etc/apt/sources.list.d/josm.list`:57 == Repository Linux == 58 === JOSM basato su Debian, principalmente per Ubuntu ===#Ubuntu 59 Questo è il nostro repository di pacchetti principalmente per Ubuntu. Dovrebbe funzionare anche con altre distribuzioni basate su Debian (soprattutto basate su Ubuntu), ma non testiamo e manteniamo attivamente alcuna distribuzione diversa da Ubuntu. 60 61 Il repository contiene due pacchetti: 62 * ''josm'' – Fornisce la versione testata (stabile). Sostituisce il pacchetto fornito dal repository ufficiale della tua distribuzione. Il nome predefinito delle cartelle JOSM è impostato su `JOSM`. 63 * ''josm-latest'' – L'ultima versione (nightly). Può essere installata parallelamente al pacchetto josm, perchè il nome predefinito delle cartelle di questa versione JOSM è impostato su `JOSM-latest`. 64 Entrambi i pacchetti forniscono rispettivamente `/etc/default/josm` e `/etc/default/josm-latest` come file di configurazione per [wikitr:Help/CommandLineOptions#Javaoptions le opzioni java]. 65 66 Oltre alla normale procedura descritta di seguito, i DEB precedenti possono essere scaricati manualmente dagli [/apt/pool/universe/j/ archivi dei file]. 67 68 ==== Installazione ==== 69 Modifica la lista delle risorse dei pacchetti `/etc/apt/sources.list.d/josm.list`: 70 70 {{{#!sh 71 71 sudo editor /etc/apt/sources.list.d/josm.list … … 76 76 }}} 77 77 78 and add one of the following lines according to yourUbuntu-Version:78 ed aggiungi una delle linee seguenti in base alla tua versione di Ubuntu: 79 79 80 80 {{{#!sh … … 90 90 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt bionic universe 91 91 92 # For other Debian baseddistributions add:92 # Per le altre distribuzioni basate su Debian aggiungi: 93 93 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt alldist universe 94 94 }}} 95 95 96 Alternatively, this can be done with the following one-linerin Ubuntu(not for Ubuntu baseddistributions likeLinux Mint):96 In alternativa, tutto ciò può essere fatto in Ubuntu con la seguente linea di comando unica (non per le distribuzioni basate su Ubuntu tipo Linux Mint): 97 97 {{{#!sh 98 98 echo "deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt $(lsb_release -sc) universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null 99 99 }}} 100 o r for Linux Mint:100 o per Linux Mint: 101 101 {{{#!sh 102 102 echo "deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt $(grep ^DISTRIB_CODENAME= /etc/upstream-release/lsb-release| awk -F = '{print $(2)}') universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null … … 111 111 }}} 112 112 113 Download the[/josm-apt.keypublic key]:114 {{{#!sh 115 # Crea te the directory formanually downloaded keys if it was not already created113 Scarica la [/josm-apt.key chiave pubblica]: 114 {{{#!sh 115 # Creare la cartella per le chiavi scaricate manualmente se non è già stata creata 116 116 sudo mkdir -p /usr/local/share/keyrings 117 # Download the key117 # Scarica la chiave 118 118 wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor -o /usr/local/share/keyrings/josm-apt.gpg 119 119 }}} 120 In the past, instructions used`apt-key`.If the key was added to system's keyring, following line will remove it:120 In passato, era usata l'istruzione `apt-key`. Se la chiave è stata aggiunta al portachiavi di sistema, la linea di comando seguente la rimuoverà: 121 121 {{{#!sh 122 122 sudo apt-key del $(apt-key list | grep -B1 "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57) 123 123 }}} 124 124 125 Now refresh your sources:126 {{{#!sh 127 # You may need toinstallssl supportfor apt in advance:125 Ora aggiorna i sorgenti dei pacchetti: 126 {{{#!sh 127 # Prima potresti aver bisogno di installare il supporto ssl per apt: 128 128 sudo apt-get install apt-transport-https 129 # Refresh sources129 # Aggiorna i sorgenti 130 130 sudo apt-get update 131 131 }}} 132 132 133 and install:134 {{{#!sh 135 # You can skip this first line if these packages were notinstalled before.133 ed installa: 134 {{{#!sh 135 # Puoi saltare questa prima linea se questi pacchetti non sono mai stati installati. 136 136 sudo apt-get remove josm josm-plugins 137 137 138 # For the testedversion138 # Per la versione testata 139 139 sudo apt-get install josm 140 # For the developmentversion140 # Per la versione in sviluppo 141 141 sudo apt-get install josm-latest 142 142 }}}
