# 使用 Homebrew, apt, apk, MacPorts, pacman 安装 gearman

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

## 安装

```sh
sudo av install brew:gearman
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gearman
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gearmand
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install gearman
```

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

- apk (92%):

```sh
sudo apk add gearmand
```

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

- pacman (92%):

```sh
sudo pacman -S gearmand
```

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

## 软件包事实

- **软件包键:** brew:gearman
- **软件包管理器:** Homebrew
- **版本:** 2.0.0
- **来源摘要:** Application framework to farm out work to other machines or processes
- **主页:** <https://gearman.org/>
- **仓库:** <https://github.com/gearman/gearmand>
- **最后更新:** 2026-07-22T08:07:58Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gearadmin (别名)
- gearman (别名)
- gearmand (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Gearman is an open-source job server and application framework for distributing work to other machines or processes, with clients and workers connected through a language-neutral protocol.

### 项目历史

The official manual says Gearman was originally created at Danga Interactive, the company behind LiveJournal, and that its name is an anagram of Manager. It was used at LiveJournal for several purposes, including as a coordination mechanism for MogileFS.

The original implementation was written in Perl. As companies such as Digg and Yahoo began using Gearman, APIs in other languages such as PHP appeared. In early 2008, a C port of the job server and libraries began, and by the end of 2008 the C server was ready for its first release.

The modern gearmand repository notes that GitHub holds the latest source and versions 1.1.13 and later, while older releases before 1.1.13 live in the Launchpad repository.

### 采用历史

Gearman was adopted as a general-purpose distributed work system for web infrastructure, background jobs, heterogeneous language stacks, and database-related workflows. The official site names high-availability web sites and database replication event transport as example use cases, and highlights clients and workers in different languages speaking the same protocol.

### 使用方式

A typical Gearman deployment runs gearmand as the job server, has clients submit named jobs, and has one or more workers register functions and return results. The command-line package includes gearmand, gearman, and gearadmin for running the server, submitting or working jobs, and inspecting server state.

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

Gearman is historically significant because it represents an older but durable Unix package pattern: a small daemon, a protocol, language bindings, and command-line tools that package managers can distribute separately or together. It is closely associated with the same LiveJournal/Danga infrastructure lineage that produced memcached, MogileFS, and Perlbal.

### 时间线

- 2005: First Gearman blog post referenced by the official manual.
- 2008: C job server and libraries started and reached first release readiness.
- 2016: gearman/gearmand GitHub repository created.
- 2020: 1.1.19 maintenance release published.
- 2022: 1.1.20 maintenance release published.
- 2025: 1.1.22 maintenance release published.

### Related projects

- The official history places Gearman in the Danga/LiveJournal family alongside memcached, MogileFS, and Perlbal. It also relates to the older Perl job server, the C gearmand server, language bindings such as PHP and Perl, and alternative implementations such as pure Java.

### 来源

- <https://gearman.org/>
- <https://gearman.org/manual>
- <https://gearman.org/manual/introduction/>
- <https://github.com/gearman/gearmand>
- <https://github.com/gearman/gearmand#readme>
- <https://github.com/gearman/gearmand/releases>
- <https://launchpad.net/gearmand/>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service

## 其他软件包管理器记录

- Debian apt - gearman - 1.1.21+ds-1: normalized package name match | Debian stable package indexes: gearman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Distributed job queue | http://launchpad.net/gearmand
- Ubuntu apt - gearman - 1.1.20+ds-1.2build4: normalized package name match | Ubuntu 24.04 LTS package indexes: gearman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Distributed job queue | http://launchpad.net/gearmand
- MacPorts - gearmand: installed executable or alias match | MacPorts ports tree: sysutils/gearmand/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - gearman-job-server - 1.1.21+ds-1: installed executable or alias match | Debian stable package indexes: gearman-job-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Job server for the Gearman distributed job queue | http://launchpad.net/gearmand
- Debian apt - gearman-tools - 1.1.21+ds-1: installed executable or alias match | Debian stable package indexes: gearman-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools for the Gearman distributed job queue | http://launchpad.net/gearmand
- Debian apt - libgearman-dev - 1.1.21+ds-1: installed executable or alias match | Debian stable package indexes: libgearman-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the Gearman Library | http://launchpad.net/gearmand
- Debian apt - libgearman-doc - 1.1.21+ds-1: installed executable or alias match | Debian stable package indexes: libgearman-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | API Documentation for the Gearman Library | http://launchpad.net/gearmand
- Debian apt - libgearman8t64 - 1.1.21+ds-1: installed executable or alias match | Debian stable package indexes: libgearman8t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library providing Gearman client and worker functions | http://launchpad.net/gearmand
- Ubuntu apt - gearman-job-server - 1.1.20+ds-1.2build4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gearman-job-server from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Job server for the Gearman distributed job queue | http://launchpad.net/gearmand
- Ubuntu apt - gearman-tools - 1.1.20+ds-1.2build4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gearman-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools for the Gearman distributed job queue | http://launchpad.net/gearmand
- Ubuntu apt - libgearman-dev - 1.1.20+ds-1.2build4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgearman-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the Gearman Library | http://launchpad.net/gearmand
- Ubuntu apt - libgearman-doc - 1.1.20+ds-1.2build4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgearman-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | API Documentation for the Gearman Library | http://launchpad.net/gearmand
- Ubuntu apt - libgearman8t64 - 1.1.20+ds-1.2build4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgearman8t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library providing Gearman client and worker functions | http://launchpad.net/gearmand
- apk - gearman-dev - 1.1.22-r0: installed executable or alias match | Alpine Linux edge package indexes: gearman-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A distributed job queue (development files) | http://gearman.org
- apk - gearman-libs - 1.1.22-r0: installed executable or alias match | Alpine Linux edge package indexes: gearman-libs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A distributed job queue (libraries) | http://gearman.org
- apk - gearmand - 1.1.22-r0: installed executable or alias match | Alpine Linux edge package indexes: gearmand from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A distributed job queue | http://gearman.org


## Combined YAML source

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


## 来源

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