How To Install astcenc on Debian 11

In this tutorial we learn how to install astcenc on Debian 11. astcenc is ASTC image compression and decompression tool

Introduction

In this tutorial we learn how to install astcenc on Debian 11.

What is astcenc

astcenc 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 command-line tool to compress and decompress images.

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

Install astcenc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install astcenc

Install astcenc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install astcenc

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

sudo aptitude -y install astcenc

How To Uninstall astcenc on Debian 11

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

sudo apt-get remove astcenc

Uninstall astcenc And Its Dependencies

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

sudo apt-get -y autoremove astcenc

Remove astcenc Configurations and Data

To remove astcenc configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge astcenc

Remove astcenc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge astcenc

Dependencies

astcenc have the following dependencies:

References

Summary

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