josm command not found

In this troubleshooting guide we learn how to fix josm command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

josm: command not found

or when using sudo you get the following error message

sudo: josm: command not found

Solutions to josm: command not found

How To Fix josm: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu josm is provided by josm package.

josm is:

JOSM is an editor for OpenStreetMap (OSM) written in Java. The current version supports stand alone GPX tracks, GPX track data from OSM database and existing nodes, line segments and metadata tags from the OSM database.

OpenStreetMap is a project aimed squarely at creating and providing free geographic data such as street maps to anyone who wants them. The project was started because most maps you think of as free actually have legal or technical restrictions on their use, holding back people from using them in creative, productive or unexpected ways.

To fix this problem, we can install more using the command below.

sudo apt-get -y install josm

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install josm.

sudo apt -y install josm

Or if you have aptitude installed you can use the following command.

sudo aptitude install josm

Summary

In this tutorial we learn how to fix josm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.