How To Install libjruby-joni-java on Debian 10

Learn how to install libjruby-joni-java on Debian 10 with this tutorial. libjruby-joni-java is Java port of Oniguruma regexp library

Introduction

In this tutorial we learn how to install libjruby-joni-java on Debian 10.

What is libjruby-joni-java

libjruby-joni-java is:

Oniguruma is a regular expressions library. The characteristics of this library is that different character encoding for every regular expression object can be specified. The supported APIs are GNU regex, POSIX, and Oniguruma native.

There are three methods to install libjruby-joni-java on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libjruby-joni-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 libjruby-joni-java using apt-get by running the following command:

sudo apt-get -y install libjruby-joni-java

Install libjruby-joni-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjruby-joni-java

Install libjruby-joni-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libjruby-joni-java

How To Uninstall libjruby-joni-java on Debian 10

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

sudo apt-get remove libjruby-joni-java

Uninstall libjruby-joni-java And Its Dependencies

To uninstall libjruby-joni-java and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libjruby-joni-java

Remove libjruby-joni-java Configurations and Data

To remove libjruby-joni-java configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libjruby-joni-java

Remove libjruby-joni-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjruby-joni-java

Dependencies

libjruby-joni-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libjruby-joni-java package on Debian 10 using different package management tools: apt, apt-get and aptitude.