pkg.soopen package index

brew / 排名 4183

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 man-db

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install man-db

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install man-db

MacPorts ports tree · textproc/man-db/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add man-db

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

Debian apt已验证 · 92%
sudo apt install man-db

Debian stable package indexes · man-db · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install man-db

Fedora Rawhide package metadata · man-db · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#man-db

nixpkgs package indexes · pkgs/by-name/ma/man-db/package.nix · 来源: api.github.com

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

Arch Linux sync databases · man-db · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install man

openSUSE Tumbleweed package metadata · man · 来源: download.opensuse.org

概览

软件包摘要

Unix documentation system

命令和别名

  • accessdb
  • catman
  • gaccessdb
  • gapropos
  • gcatman
  • glexgrog
  • gman
  • gman-recode
  • gmandb
  • gmanpath
  • gwhatis
  • lexgrog
  • mandb

历史

项目历史与用法

man-db is an implementation of the standard Unix manual-page system accessed through `man`. Its official homepage describes it as using an indexed database instead of traditional flat-text whatis databases, with utilities such as `man`, `mandb`, `apropos`, and `whatis` around that database.

项目历史

The man-db source tree carries copyright lines going back to John W. Eaton in 1990-1991, Graeme W. Wilford, Fabrizio Polacco, and later Colin Watson. The README identifies Colin Watson as current maintainer and points users to the manual for configuration and formatter details.

man-db's development reflects the long transition from historical Unix man-page lookup toward database-backed indexing. Its configuration and cache model track Filesystem Hierarchy Standard paths such as `/usr/share` for manual pages and `/var/cache/man` for cached cat pages, while preserving compatibility with older FSSTND layouts.

采用历史

The official man-db homepage lists use by several GNU/Linux distributions, including Arch Linux, Debian, Dragora, Fedora, Gentoo, openSUSE, and Ubuntu, and notes that it also compiles and runs on a number of proprietary Unix systems.

In package-manager culture, man-db is one of the packages users notice during installs and upgrades because `mandb` updates the manual-page index. It is infrastructure rather than an application: distributions depend on it to make `man`, `apropos`, and `whatis` fast and searchable.

使用方式

`mandb` initializes or manually updates index database caches, and the stored information is used by man-db utilities to improve speed and functionality. `manpath` computes manual search paths using the man-db configuration file and the user's environment.

The upstream documentation points packagers and builders to `./src/man_db.conf` and `man/man5/manpath.5` for configuration details. Installed paths depend on `sysconfdir`, while the upstream `manpath` manual documents `~/.manpath` as the default user configuration for `manpath -C`.

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

man-db is important to package nerds because it turns scattered manual pages from every installed package into a searchable local index. Its post-install hooks, cache ownership choices, setuid options, compression support, and path mapping influence how documentation behaves across a whole system.

It is also a classic distribution-integration package: the upstream tarball has defaults, but Linux distributions commonly patch paths or integrate it with package triggers, tmpfiles cleanup, and policy around `/usr/share/man` and `/var/cache/man`.

时间线

  • 1990: Early man-db copyright lineage begins with John W. Eaton.
  • 2001: README notes FHS manual roots `/usr/share` and `/var/cache/man` as current defaults for manual and cat hierarchies.
  • 2020: GitLab project creation records the modern GitLab project presence.
  • 2022: NEWS notes the Git repository transfer to https://gitlab.com/man-db/man-db.
  • 2025: man-db 2.13.1 was released with formatting, portability, and build fixes.

Related projects

  • man-db is related to traditional Unix `man`, `apropos`, `whatis`, `catman`, and `makewhatis` implementations.
  • It also depends on formatter tools such as groff or compatible nroff/troff implementations, and it is often compared with mandoc on systems that can use either as the manual-page viewer/searcher.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

local files

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

Config paths the tool may read or write during local use.

Unix
${sysconfdir}/man_db.conf~/.manpath

可执行文件

已安装的可执行文件

命令类型暴露范围备注
accessdbcli全局可执行文件
catmancli全局可执行文件
gaccessdbcli全局可执行文件
gaproposcli全局可执行文件
gcatmancli全局可执行文件
glexgrogcli全局可执行文件
gmancli全局可执行文件
gman-recodecli全局可执行文件
gmandbcli全局可执行文件
gmanpathcli全局可执行文件
gwhatiscli全局可执行文件
lexgrogcli全局可执行文件
mandbcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://man-db.gitlab.io/man-db/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://man-db.gitlab.io/man-db/none 置信度

安装元数据

软件包元数据

软件包键brew:man-db
版本2.13.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/man-db
主页https://man-db.gitlab.io/man-db/
上游文档https://man-db.gitlab.io/man-db/
许可证GPL-2.0-or-later
源码归档https://download.savannah.gnu.org/releases/man-db/man-db-2.13.1.tar.xz
依赖groff, libpipeline
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Commands also provided by macOS have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "bin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/man-db/libexec/bin:$PATH"

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

man-db 2.13.1-1

tools for reading manual pages

https://man-db.gitlab.io/man-db/

sudo apt install man-db
  • Section: doc
  • Architecture: amd64
  • 10 依赖
  • 2 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Man Db
Debian stable package indexes · deb.debian.org · Debian stable package indexes: man-db from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

man-db

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

man-db 2.12.0-4build2

tools for reading manual pages

https://man-db.gitlab.io/man-db/

sudo apt install man-db
  • Section: doc
  • Architecture: amd64
  • 10 依赖
  • 2 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Man Db
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: man-db from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

man-db 2.13.1-r1

The man command and related utilities for examining on-line help files

https://man-db.gitlab.io/man-db/

sudo apk add man-db
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: man-db
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Man Db
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: man-db from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

man-db-doc 2.13.1-r1

The man command and related utilities for examining on-line help files (documentation)

https://man-db.gitlab.io/man-db/

sudo apk add man-db-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: man-db
  • normalized package name match
  • 匹配方式:Man Db
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: man-db-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

man-db-lang 2.13.1-r1

Languages for package man-db

https://man-db.gitlab.io/man-db/

sudo apk add man-db-lang
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: man-db
  • normalized package name match
  • 匹配方式:Man Db
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: man-db-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

man-db-systemd 2.13.1-r1

The man command and related utilities for examining on-line help files (systemd files)

https://man-db.gitlab.io/man-db/

sudo apk add man-db-systemd
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: man-db
  • normalized package name match
  • 匹配方式:Man Db
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: man-db-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

man-db 2.13.1-4.fc45

Tools for searching and reading man pages

http://www.nongnu.org/man-db/

sudo dnf install man-db
  • License: GPL-2.0-or-later AND GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: man-db
  • 13 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式:Man Db
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: man-db from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
dnf95%

man-db-cron 2.13.1-4.fc45

Periodic update of man-db cache

http://www.nongnu.org/man-db/

sudo dnf install man-db-cron
  • License: GPL-2.0-or-later AND GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: man-db
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Man Db
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: man-db-cron from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
pacman95%

man-db 2.13.1-2

A utility for reading man pages

https://gitlab.com/man-db/man-db

sudo pacman -S man-db
  • License: GPL-2.0-or-later AND GPL-3.0-or-later
  • Architecture: x86_64
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Man Db
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: man-db from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

man 2.13.1-7.3

A Program for Displaying man Pages

https://savannah.nongnu.org/projects/man-db

sudo zypper install man
  • License: GPL-2.0-or-later
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: man
  • 17 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Man Db
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: man from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

man-db

sudo port install man-db
  • normalized package name match
  • 匹配方式:Man Db
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/man-db/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

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