How To Install libancient2 on Debian 12

Learn how to install libancient2 on Debian 12 with this tutorial. libancient2 is decompression routines for ancient formats

Introduction

In this tutorial we learn how to install libancient2 on Debian 12.

What is libancient2

libancient2 is:

This is a collection of decompression routines for old formats popular in the Amiga, Atari computers and some other systems from 80’s and 90’s as well as some that are currently used which were used in a some specific way in these old systems.

For simple usage both a simple command line application as well as a simple API to use the decompressors are provided. The compression algorithm is automatically detected in most cases, however there are some corner cases where it is not entirely reliable due to weaknesses in the old format used.

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

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

sudo apt-get update

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

sudo apt-get -y install libancient2

Install libancient2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libancient2 using apt by running the following command:

sudo apt -y install libancient2

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

sudo aptitude -y install libancient2

How To Uninstall libancient2 on Debian 12

To uninstall only the libancient2 package we can use the following command:

sudo apt-get remove libancient2

Uninstall libancient2 And Its Dependencies

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

sudo apt-get -y autoremove libancient2

Remove libancient2 Configurations and Data

To remove libancient2 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libancient2

Remove libancient2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libancient2

Dependencies

libancient2 have the following dependencies:

References

Summary

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