How To Install libuev-dev on Debian 12
Introduction
In this tutorial we learn how to install libuev-dev
on Debian 12.
What is libuev-dev
libuev-dev is:
Static library, header files, and documentation for libuEv
libuEv is a small event loop that wraps the Linux epoll() family of APIs. It is similar to the more established libevent, libev and the venerable Xt(3) event loop. The u (micro) in the name refers to both its limited feature set and the small size impact of the library.
Experienced developers may appreciate libuEv is built on top of modern Linux APIs like epoll, eventfd, timerf, and signalfd.
There are three methods to install libuev-dev
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libuev-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 libuev-dev
using apt-get
by running the following command:
sudo apt-get -y install libuev-dev
Install libuev-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libuev-dev
using apt
by running the following command:
sudo apt -y install libuev-dev
Install libuev-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libuev-dev
using aptitude
by running the following command:
sudo aptitude -y install libuev-dev
How To Uninstall libuev-dev on Debian 12
To uninstall only the libuev-dev
package we can use the following command:
sudo apt-get remove libuev-dev
Uninstall libuev-dev And Its Dependencies
To uninstall libuev-dev
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libuev-dev
Remove libuev-dev Configurations and Data
To remove libuev-dev
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libuev-dev
Remove libuev-dev configuration, data, and all of its dependencies
We can use the following command to remove libuev-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libuev-dev
Dependencies
libuev-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libuev-dev
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.