# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman 安装 ejabberd

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

## 安装

```sh
sudo av install brew:ejabberd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ejabberd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ejabberd
```

  证据: MacPorts ports tree: net/ejabberd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ejabberd
```

  证据: Alpine Linux edge package indexes: ejabberd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ejabberd
```

  证据: Debian stable package indexes: ejabberd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ejabberd
```

  证据: nixpkgs package indexes: pkgs/by-name/ej/ejabberd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ejabberd
```

  证据: Arch Linux sync databases: ejabberd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:ejabberd
- **软件包管理器:** Homebrew
- **版本:** 26.07
- **来源摘要:** XMPP application server
- **主页:** <https://www.ejabberd.im>
- **仓库:** <https://github.com/processone/ejabberd>
- **最后更新:** 2026-07-30T18:23:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ejabberdctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 26.07
## 项目历史与用法

ejabberd is a long-running Erlang-based realtime messaging server, best known as an XMPP server and now also positioned as an MQTT broker and SIP service. It is one of the historically important open source messaging servers because it combined XMPP federation, Erlang fault tolerance, clustering, and production-scale deployments.

### 项目历史

The official ejabberd site describes the project as a ProcessOne product in production since 2002. The repository README calls it an open source, robust, scalable, extensible realtime platform built with Erlang/OTP, including XMPP Server, MQTT Broker, and SIP Service.

ejabberd grew during the XMPP/Jabber era, when open federated instant messaging needed servers that could handle many persistent client connections. Erlang was a natural fit for that concurrency model, and ejabberd became one of the best-known Erlang infrastructure packages outside telecom.

The modern project keeps a broad operational surface: source builds, installers, Docker images, OS packages, Homebrew packages, GitHub releases, documentation, GitHub Discussions, Stack Overflow, Weblate translations, commercial ProcessOne support, and the managed Fluux service. That mix shows a project that survived the original Jabber wave and adapted to current deployment habits.

### 采用历史

The official homepage says ejabberd is trusted by WhatsApp, Nintendo Switch, BBC, and hundreds of organizations, and highlights use at WhatsApp scale. It also advertises more than two million concurrent sessions on a single node and support for hundreds of XMPP extensions.

Package adoption is broad. The input metadata lists Homebrew, Debian, Ubuntu, Alpine, MacPorts, Nix, and Pacman, while the README links to OS packages, Homebrew, Docker Hub, GitHub Packages, and ProcessOne installers. That is the profile of a server package expected to run on laptops, bare-metal systems, distro servers, and containers.

### 使用方式

Operators use ejabberd to run XMPP domains, federated messaging, multi-user chat, publish-subscribe, mobile push, message archives, MQTT endpoints, SIP service, REST APIs, web administration, and clustered realtime infrastructure. The configuration center is `ejabberd.yml`, with command-line operation through `ejabberdctl`.

The README points users to docs, `ejabberdctl help`, and `man ejabberd.yml`. The homepage's example configuration shows standard XMPP ports, MQTT, SQL storage, MAM, push, PubSub, and MUC modules, which captures the normal server-admin workflow: edit YAML, enable modules, choose storage, and operate the service.

### 为什么软件包爱好者会关心

ejabberd is package-nerd significant because it is a classic daemon with many packaging shapes: Erlang runtime dependency, config files, service management, man pages, OS packages, containers, Homebrew, and upstream installers. It is not just a binary; it is an operating-system resident service.

It is also a good example of a package whose value is partly historical. XMPP infrastructure was central to open messaging before mobile silos dominated chat, and ejabberd remains a maintained way to run standards-based realtime communications without outsourcing identity or message routing.

### 时间线

- 2002: Official site describes ejabberd as a ProcessOne product in production since 2002.
- 2022-05-17: GitHub release 22.05 appears in the modern release stream.
- 2024-10-29: Release 24.10 is published.
- 2025-04-16: Release 25.04 is published.
- 2026-04-20: Release 26.04 is published and listed by the official site.

### Related projects

- Erlang/OTP is the runtime platform for ejabberd.
- XMPP is the main messaging protocol associated with ejabberd; MQTT and SIP are also official protocol roles.
- Fluux is ProcessOne's managed service built around ejabberd.
- Docker Hub and GitHub Packages host official container distribution paths.

### 来源

- <https://www.ejabberd.im/>
- <https://docs.ejabberd.im/>
- <https://github.com/processone/ejabberd#readme>
- <https://github.com/processone/ejabberd/releases>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $CONFIG_DIR/ejabberd.yml, $CONFIG_DIR/ejabberdctl.cfg, $CONFIG_DIR/vm.args
## 其他软件包管理器记录

- Debian apt - ejabberd - 24.12-3+deb13u2: normalized package name match | Debian stable package indexes: ejabberd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extensible realtime platform (XMPP server + MQTT broker + SIP service) | https://www.ejabberd.im
- Nix - ejabberd: normalized package name match | nixpkgs package indexes: pkgs/by-name/ej/ejabberd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ejabberd - 23.10-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ejabberd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | extensible realtime platform (XMPP server + MQTT broker + SIP service) | https://www.ejabberd.im
- apk - ejabberd - 26.02-r0: normalized package name match | Alpine Linux edge package indexes: ejabberd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Robust, Ubiquitous and Massively Scalable Messaging Platform for XMPP, MQTT, and SIP Protocols | https://www.ejabberd.im/
- apk - ejabberd-bash-completion - 26.02-r0: normalized package name match | Alpine Linux edge package indexes: ejabberd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for ejabberd | https://www.ejabberd.im/
- apk - ejabberd-dev - 26.02-r0: normalized package name match | Alpine Linux edge package indexes: ejabberd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Robust, Ubiquitous and Massively Scalable Messaging Platform for XMPP, MQTT, and SIP Protocols (development files) | https://www.ejabberd.im/
- apk - ejabberd-doc - 26.02-r0: normalized package name match | Alpine Linux edge package indexes: ejabberd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Robust, Ubiquitous and Massively Scalable Messaging Platform for XMPP, MQTT, and SIP Protocols (documentation) | https://www.ejabberd.im/
- apk - ejabberd-openrc - 26.02-r0: normalized package name match | Alpine Linux edge package indexes: ejabberd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Robust, Ubiquitous and Massively Scalable Messaging Platform for XMPP, MQTT, and SIP Protocols (OpenRC init scripts) | https://www.ejabberd.im/
- pacman - ejabberd - 26.04-2: normalized package name match | Arch Linux sync databases: ejabberd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Jabber server written in Erlang | https://www.ejabberd.im/
- MacPorts - ejabberd: normalized package name match | MacPorts ports tree: net/ejabberd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ejabberd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ejabberd.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
