macOS
brew install libeventlocal Homebrew formula metadata
sudo port install libeventMacPorts ports tree · devel/libevent/Portfile · source: api.github.com
brew
Asynchronous event library. Version 2.1.13 via Homebrew; verified 2026-07-01.
install
brew install libeventlocal Homebrew formula metadata
sudo port install libeventMacPorts ports tree · devel/libevent/Portfile · source: api.github.com
sudo apk add libeventAlpine Linux edge package indexes · libevent · source: dl-cdn.alpinelinux.org
sudo apt install libevent-2.1-7t64Debian stable package indexes · libevent-2.1-7t64 · source: deb.debian.org
sudo dnf install libeventFedora Rawhide package metadata · libevent · source: dl.fedoraproject.org
nix profile install nixpkgs#libeventnixpkgs package indexes · pkgs/by-name/li/libevent/package.nix · source: api.github.com
sudo pacman -S libeventArch Linux sync databases · libevent · source: geo.mirror.pkgbuild.com
sudo zypper install libevent-2_1-7openSUSE Tumbleweed package metadata · libevent-2_1-7 · source: download.opensuse.org
overview
Asynchronous event library
history
libevent is a portable C event-notification library for scalable network servers and event-driven programs.
The libevent site describes the library as a replacement for hand-written event loops in network servers: programs register callbacks for file-descriptor readiness, timers, signals, and higher-level buffered I/O rather than hard-coding select or poll loops. The site credits maintenance to Nick Mathewson, Azat Khuzhin, and Niels Provos.
The project grew around the C10K-era problem of serving many simultaneous connections portably across backends such as select, poll, epoll, kqueue, /dev/poll, Solaris event ports, and Windows APIs. Over time it added buffered network I/O, DNS, HTTP, RPC, SSL-capable bufferevents, thread hooks, and extensive portability code.
The official site lists widely used downstreams including Chromium, memcached, Transmission, NTP's SNTP code, tmux, Tor, Prosody, PgBouncer, and coturn. That breadth made libevent one of the standard C event-loop dependencies in Unix package collections.
Typical applications create an event_base, register events or bufferevents, and run event_base_dispatch. The official documentation covers setup, event bases, timers, buffered I/O, asynchronous DNS, embedded HTTP servers, and RPC support.
libevent is package-nerd-famous because it abstracts the messy portability matrix behind scalable C networking. It is old enough to show up in classic daemons and new enough to have ABI/API reports, split libraries, CMake and autotools history, and long-lived 1.4, 2.0, and 2.1 release lines.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
event_rpcgen.py | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/libevent/libevent
install metadata
| Package key | brew:libevent |
|---|---|
| Version | 2.1.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libevent |
| Homepage | https://libevent.org/ |
| Repository | https://github.com/libevent/libevent |
| Upstream docs | https://libevent.org/ |
| License | BSD-3-Clause |
| Source archive | https://github.com/libevent/libevent/archive/refs/tags/release-2.1.13-stable.tar.gz |
| Last updated | 2026-07-01T17:46:43Z |
| Pulse | updated |
| Dependencies | openssl@3 |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libevent |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libevent-2.1-7t64 2.1.12-stable-10+b1
Asynchronous event notification library
sudo apt install libevent-2.1-7t64libevent-core-2.1-7t64 2.1.12-stable-10+b1
Asynchronous event notification library (core)
sudo apt install libevent-core-2.1-7t64libevent-dev 2.1.12-stable-10+b1
Asynchronous event notification library (development files)
sudo apt install libevent-devlibevent-extra-2.1-7t64 2.1.12-stable-10+b1
Asynchronous event notification library (extra)
sudo apt install libevent-extra-2.1-7t64libevent-openssl-2.1-7t64 2.1.12-stable-10+b1
Asynchronous event notification library (openssl)
sudo apt install libevent-openssl-2.1-7t64libevent-pthreads-2.1-7t64 2.1.12-stable-10+b1
Asynchronous event notification library (pthreads)
sudo apt install libevent-pthreads-2.1-7t64libevent
nix profile install nixpkgs#libeventlibevent-2.1-7t64 2.1.12-stable-9ubuntu2
Asynchronous event notification library
sudo apt install libevent-2.1-7t64libevent-core-2.1-7t64 2.1.12-stable-9ubuntu2
Asynchronous event notification library (core)
sudo apt install libevent-core-2.1-7t64libevent-dev 2.1.12-stable-9ubuntu2
Asynchronous event notification library (development files)
sudo apt install libevent-devlibevent-extra-2.1-7t64 2.1.12-stable-9ubuntu2
Asynchronous event notification library (extra)
sudo apt install libevent-extra-2.1-7t64libevent-openssl-2.1-7t64 2.1.12-stable-9ubuntu2
Asynchronous event notification library (openssl)
sudo apt install libevent-openssl-2.1-7t64libevent-pthreads-2.1-7t64 2.1.12-stable-9ubuntu2
Asynchronous event notification library (pthreads)
sudo apt install libevent-pthreads-2.1-7t64libevent 2.1.12-r9
An event notification library
sudo apk add libeventlibevent-dev 2.1.12-r9
An event notification library (development files)
sudo apk add libevent-devlibevent-static 2.1.12-r9
An event notification library (static libraries)
sudo apk add libevent-staticsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.