How To Install libjlibeps-java on Ubuntu 18.04

In this tutorial we learn how to install libjlibeps-java on Ubuntu 18.04. libjlibeps-java is Java library to create EPS images

Introduction

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

What is libjlibeps-java

libjlibeps-java is:

The jlibeps classes are a set of Java classes for creating EPS images.

They are suitable for creating high quality EPS graphics for use in documents and papers, and can be used just like a standard Graphics2D object within Java applications that are using AWT.

jlibeps is a fork of the last GPL version of the EpsGraphics2D package from jibble.org.

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

sudo apt-get -y install libjlibeps-java

Install libjlibeps-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjlibeps-java

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

sudo aptitude -y install libjlibeps-java

How To Uninstall libjlibeps-java on Ubuntu 18.04

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

sudo apt-get remove libjlibeps-java

Uninstall libjlibeps-java And Its Dependencies

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

sudo apt-get -y autoremove libjlibeps-java

Remove libjlibeps-java Configurations and Data

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

sudo apt-get -y purge libjlibeps-java

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

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

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

References

Summary

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