jbig2dec command not found

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

Introduction

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

jbig2dec: command not found

or when using sudo you get the following error message

sudo: jbig2dec: command not found

Solutions to jbig2dec: command not found

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

In Ubuntu jbig2dec is provided by jbig2dec package.

jbig2dec is:

jbig2dec is a decoder library and example utility implementing the JBIG2 bi-level image compression spec. Also known as ITU T.88 and ISO IEC 14492, and included by reference in Adobe’s PDF version 1.4 and later.

This package contains the command-line utility jbig2dec.

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

sudo apt-get -y install jbig2dec

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

You can also use apt command to install jbig2dec.

sudo apt -y install jbig2dec

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

sudo aptitude install jbig2dec

Summary

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