How To Install libastcenc3d on Debian 12

Learn how to install libastcenc3d on Debian 12 with this tutorial. libastcenc3d is ASTC image compression and decompression library

Introduction

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

What is libastcenc3d

libastcenc3d is:

The Adaptive Scalable Texture Compression (ASTC) format, developed by Arm? and AMD, has been adopted as an official extension to the Open GL?, OpenGL ES, and Vulkan? graphics APIs. It provides a major step forward both in terms of image quality at a given bitrate, and in terms of the format and bitrate flexibility available to content creators. This allows more assets to use compression, often at a reduced bitrate compared to legacy formats, reducing memory bandwidth and energy consumption.

This package provides the runtime library for ASTC support.

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

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

sudo apt-get update

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

sudo apt-get -y install libastcenc3d

Install libastcenc3d Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libastcenc3d

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

sudo aptitude -y install libastcenc3d

How To Uninstall libastcenc3d on Debian 12

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

sudo apt-get remove libastcenc3d

Uninstall libastcenc3d And Its Dependencies

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

sudo apt-get -y autoremove libastcenc3d

Remove libastcenc3d Configurations and Data

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

sudo apt-get -y purge libastcenc3d

Remove libastcenc3d configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libastcenc3d

Dependencies

libastcenc3d have the following dependencies:

References

Summary

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