How To Install libegl-dev on Ubuntu 20.04

In this tutorial we learn how to install libegl-dev on Ubuntu 20.04. libegl-dev is Vendor neutral GL dispatch library – EGL development files Vendor neutral GL dispatch library – EGL development files

Introduction

In this tutorial we learn how to install libegl-dev on Ubuntu 20.04.

What is libegl-dev

libegl-dev is:

This is an implementation of the vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors on a per-screen basis.

This package provides the development environment for compiling programs against the EGL library.

Package: libegl-dev Architecture: amd64 Version: 1.3.1-1 Multi-Arch: same Priority: optional Section: libs Source: libglvnd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 115 Depends: libegl1 (= 1.3.1-1), libgl-dev, libx11-dev Breaks: libegl1-mesa-dev (« 19.3.0~rc6-1), libglvnd-dev (« 1.3.0-1) Replaces: libegl1-mesa-dev (« 19.3.0~rc6-1), libglvnd-dev (« 1.3.0-1) Filename: pool/main/libg/libglvnd/libegl-dev_1.3.1-1_amd64.deb Size: 16896 MD5sum: 23e01baaca15f58bea1d32f58ce1198d SHA1: 92d5a551e62b5ace414e2a2f8df50fcd72a6b02a SHA256: 8e72f2067973a8573cf2e7620baba3d94c60d2cfc703d1a6d47b7e930696f4a9 Homepage: https://gitlab.freedesktop.org/glvnd/libglvnd Description-en: Vendor neutral GL dispatch library – EGL development files This is an implementation of the vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors on a per-screen basis.

This package provides the development environment for compiling programs against the EGL library.

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

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

sudo apt-get update

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

sudo apt-get -y install libegl-dev

Install libegl-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libegl-dev

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

sudo aptitude -y install libegl-dev

How To Uninstall libegl-dev on Ubuntu 20.04

To uninstall only the libegl-dev package we can use the following command:

sudo apt-get remove libegl-dev

Uninstall libegl-dev And Its Dependencies

To uninstall libegl-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libegl-dev

Remove libegl-dev Configurations and Data

To remove libegl-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libegl-dev

Remove libegl-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libegl-dev

References

Summary

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