How To Install update-glx on Kali Linux

In this tutorial we learn how to install update-glx on Kali Linux. update-glx is utility for switching the GLX implementation

Introduction

In this tutorial we learn how to install update-glx on Kali Linux.

What is update-glx

update-glx is:

In setups with several GLX providers (e.g. the free MESA implementation and proprietary graphics hardware vendor implementations) this utility allows one to switch between the different implementations.

Use ‘update-glx –config glx’ to select an implementation.

In addition to updating the alternatives, this will trigger further actions needed to complete the switch.

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

Install update-glx Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install update-glx

Install update-glx Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install update-glx

Install update-glx Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install update-glx using aptitude by running the following command:

sudo aptitude -y install update-glx

How To Uninstall update-glx on Kali Linux

To uninstall only the update-glx package we can use the following command:

sudo apt-get remove update-glx

Uninstall update-glx And Its Dependencies

To uninstall update-glx and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove update-glx

Remove update-glx Configurations and Data

To remove update-glx configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge update-glx

Remove update-glx configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge update-glx

Dependencies

update-glx have the following dependencies:

References

Summary

In this tutorial we learn how to install update-glx package on Kali Linux using different package management tools: apt, apt-get and aptitude.