How To Install libopenjpip-viewer on Ubuntu 18.04

In this tutorial we learn how to install libopenjpip-viewer on Ubuntu 18.04. libopenjpip-viewer is JPEG 2000 java based viewer for advanced remote JPIP access

Introduction

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

What is libopenjpip-viewer

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)

There are three methods to install libopenjpip-viewer 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-viewer 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-viewer using apt-get by running the following command:

sudo apt-get -y install libopenjpip-viewer

Install libopenjpip-viewer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopenjpip-viewer

Install libopenjpip-viewer 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-viewer using aptitude by running the following command:

sudo aptitude -y install libopenjpip-viewer

How To Uninstall libopenjpip-viewer on Ubuntu 18.04

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

sudo apt-get remove libopenjpip-viewer

Uninstall libopenjpip-viewer And Its Dependencies

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

sudo apt-get -y autoremove libopenjpip-viewer

Remove libopenjpip-viewer Configurations and Data

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

sudo apt-get -y purge libopenjpip-viewer

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

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

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

References

Summary

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