tjunittest command not found

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

Introduction

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

tjunittest: command not found

or when using sudo you get the following error message

sudo: tjunittest: command not found

Solutions to tjunittest: command not found

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

In Ubuntu tjunittest is provided by libjpeg-turbo-test package.

libjpeg-turbo-test is:

This package contains tjunittest and tjbench. tjunittest tests the basic functionality of the library and data files for performing those tests. tjbench runs some benchmarks.

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

sudo apt-get -y install libjpeg-turbo-test

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

You can also use apt command to install libjpeg-turbo-test.

sudo apt -y install libjpeg-turbo-test

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

sudo aptitude install libjpeg-turbo-test

Summary

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