How To Install etc1tool on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 377 words
Introduction
In this tutorial we learn how to install etc1tool
on Ubuntu.
What is etc1tool
etc1tool is:
etc1tool is a command line utility that lets you encode PNG images to the ETC1 compression standard and decode ETC1 compressed images back to PNG. It is part of the Android SDK for working with media files for game apps. The standard for the ETC1 texture format is here: http://www.khronos.org/registry/gles/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt
There are three methods to install etc1tool
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install etc1tool Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install etc1tool
using apt-get
by running the following command:
sudo apt-get -y install etc1tool
Install etc1tool Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install etc1tool
using apt
by running the following command:
sudo apt -y install etc1tool
Install etc1tool 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 etc1tool
using aptitude
by running the following command:
sudo aptitude -y install etc1tool
How To Uninstall etc1tool on Ubuntu
To uninstall only the etc1tool
package we can use the following command:
sudo apt-get remove etc1tool
Uninstall etc1tool And Its Dependencies
To uninstall etc1tool
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove etc1tool
Remove etc1tool Configurations and Data
To remove etc1tool
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge etc1tool
Remove etc1tool configuration, data, and all of its dependencies
We can use the following command to remove etc1tool
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge etc1tool
Dependencies
etc1tool have the following dependencies:
References
Summary
In this tutorial we learn how to install etc1tool
package on Ubuntu using different package management tools: apt, apt-get and aptitude.