How To Install libglapi-mesa on Ubuntu 20.04

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

Introduction

In this tutorial we learn how to install libglapi-mesa on Ubuntu 20.04.

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. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libglapi-mesa Status: install ok installed Priority: optional Section: libs Installed-Size: 295 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: mesa Version: 20.2.6-0ubuntu0.20.04.1 Depends: libc6 (>= 2.14) Description-en: free implementation of the GL API – shared library 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. Original-Maintainer: Debian X Strike Force [email protected] Homepage: https://mesa3d.org/

Package: libglapi-mesa Architecture: amd64 Version: 20.0.4-2ubuntu1 Multi-Arch: same Priority: optional Section: libs Source: mesa Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 304 Depends: libc6 (>= 2.14) Filename: pool/main/m/mesa/libglapi-mesa_20.0.4-2ubuntu1_amd64.deb Size: 26792 MD5sum: 91b897dc3bbc3c5d228f0929ed2bf7f9 SHA1: 785078262b14ace783ac8c6b22f339882a6b74e3 SHA256: 3afc52f698f99be8efd75cbfab7cb9fff510c062d0651f30c413502fe08c38a2 Homepage: https://mesa3d.org/ Description-en: free implementation of the GL API – shared library 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. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libglapi-mesa on Ubuntu 20.04. 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 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 libglapi-mesa using aptitude by running the following command:

sudo aptitude -y install libglapi-mesa

How To Uninstall libglapi-mesa on Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

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