How To Install libtwelvemonkeys-java on Ubuntu 18.04

In this tutorial we learn how to install libtwelvemonkeys-java on Ubuntu 18.04. libtwelvemonkeys-java is collection of plugins and extensions for Javas ImageIO

Introduction

In this tutorial we learn how to install libtwelvemonkeys-java on Ubuntu 18.04.

What is libtwelvemonkeys-java

libtwelvemonkeys-java is:

These plugins extend the number of image file formats supported in Java, using the javax.imageio.* package. The main purpose of this project is to provide support for formats not covered by the JRE itself.

Supported image formats (read and write support may vary): BMP, JPEG, JPEG-2000, PNM, PSD, TIFF, HDR, IFF, PCX, PICT, SGI, TGA, ICNS, ICO & CUR, Thumbs.db, SVG and WMF.

There are three methods to install libtwelvemonkeys-java 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 libtwelvemonkeys-java Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libtwelvemonkeys-java

Install libtwelvemonkeys-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtwelvemonkeys-java

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

sudo aptitude -y install libtwelvemonkeys-java

How To Uninstall libtwelvemonkeys-java on Ubuntu 18.04

To uninstall only the libtwelvemonkeys-java package we can use the following command:

sudo apt-get remove libtwelvemonkeys-java

Uninstall libtwelvemonkeys-java And Its Dependencies

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

sudo apt-get -y autoremove libtwelvemonkeys-java

Remove libtwelvemonkeys-java Configurations and Data

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

sudo apt-get -y purge libtwelvemonkeys-java

Remove libtwelvemonkeys-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtwelvemonkeys-java

References

Summary

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