mi2svg command not found

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

Introduction

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

mi2svg: command not found

or when using sudo you get the following error message

sudo: mi2svg: command not found

Solutions to mi2svg: command not found

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

In Ubuntu mi2svg is provided by mi2svg package.

mi2svg is:

mi2svg is a free tool written in perl for creating svg (Scalable Vector Graphics) presentations of maps stored in MapInfo Interchange Format. Generated svg output uses same coordinates as the original mif input. Database entries of objects visible on the map are saved as class names, allowing accurate css styling of elements according to data from their database entry.

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

sudo apt-get -y install mi2svg

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

You can also use apt command to install mi2svg.

sudo apt -y install mi2svg

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

sudo aptitude install mi2svg

Summary

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