How To Install libjxr0 on Ubuntu 20.04

In this tutorial we learn how to install libjxr0 on Ubuntu 20.04. libjxr0 is JPEG-XR lib - libraries

Introduction

In this tutorial we learn how to install libjxr0 on Ubuntu 20.04.

What is libjxr0

libjxr0 is:

JPEG XR is an approved ISO/IEC International standard (its official designation is ISO/IEC 29199-2).

JPEG XR started its life in Microsoft Research. It publicly first appeared as the HD Photo format in Windows Vista.

For web developers, JPEG XR has a large number of interesting features, see the table below. Some of these are big advantages over other image formats like JPEG, PNG, OpenEXR, and TIFF.

  • Better Compression (40% smaller than JPEG)
  • Lossless Mode (better compression than PNG)
  • Alpha Channel (compress color lossy and alpha losslessly)
  • Extended Bitdepth (supports 8-, 16-, and 32-bit/channel)
  • Progressive Decode
  • Advanced Decoding Features (tile-based layout, for efficient region-of-interest access.) Task: ubuntustudio-publishing

There are three methods to install libjxr0 on Ubuntu 20.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 libjxr0 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libjxr0

Install libjxr0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjxr0 using apt by running the following command:

sudo apt -y install libjxr0

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

sudo aptitude -y install libjxr0

How To Uninstall libjxr0 on Ubuntu 20.04

To uninstall only the libjxr0 package we can use the following command:

sudo apt-get remove libjxr0

Uninstall libjxr0 And Its Dependencies

To uninstall libjxr0 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libjxr0

Remove libjxr0 Configurations and Data

To remove libjxr0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libjxr0

Remove libjxr0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjxr0

References

Summary

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