printemf command not found

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

Introduction

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

printemf: command not found

or when using sudo you get the following error message

sudo: printemf: command not found

Solutions to printemf: command not found

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

In Ubuntu printemf is provided by printemf package.

printemf is:

libEMF is a C/C++ library which provides a drawing toolkit based on ECMA-234. The general purpose of this library is to create vector graphics files on POSIX systems which can be imported into OpenOffice.org or LibreOffice. Times have changed, though. These days, you can import SVGs, or even PDFs, into OpenOffice or LibreOffice. Those are much better choices than EMF files.

This package contains a tiny executable exposing some of libEMF’s capabilities to the command line.

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

sudo apt-get -y install printemf

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

You can also use apt command to install printemf.

sudo apt -y install printemf

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

sudo aptitude install printemf

Summary

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