opj_server command not found

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

Introduction

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

opj_server: command not found

or when using sudo you get the following error message

sudo: opj_server: command not found

Solutions to opj_server: command not found

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

In Ubuntu opj_server is provided by libopenjpip-server package.

libopenjpip-server is:

OpenJPIP software is an implementation of JPEG 2000 Part9: Interactivity tools, APIs and protocols (JPIP). For more info about JPIP, check the website: http://www.jpeg.org/jpeg2000/j2kpart9.html. The current implementation uses some results from the 2KAN project (http://www.2kan.org).

First Version covers:

  • JPT-stream (Tile based) and JPP-stream (Precinct based) media types
  • Session, channels, cache model managements
  • JPIP over HTTP
  • Indexing JPEG 2000 files
  • Embedding XML formatted metadata
  • Region Of Interest (ROI) requests

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

sudo apt-get -y install libopenjpip-server

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

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

sudo apt -y install libopenjpip-server

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

sudo aptitude install libopenjpip-server

Summary

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