Changes between Version 7 and Version 8 of It:Download


Ignore:
Timestamp:
2023-04-24T10:28:20+02:00 (3 years ago)
Author:
mendem@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • It:Download

    v7 v8  
    5555
    5656
    57 == Linux Repositories ==
    58 === JOSM's Debian based mainly for Ubuntu ===#Ubuntu
    59 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 than Ubuntu.
    60 
    61 The repository contains two packages:
    62 * ''josm'' – Provides the tested version (stable). Replaces the package from the official repository of your distribution. 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` as config file for [wikitr:Help/CommandLineOptions#Javaoptions java options].
    65 
    66 In addition to the regular procedure described below, older DEBs can be manually downloaded from the [/apt/pool/universe/j/ archives].
    67 
    68 ==== Installation ====
    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
     59Questo è 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
     61Il 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`.
     64Entrambi 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
     66Oltre alla normale procedura descritta di seguito, i DEB precedenti possono essere scaricati manualmente dagli [/apt/pool/universe/j/ archivi dei file].
     67
     68==== Installazione ====
     69Modifica la lista delle risorse dei pacchetti `/etc/apt/sources.list.d/josm.list`:
    7070{{{#!sh
    7171sudo editor /etc/apt/sources.list.d/josm.list
     
    7676}}}
    7777
    78 and add one of the following lines according to your Ubuntu-Version:
     78ed aggiungi una delle linee seguenti in base alla tua versione di Ubuntu:
    7979
    8080{{{#!sh
     
    9090deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt bionic universe
    9191
    92 # For other Debian based distributions add:
     92# Per le altre distribuzioni basate su Debian aggiungi:
    9393deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt alldist universe
    9494}}}
    9595
    96 Alternatively, this can be done with the following one-liner in Ubuntu (not for Ubuntu based distributions like Linux Mint):
     96In 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):
    9797{{{#!sh
    9898echo "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
    9999}}}
    100 or for Linux Mint:
     100o per Linux Mint:
    101101{{{#!sh
    102102echo "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
     
    111111}}}
    112112
    113 Download the [/josm-apt.key public key]:
    114 {{{#!sh
    115 # Create the directory for manually downloaded keys if it was not already created
     113Scarica la [/josm-apt.key chiave pubblica]:
     114{{{#!sh
     115# Creare la cartella per le chiavi scaricate manualmente se non è già stata creata
    116116sudo mkdir -p /usr/local/share/keyrings
    117 # Download the key
     117# Scarica la chiave
    118118wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor -o /usr/local/share/keyrings/josm-apt.gpg
    119119}}}
    120 In the past, instructions used `apt-key`. If the key was added to system's keyring, following line will remove it:
     120In passato, era usata l'istruzione `apt-key`. Se la chiave è stata aggiunta al portachiavi di sistema, la linea di comando seguente la rimuoverà:
    121121{{{#!sh
    122122sudo apt-key del $(apt-key list | grep -B1  "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57)
    123123}}}
    124124
    125 Now refresh your sources:
    126 {{{#!sh
    127 # You may need to install ssl support for apt in advance:
     125Ora aggiorna i sorgenti dei pacchetti:
     126{{{#!sh
     127# Prima potresti aver bisogno di installare il supporto ssl per apt:
    128128sudo apt-get install apt-transport-https
    129 # Refresh sources
     129# Aggiorna i sorgenti
    130130sudo apt-get update
    131131}}}
    132132
    133 and install:
    134 {{{#!sh
    135 # You can skip this first line if these packages were not installed before.
     133ed installa:
     134{{{#!sh
     135# Puoi saltare questa prima linea se questi pacchetti non sono mai stati installati.
    136136sudo apt-get remove josm josm-plugins
    137137
    138 # For the tested version
     138# Per la versione testata
    139139sudo apt-get install josm
    140 # For the development version
     140# Per la versione in sviluppo
    141141sudo apt-get install josm-latest
    142142}}}