opj_jp3d_decompress command not found

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

Introduction

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

opj_jp3d_decompress: command not found

or when using sudo you get the following error message

sudo: opj_jp3d_decompress: command not found

Solutions to opj_jp3d_decompress: command not found

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

In Ubuntu opj_jp3d_decompress is provided by libopenjp3d-tools package.

libopenjp3d-tools is:

This package provides with command-line tools allowing for conversions between several formats and also provides tools for encoding and decoding jpeg 3D formats:

  • opj_jp3d_compress: compress into JP3D volume
  • opj_jp3d_decompress: decompress JP3D volume

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

sudo apt-get -y install libopenjp3d-tools

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

You can also use apt command to install libopenjp3d-tools.

sudo apt -y install libopenjp3d-tools

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

sudo aptitude install libopenjp3d-tools

Summary

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