How To Install libepoxy-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libepoxy-dev
on Ubuntu 22.04.
What is libepoxy-dev
libepoxy-dev is:
It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(), eglGetProcAddress(), etc. from the app developer, with very little knowledge needed on their part. They get to read GL specs and write code using undecorated function names like glCompileShader().
This package contains the development headers for the library found in libepoxy0. Non-developers likely have little use for this package.
There are three methods to install libepoxy-dev
on Ubuntu 22.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 libepoxy-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 libepoxy-dev
using apt-get
by running the following command:
sudo apt-get -y install libepoxy-dev
Install libepoxy-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libepoxy-dev
using apt
by running the following command:
sudo apt -y install libepoxy-dev
Install libepoxy-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 libepoxy-dev
using aptitude
by running the following command:
sudo aptitude -y install libepoxy-dev
How To Uninstall libepoxy-dev on Ubuntu 22.04
To uninstall only the libepoxy-dev
package we can use the following command:
sudo apt-get remove libepoxy-dev
Uninstall libepoxy-dev And Its Dependencies
To uninstall libepoxy-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libepoxy-dev
Remove libepoxy-dev Configurations and Data
To remove libepoxy-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libepoxy-dev
Remove libepoxy-dev configuration, data, and all of its dependencies
We can use the following command to remove libepoxy-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libepoxy-dev
References
Summary
In this tutorial we learn how to install libepoxy-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.