tjbench command not found

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

Introduction

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

tjbench: command not found

or when using sudo you get the following error message

sudo: tjbench: command not found

Solutions to tjbench: command not found

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

In Ubuntu tjbench 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 tjbench command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.