How To Install glx-diversions on Kali Linux

In this tutorial we learn how to install glx-diversions on Kali Linux. glx-diversions is prepare for using accelerated GLX implementations from GPU vendors

Introduction

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

What is glx-diversions

glx-diversions is:

Diverts the free libGL.so implementation (MESA) and the xserver module libglx.so (Xorg), preparing the system for plugging in accelerated implementations from GPU vendors via alternatives, see the glx-alternative-* packages.

There are three methods to install glx-diversions 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 glx-diversions Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install glx-diversions

Install glx-diversions Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install glx-diversions

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

sudo aptitude -y install glx-diversions

How To Uninstall glx-diversions on Kali Linux

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

sudo apt-get remove glx-diversions

Uninstall glx-diversions And Its Dependencies

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

sudo apt-get -y autoremove glx-diversions

Remove glx-diversions Configurations and Data

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

sudo apt-get -y purge glx-diversions

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

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

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

Dependencies

glx-diversions have the following dependencies:

References

Summary

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