opj_jpip_viewer command not found

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

Introduction

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

opj_jpip_viewer: command not found

or when using sudo you get the following error message

sudo: opj_jpip_viewer: command not found

Solutions to opj_jpip_viewer: command not found

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

In Ubuntu opj_jpip_viewer is provided by libopenjpip-viewer package.

libopenjpip-viewer is:

Java based client to view remote JPEG 2000 using JPIP protocol. This is a simple java viewer to allow:

  • Scale up request: Enlarge the window
  • ROI request: Select a region by mouse click and drag, then click inside the red frame of the selected region
  • Annotate image with ROI information in XML metadata: Click button “Region Of Interest”
  • Open a new window presenting an aligned image with a locally stored image: Click button “Image Registration” (Under Construction)

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

sudo apt-get -y install libopenjpip-viewer

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

You can also use apt command to install libopenjpip-viewer.

sudo apt -y install libopenjpip-viewer

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

sudo aptitude install libopenjpip-viewer

Summary

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