How To Install libastcenc1d on Ubuntu 22.04

In this tutorial we learn how to install libastcenc1d on Ubuntu 22.04. libastcenc1d is ASTC image compression and decompression library

Introduction

In this tutorial we learn how to install libastcenc1d on Ubuntu 22.04.

What is libastcenc1d

libastcenc1d 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 libastcenc1d on Ubuntu 22.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 libastcenc1d Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libastcenc1d

Install libastcenc1d Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libastcenc1d

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

sudo aptitude -y install libastcenc1d

How To Uninstall libastcenc1d on Ubuntu 22.04

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

sudo apt-get remove libastcenc1d

Uninstall libastcenc1d And Its Dependencies

To uninstall libastcenc1d and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libastcenc1d

Remove libastcenc1d Configurations and Data

To remove libastcenc1d configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libastcenc1d

Remove libastcenc1d configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libastcenc1d

References

Summary

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