How To Install libglapi-mesa on Kali Linux

In this tutorial we learn how to install libglapi-mesa on Kali Linux. libglapi-mesa is free implementation of the GL API – shared library

Introduction

In this tutorial we learn how to install libglapi-mesa on Kali Linux.

What is libglapi-mesa

libglapi-mesa is:

The Mesa GL API module is responsible for dispatching all the gl* functions. It is intended to be mainly used by both the libgles1-mesa and libgles2-mesa packages.

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

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

sudo apt-get update

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

sudo apt-get -y install libglapi-mesa

Install libglapi-mesa Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libglapi-mesa

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

sudo aptitude -y install libglapi-mesa

How To Uninstall libglapi-mesa on Kali Linux

To uninstall only the libglapi-mesa package we can use the following command:

sudo apt-get remove libglapi-mesa

Uninstall libglapi-mesa And Its Dependencies

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

sudo apt-get -y autoremove libglapi-mesa

Remove libglapi-mesa Configurations and Data

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

sudo apt-get -y purge libglapi-mesa

Remove libglapi-mesa configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libglapi-mesa

Dependencies

libglapi-mesa have the following dependencies:

References

Summary

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