opj_jpip_addxml command not found

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

Introduction

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

opj_jpip_addxml: command not found

or when using sudo you get the following error message

sudo: opj_jpip_addxml: command not found

Solutions to opj_jpip_addxml: command not found

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

In Ubuntu opj_jpip_addxml is provided by libopenjpip-dec-server package.

libopenjpip-dec-server is:

This is client side application for caching remote JPEG 2000 using the JPIP protocol. This command line application needs to run on the client side to allow application such as opj_viewer to view images.

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

sudo apt-get -y install libopenjpip-dec-server

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

You can also use apt command to install libopenjpip-dec-server.

sudo apt -y install libopenjpip-dec-server

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

sudo aptitude install libopenjpip-dec-server

Summary

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