Skip to content

Commit

Permalink
formatting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ValorNaram committed Dec 28, 2021
1 parent 429be01 commit f47abec
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions docs/install-josm/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,44 @@ Alternatively you can use your software center if it's set up for Flatpak.

1. Register the official JOSM repository

```bash
echo "deb https://josm.openstreetmap.de/apt alldist universe" > /etc/apt/sources.list.d/josm.list
```
```bash
echo "deb https://josm.openstreetmap.de/apt alldist universe" > /etc/apt/sources.list.d/josm.list
```

2. Register the public key of that repository<br/>
using `wget`\
using `wget`

```bash
wget -q https://josm.openstreetmap.de/josm-apt.key -O- > /etc/apt/trusted.gpg.d/josm.gpg
```
```bash
wget -q https://josm.openstreetmap.de/josm-apt.key -O- > /etc/apt/trusted.gpg.d/josm.gpg
```

or using `curl`
or using `curl`

```bash
curl https://josm.openstreetmap.de/josm-apt.key > /etc/apt/trusted.gpg.d/josm.gpg
```
```bash
curl https://josm.openstreetmap.de/josm-apt.key > /etc/apt/trusted.gpg.d/josm.gpg
```

3. Refresh the sources

```bash
sudo apt update
```
```bash
sudo apt update
```

4. Install JOSM

```bash
sudo apt install josm
```
```bash
sudo apt install josm
```

### OpenSUSE

1. Grab the version

```bash
version=`cat /etc/os-release | grep "VERSION_ID"`
version=${version/VERSION_ID=/}
version=${version//\"/}
```
```bash
version=`cat /etc/os-release | grep "VERSION_ID"`
version=${version/VERSION_ID=/}
version=${version//\"/}
```

2. Add Geo repository

Expand Down

0 comments on commit f47abec

Please sign in to comment.