Changes between Version 187 and Version 193 of Download


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v187 v193  
    5858
    5959The repository contains two packages:
    60 * ''josm'' – Provides the tested version (stable). Replaces the package from the official repository of your distribution.
     60* ''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`.
    6161* ''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`.
    6262
     
    6464
    6565==== Installation ====
    66 Edit the package resource list `/etc/apt/sources.list`:
    67 
    68 {{{#!sh
    69 sudo editor /etc/apt/sources.list
     66Edit the package resource list `/etc/apt/sources.list.d/josm.list`:
     67{{{#!sh
     68sudo editor /etc/apt/sources.list.d/josm.list
    7069}}}
    7170{{{#!comment
    7271### below does not work on GNU Debian systems
    73 `sudo $EDITOR /etc/apt/sources.list`
     72`sudo $EDITOR /etc/apt/sources.list.d/josm.list`
    7473}}}
    7574
     
    7776
    7877{{{#!sh
    79 deb https://josm.openstreetmap.de/apt jammy universe
    80 deb https://josm.openstreetmap.de/apt impish universe
    81 deb https://josm.openstreetmap.de/apt hirsute universe
    82 deb https://josm.openstreetmap.de/apt groovy universe
    83 deb https://josm.openstreetmap.de/apt focal universe
    84 deb https://josm.openstreetmap.de/apt eoan universe
    85 deb https://josm.openstreetmap.de/apt disco universe
    86 deb https://josm.openstreetmap.de/apt bionic universe
     78deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt jammy universe
     79deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt impish universe
     80deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt hirsute universe
     81deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt groovy universe
     82deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt focal universe
     83deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt eoan universe
     84deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt disco universe
     85deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt bionic universe
    8786
    8887# For other Debian based distributions add:
    89 deb https://josm.openstreetmap.de/apt alldist universe
     88deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt alldist universe
    9089}}}
    9190
    9291Alternatively, this can be done with the following one-liner in Ubuntu (not for Ubuntu based distributions like Linux Mint):
    93 {{{
    94 echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     92{{{#!sh
     93echo "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
    9594}}}
    9695or for Linux Mint:
    97 {{{
    98 echo deb 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
     96{{{#!sh
     97echo "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
    9998}}}
    10099
     
    102101### below did not work on all systems
    103102and add the following line:
    104 `deb https://josm.openstreetmap.de/apt VERSION universe`
    105 }}}
    106 
    107 Download and register the [/josm-apt.key public key]:
    108 {{{#!sh
    109 wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
    110 }}}
    111 
    112 
    113 Now refresh your sources (you may need to install `sudo apt-get install apt-transport-https`)
    114 {{{#!sh
     103{{{#!sh
     104`deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt VERSION universe`
     105}}}
     106}}}
     107
     108Download the [/josm-apt.key public key]:
     109{{{#!sh
     110# Create the directory for manually downloaded keys if it was not already created
     111sudo mkdir -p /usr/local/share/keyrings
     112# Download the key
     113wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor > /usr/local/share/keyrings/josm-apt.gpg
     114}}}
     115In the past, instructions used `apt-key`. If the key was added to system's keyring, following line will remove it:
     116{{{#!sh
     117sudo apt-key del $(apt-key list | grep -B1  "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57)
     118}}}
     119
     120Now refresh your sources:
     121{{{#!sh
     122# You may need to install ssl support for apt in advance:
     123sudo apt-get install apt-transport-https
     124# Refresh sources
    115125sudo apt-get update
    116126}}}
     127
    117128and install:
    118 
    119129{{{#!sh
    120130# You can skip this first line if these packages were not installed before.
     
    123133# For the tested version
    124134sudo apt-get install josm
    125 # for the development version
     135# For the development version
    126136sudo apt-get install josm-latest
    127137}}}
     
    129139
    130140=== GNU Debian ===#GNUDebian
    131 The tested version of [https://packages.debian.org/stable/josm JOSM] is available under **''main''** in section **''utils''**.
    132 
    133 Please, use the [https://backports.debian.org backports repository] to get the up to date version, see [https://backports.debian.org/Instructions Instructions].
    134 
    135 Alternatively, our own Ubuntu packages, [#Ubuntu above], work on Debian. Depending on the setup of `sudo`, some instruction will not work as "normal" user but only as `root`.
    136 
    137 Since Debian 11 (bullseye), [https://packages.debian.org/stable/josm-installer josm-installer] which downloads the .jar file from this site is an additional option for an up-to-date JOSM.
     141Our own Ubuntu packages, [#Ubuntu above], work on Debian and we recommend to use them. Depending on the setup of `sudo`, some instruction will not work as "normal" user but only as `root`.
     142
     143Since Debian 11 (bullseye) the [https://packages.debian.org/stable/josm-installer josm-installer] is available under **''main''** in section **''utils''**. It downloads the current .jar file from this site and updates it if necessary.
     144
     145The tested version of [https://packages.debian.org/stable/josm JOSM] is available under **''main''** in section **''utils''**, but the version is usually quiet old. \\
     146Please, use the [https://backports.debian.org backports repository] to get a more up-to-date version, see [https://backports.debian.org/Instructions Instructions]. Still this version might be quiet old.
    138147
    139148=== openSUSE  ===#Opensuse
     
    142151
    143152First add as root user in yast or with zypper the repository:
    144 {{{
     153{{{#!sh
    145154zypper ar -f 'https://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_$releasever' Application:Geo
    146155}}}