astcenc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
astcenc: command not found
or when using sudo you get the following error message
sudo: astcenc: command not found
Solutions to astcenc: command not found
How To Fix astcenc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu astcenc is provided by astcenc package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install astcenc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install astcenc.
sudo apt -y install astcenc
Or if you have aptitude installed you can use the following command.
sudo aptitude install astcenc
Summary
In this tutorial we learn how to fix astcenc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.