libwmf-config command not found

In this troubleshooting guide we learn how to fix libwmf-config command not found error message

Introduction

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

libwmf-config: command not found

or when using sudo you get the following error message

sudo: libwmf-config: command not found

Solutions to libwmf-config: command not found

How To Fix libwmf-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu libwmf-config is provided by libwmf-dev package.

libwmf-dev 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 the static library and header files.

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

sudo apt-get -y install libwmf-dev

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

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

sudo apt -y install libwmf-dev

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

sudo aptitude install libwmf-dev

Summary

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