Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libevent

查看 libevent 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libevent

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libevent

MacPorts ports tree · devel/libevent/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libevent

Alpine Linux edge package indexes · libevent · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install libevent

Fedora Rawhide package metadata · libevent · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libevent

nixpkgs package indexes · pkgs/by-name/li/libevent/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libevent

Arch Linux sync databases · libevent · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libevent-2.1-7t64

Debian stable package indexes · libevent-2.1-7t64 · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libevent-2_1-7

openSUSE Tumbleweed package metadata · libevent-2_1-7 · 来源: download.opensuse.org

概览

软件包摘要

Asynchronous event library

命令和别名

  • event_rpcgen.py

历史

项目历史与用法

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.

时间线

  • 2009: Niels Provos announced libevent 1.4.12-stable and libevent 2.0.2-alpha on July 29, 2009.
  • 2010: The libevent site lists libevent-1.4.14b-stable released June 7, 2010.
  • 2012: The libevent site lists the first 2.1.x alpha release on April 3, 2012 and libevent-2.0.21-stable released November 18, 2012.
  • 2014: The libevent site lists libevent-2.0.22-stable released January 5, 2014.
  • 2017: The libevent site lists libevent-2.1.8-stable released January 22, 2017.
  • 2020: The libevent site lists libevent-2.1.12-stable released July 5, 2020.
  • 2023: The libevent site lists libevent-2.2.1-alpha-dev released May 21, 2023.

Related projects

  • Related event-loop and networking projects include libev, libuv, Boost.Asio, and downstream users such as Tor, memcached, tmux, Transmission, Chromium, PgBouncer, and coturn.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
event_rpcgen.pycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.1.13
管理器更新时间2026-07-01
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/libevent/libevent

安装元数据

软件包元数据

软件包键brew:libevent
版本2.1.13
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libevent
主页https://libevent.org/
仓库https://github.com/libevent/libevent
上游文档https://libevent.org/
许可证BSD-3-Clause
源码归档https://github.com/libevent/libevent/archive/refs/tags/release-2.1.13-stable.tar.gz
最后更新2026-07-01T17:46:43Z
Pulseupdated
依赖openssl@3
构建依赖autoconf, automake, libtool, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibevent
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libevent-2.1-7t64 2.1.12-stable-10+b1

Asynchronous event notification library

https://libevent.org/

sudo apt install libevent-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libevent-2.1-7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libevent-core-2.1-7t64 2.1.12-stable-10+b1

Asynchronous event notification library (core)

https://libevent.org/

sudo apt install libevent-core-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libevent-core-2.1-7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libevent-dev 2.1.12-stable-10+b1

Asynchronous event notification library (development files)

https://libevent.org/

sudo apt install libevent-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libevent
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libevent
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libevent-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libevent-extra-2.1-7t64 2.1.12-stable-10+b1

Asynchronous event notification library (extra)

https://libevent.org/

sudo apt install libevent-extra-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libevent-extra-2.1-7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libevent-openssl-2.1-7t64 2.1.12-stable-10+b1

Asynchronous event notification library (openssl)

https://libevent.org/

sudo apt install libevent-openssl-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libevent-openssl-2.1-7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libevent-pthreads-2.1-7t64 2.1.12-stable-10+b1

Asynchronous event notification library (pthreads)

https://libevent.org/

sudo apt install libevent-pthreads-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libevent-pthreads-2.1-7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libevent

nix profile install nixpkgs#libevent
  • normalized package name match
  • 匹配方式:Libevent
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libevent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libevent-2.1-7t64 2.1.12-stable-9ubuntu2

Asynchronous event notification library

https://libevent.org/

sudo apt install libevent-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libevent-2.1-7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libevent-core-2.1-7t64 2.1.12-stable-9ubuntu2

Asynchronous event notification library (core)

https://libevent.org/

sudo apt install libevent-core-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libevent-core-2.1-7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libevent-dev 2.1.12-stable-9ubuntu2

Asynchronous event notification library (development files)

https://libevent.org/

sudo apt install libevent-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libevent
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libevent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libevent-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libevent-extra-2.1-7t64 2.1.12-stable-9ubuntu2

Asynchronous event notification library (extra)

https://libevent.org/

sudo apt install libevent-extra-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libevent-extra-2.1-7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libevent-openssl-2.1-7t64 2.1.12-stable-9ubuntu2

Asynchronous event notification library (openssl)

https://libevent.org/

sudo apt install libevent-openssl-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libevent-openssl-2.1-7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libevent-pthreads-2.1-7t64 2.1.12-stable-9ubuntu2

Asynchronous event notification library (pthreads)

https://libevent.org/

sudo apt install libevent-pthreads-2.1-7t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libevent
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libevent-pthreads-2.1-7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libevent 2.1.12-r9

An event notification library

https://libevent.org/

sudo apk add libevent
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libevent
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libevent from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libevent-dev 2.1.12-r9

An event notification library (development files)

https://libevent.org/

sudo apk add libevent-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libevent
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libevent
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libevent-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libevent-static 2.1.12-r9

An event notification library (static libraries)

https://libevent.org/

sudo apk add libevent-static
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libevent
  • normalized package name match
  • 匹配方式:Libevent
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libevent-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment