Install libevent-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libevent-dev
Description:
Asynchronous event notification library (development files)
Libevent is an asynchronous event notification library that provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. . This package includes development files for compiling against libevent.
Homepage: http://libevent.org/
Version: 2.1.8-stable-4build1
Section: libdevel