mkgmap-splitter command not found

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

Introduction

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

mkgmap-splitter: command not found

or when using sudo you get the following error message

sudo: mkgmap-splitter: command not found

Solutions to mkgmap-splitter: command not found

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

In Ubuntu mkgmap-splitter is provided by mkgmap-splitter package.

mkgmap-splitter is:

This program splits OpenStreetMap data into smaller tiles to fit within the Garmin map format limits as created by mkmap.

Main features:

  • Variable sized tiles so that you don’t get a large number of tiny files.
  • Tiles join exactly with no overlap or gaps.

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

sudo apt-get -y install mkgmap-splitter

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

You can also use apt command to install mkgmap-splitter.

sudo apt -y install mkgmap-splitter

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

sudo aptitude install mkgmap-splitter

Summary

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