How To Install libopenjpip-server on Ubuntu 18.04

In this tutorial we learn how to install libopenjpip-server on Ubuntu 18.04. libopenjpip-server is JPIP server for JPEG 2000 files

Introduction

In this tutorial we learn how to install libopenjpip-server on Ubuntu 18.04.

What is libopenjpip-server

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

There are three methods to install libopenjpip-server on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libopenjpip-server Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libopenjpip-server using apt-get by running the following command:

sudo apt-get -y install libopenjpip-server

Install libopenjpip-server Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libopenjpip-server using apt by running the following command:

sudo apt -y install libopenjpip-server

Install libopenjpip-server Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libopenjpip-server using aptitude by running the following command:

sudo aptitude -y install libopenjpip-server

How To Uninstall libopenjpip-server on Ubuntu 18.04

To uninstall only the libopenjpip-server package we can use the following command:

sudo apt-get remove libopenjpip-server

Uninstall libopenjpip-server And Its Dependencies

To uninstall libopenjpip-server and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libopenjpip-server

Remove libopenjpip-server Configurations and Data

To remove libopenjpip-server configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libopenjpip-server

Remove libopenjpip-server configuration, data, and all of its dependencies

We can use the following command to remove libopenjpip-server configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libopenjpip-server

References

Summary

In this tutorial we learn how to install libopenjpip-server package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.