Changes between Version 191 and Version 192 of Download
- Timestamp:
- 2022-06-25T16:26:34+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download
v191 v192 76 76 77 77 {{{#!sh 78 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt jammy universe79 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt impish universe80 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt hirsute universe81 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt groovy universe82 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt focal universe83 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt eoan universe84 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt disco universe85 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt bionic universe78 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt jammy universe 79 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt impish universe 80 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt hirsute universe 81 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt groovy universe 82 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt focal universe 83 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt eoan universe 84 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt disco universe 85 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt bionic universe 86 86 87 87 # For other Debian based distributions add: 88 deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt alldist universe88 deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt alldist universe 89 89 }}} 90 90 91 91 Alternatively, this can be done with the following one-liner in Ubuntu (not for Ubuntu based distributions like Linux Mint): 92 {{{ 93 echo "deb [signed-by=/usr/local/share/keyrings/josm-apt. key] https://josm.openstreetmap.de/apt $(lsb_release -sc) universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null92 {{{#!sh 93 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 94 94 }}} 95 95 or for Linux Mint: 96 {{{ 97 echo "deb [signed-by=/usr/local/share/keyrings/josm-apt. key] 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/null96 {{{#!sh 97 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 98 98 }}} 99 99 … … 101 101 ### below did not work on all systems 102 102 and add the following line: 103 `deb [signed-by=/usr/local/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt VERSION universe` 103 {{{#!sh 104 `deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt VERSION universe` 105 }}} 104 106 }}} 105 107 106 108 Download the [/josm-apt.key public key]: 107 109 {{{#!sh 108 # create thelocaldirectory for keys if it was not already created110 # Create the directory for manually downloaded keys if it was not already created 109 111 sudo mkdir -p /usr/local/share/keyrings 110 # download the key 111 wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor > /usr/local/share/keyrings/josm.gpg 112 # Download the key 113 wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor > /usr/local/share/keyrings/josm-apt.gpg 114 }}} 115 In the past, instructions used `apt-key`. If the key was added to system's keyring, following line will remove it: 116 {{{#!sh 117 sudo apt-key del $(apt-key list | grep -B1 "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57) 112 118 }}} 113 119 114 120 Now refresh your sources: 115 121 {{{#!sh 116 # you may need to install ssl support for apt in advance:122 # You may need to install ssl support for apt in advance: 117 123 sudo apt-get install apt-transport-https 118 # refresh sources124 # Refresh sources 119 125 sudo apt-get update 120 126 }}} … … 127 133 # For the tested version 128 134 sudo apt-get install josm 129 # for the development version135 # For the development version 130 136 sudo apt-get install josm-latest 131 137 }}} … … 145 151 146 152 First add as root user in yast or with zypper the repository: 147 {{{ 153 {{{#!sh 148 154 zypper ar -f 'https://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_$releasever' Application:Geo 149 155 }}}