How To Install libtxc-dxtn-s2tc on Debian 9
Introduction
In this tutorial we learn how to install libtxc-dxtn-s2tc
on Debian 9.
What is libtxc-dxtn-s2tc
libtxc-dxtn-s2tc is:
S2TC is a patent-free S3TC compatible implementation and provides texture compression to Mesa.
The library is automatically loaded and adds the OpenGL extensions GL_S3_s3tc and GL_EXT_texture_compression_s3tc.
There are three methods to install libtxc-dxtn-s2tc
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libtxc-dxtn-s2tc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libtxc-dxtn-s2tc
using apt-get
by running the following command:
sudo apt-get -y install libtxc-dxtn-s2tc
Install libtxc-dxtn-s2tc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtxc-dxtn-s2tc
using apt
by running the following command:
sudo apt -y install libtxc-dxtn-s2tc
Install libtxc-dxtn-s2tc 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 libtxc-dxtn-s2tc
using aptitude
by running the following command:
sudo aptitude -y install libtxc-dxtn-s2tc
How To Uninstall libtxc-dxtn-s2tc on Debian 9
To uninstall only the libtxc-dxtn-s2tc
package we can use the following command:
sudo apt-get remove libtxc-dxtn-s2tc
Uninstall libtxc-dxtn-s2tc And Its Dependencies
To uninstall libtxc-dxtn-s2tc
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libtxc-dxtn-s2tc
Remove libtxc-dxtn-s2tc Configurations and Data
To remove libtxc-dxtn-s2tc
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libtxc-dxtn-s2tc
Remove libtxc-dxtn-s2tc configuration, data, and all of its dependencies
We can use the following command to remove libtxc-dxtn-s2tc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtxc-dxtn-s2tc
Dependencies
libtxc-dxtn-s2tc have the following dependencies:
References
Summary
In this tutorial we learn how to install libtxc-dxtn-s2tc
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.