wmf2svg command not found

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

Introduction

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

wmf2svg: command not found

or when using sudo you get the following error message

sudo: wmf2svg: command not found

Solutions to wmf2svg: command not found

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

In Ubuntu wmf2svg is provided by libwmf-bin package.

libwmf-bin is:

Windows metafile (WMF) is a picture format used by many Windows programs, e.g. Microsoft Word. libwmf is a library for interpreting metafile images and either displaying them using X or converting them to standard formats such as PNG, JPEG, PS, EPS and SVG(Z)…

This package contains several frontends to libwmf (wmf2x, wmf2gd, wmf2fig, wmf2eps, wmf2svg).

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

sudo apt-get -y install libwmf-bin

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

You can also use apt command to install libwmf-bin.

sudo apt -y install libwmf-bin

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

sudo aptitude install libwmf-bin

Summary

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