How To Install josm-plugins on Debian 9
Introduction
In this tutorial we learn how to install josm-plugins on Debian 9.
What is josm-plugins
josm-plugins is:
JOSM (Java OpenStreetMap) plugin collection.
This package contains the following plugins:
- colorscheme - Allows creating different color schemes.
- measurement - Adds a dialog and a layer to measure length and angle of segments and create measurement paths.
- openvisible - Allows opening gpx and osm files that intersect the currently visible screen area.
- cadastre-fr - A special handler for the French land registry WMS server.
- DirectUpload - Directly uploads GPS Traces from current active layer in JOSM to openstreetmap.org.
- editgpx - Anonymizes timestamps and deletes parts of huge GPX tracks very fast.
- lakewalker - Helps vectorizing WMS images.
- routing - Provides routing capabilities.
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.
There are three methods to install josm-plugins on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install josm-plugins Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install josm-plugins using apt-get by running the following command:
sudo apt-get -y install josm-plugins
Install josm-plugins Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install josm-plugins using apt by running the following command:
sudo apt -y install josm-plugins
Install josm-plugins Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install josm-plugins using aptitude by running the following command:
sudo aptitude -y install josm-plugins
How To Uninstall josm-plugins on Debian 9
To uninstall only the josm-plugins package we can use the following command:
sudo apt-get remove josm-plugins
Uninstall josm-plugins And Its Dependencies
To uninstall josm-plugins and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove josm-plugins
Remove josm-plugins Configurations and Data
To remove josm-plugins configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge josm-plugins
Remove josm-plugins configuration, data, and all of its dependencies
We can use the following command to remove josm-plugins configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge josm-plugins
Dependencies
josm-plugins have the following dependencies:
References
Summary
In this tutorial we learn how to install josm-plugins package on Debian 9 using different package management tools: apt, apt-get and aptitude.