mkgmap command not found

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

Introduction

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

mkgmap: command not found

or when using sudo you get the following error message

sudo: mkgmap: command not found

Solutions to mkgmap: command not found

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

In Ubuntu mkgmap is provided by mkgmap package.

mkgmap is:

This program converts OpenStreetMap data into a map that can be loaded onto compatible Garmin GPS units.

Main features:

  • Full control which OSM data is integrated into the map (style system)
  • Full control how POIs, streets and all other elements are displayed (TYP file compiler)
  • Full address search support
  • Routing support
  • Many options for fine control over the map creation process

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

sudo apt-get -y install mkgmap

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

You can also use apt command to install mkgmap.

sudo apt -y install mkgmap

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

sudo aptitude install mkgmap

Summary

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