How To Install josm on CentOS 7

In this tutorial we learn how to install josm on CentOS 7. josm is An editor for OpenStreetMap (OSM)

Introduction

In this tutorial we learn how to install josm on CentOS 7.

What is josm

JOSM is an editor for OpenStreetMap (OSM) written in Java Currently it supports loading stand alone GPX track data from the OSM database, loading and editing existing nodes, ways, metadata tags and relations. 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.

We can use yum or dnf to install josm on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install josm.

Install josm on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install josm using yum by running the following command:

sudo yum -y install josm

Install josm on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install josm using dnf by running the following command:

sudo dnf -y install josm

How To Uninstall josm on CentOS 7

To uninstall only the josm package we can use the following command:

sudo dnf remove josm

References

Summary

In this tutorial we learn how to install josm on CentOS 7 using yum and dnf.