How To Install libtritonus-jni on Ubuntu 18.04

In this tutorial we learn how to install libtritonus-jni on Ubuntu 18.04. libtritonus-jni is implementation of the Java Sound API (jni shared libraries)

Introduction

In this tutorial we learn how to install libtritonus-jni on Ubuntu 18.04.

What is libtritonus-jni

libtritonus-jni is:

Tritonus is a clean room open source implementation of the Java Sound 1.0 API for Linux.

This package ships the optional jni shared libraries.

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

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

sudo apt-get update

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

sudo apt-get -y install libtritonus-jni

Install libtritonus-jni Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtritonus-jni

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

sudo aptitude -y install libtritonus-jni

How To Uninstall libtritonus-jni on Ubuntu 18.04

To uninstall only the libtritonus-jni package we can use the following command:

sudo apt-get remove libtritonus-jni

Uninstall libtritonus-jni And Its Dependencies

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

sudo apt-get -y autoremove libtritonus-jni

Remove libtritonus-jni Configurations and Data

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

sudo apt-get -y purge libtritonus-jni

Remove libtritonus-jni configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtritonus-jni

References

Summary

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