How To Install libminidns-java on Debian 12

Learn how to install libminidns-java on Debian 12 with this tutorial. libminidns-java is minimal DNS client library for Android and Java SE

Introduction

In this tutorial we learn how to install libminidns-java on Debian 12.

What is libminidns-java

libminidns-java is:

MiniDNS can parse resource records (A, AAAA, NS, SRV, etc.) and is easy to use and extend. MiniDNS aims to be secure, modular, light weight and as simple as possible. It also provides support for DNSSEC and DANE, and is thus useful if you want to bring DNSSEC close to your application.

It comes with a pluggable cache mechanism, a pre-configured cache and an easy to use high-level API (minidns-hla) for those who just want to perform a reliable lookup of a domain name.

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

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

sudo apt-get -y install libminidns-java

Install libminidns-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libminidns-java

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

sudo aptitude -y install libminidns-java

How To Uninstall libminidns-java on Debian 12

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

sudo apt-get remove libminidns-java

Uninstall libminidns-java And Its Dependencies

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

sudo apt-get -y autoremove libminidns-java

Remove libminidns-java Configurations and Data

To remove libminidns-java configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libminidns-java

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

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

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

Dependencies

libminidns-java have the following dependencies:

References

Summary

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