Awesome Open Source
Awesome Open Source

libevent logo

CI linux CI windows CI mingw CI macos

Coverage Status Join the chat at doxygen



$ ./configure
$ make
$ make verify   # (optional)
$ sudo make install

See Documentation/Building#Autoconf for more information

CMake (Windows)

Install CMake:

$ md build && cd build
$ cmake -G "Visual Studio 10" ..   # Or use any generator you want to use. Run cmake --help for a list
$ cmake --build . --config Release # Or "start libevent.sln" and build with menu in Visual Studio.

See Documentation/Building#Building on Windows for more information

CMake (Unix)

$ mkdir build && cd build
$ cmake ..     # Default to Unix Makefiles.
$ make
$ make verify  # (optional)

See Documentation/Building#Building on Unix (With CMake) for more information

Package Managers

You can download and install libevent using the vcpkg dependency manager:

git clone
cd vcpkg
./vcpkg integrate install
./vcpkg install libevent

The libevent port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.


For the latest released version of Libevent, see the official website at .

There's a pretty good work-in-progress manual up at .

For the latest development versions of Libevent, access our Git repository via

$ git clone

You can browse the git repository online at:

To report bugs, issues, or ask for new features:


OK, those are not really patches. You fork, modify, and hit the "Create Pull Request" button. You can still submit normal git patches via the mailing list.

Bugs, Features [RFC], and Issues:

Or you can do it via the mailing list.

There's also a libevent-users mailing list for talking about Libevent use and development:


The following people have helped with suggestions, ideas, code or fixing bugs.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c (15,505
cross-platform (697
async (492
networking (415