macOS
brew install man-dblocal Homebrew formula metadata
sudo port install man-dbMacPorts ports tree · textproc/man-db/Portfile · 来源: api.github.com
安装
brew install man-dblocal Homebrew formula metadata
sudo port install man-dbMacPorts ports tree · textproc/man-db/Portfile · 来源: api.github.com
sudo apk add man-dbAlpine Linux edge package indexes · man-db · 来源: dl-cdn.alpinelinux.org
sudo apt install man-dbDebian stable package indexes · man-db · 来源: deb.debian.org
sudo dnf install man-dbFedora Rawhide package metadata · man-db · 来源: dl.fedoraproject.org
nix profile install nixpkgs#man-dbnixpkgs package indexes · pkgs/by-name/ma/man-db/package.nix · 来源: api.github.com
sudo pacman -S man-dbArch Linux sync databases · man-db · 来源: geo.mirror.pkgbuild.com
sudo zypper install manopenSUSE Tumbleweed package metadata · man · 来源: download.opensuse.org
概览
Unix documentation system
历史
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`.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
${sysconfdir}/man_db.conf~/.manpath可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
accessdb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
catman | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gaccessdb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gapropos | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gcatman | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
glexgrog | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gman | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gman-recode | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gmandb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gmanpath | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gwhatis | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
lexgrog | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
mandb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:man-db |
|---|---|
| 版本 | 2.13.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://man-db.gitlab.io/man-db/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
man-db 2.13.1-1
tools for reading manual pages
https://man-db.gitlab.io/man-db/
sudo apt install man-dbman-db
nix profile install nixpkgs#man-dbman-db 2.12.0-4build2
tools for reading manual pages
https://man-db.gitlab.io/man-db/
sudo apt install man-dbman-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-dbman-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-docman-db-lang 2.13.1-r1
Languages for package man-db
https://man-db.gitlab.io/man-db/
sudo apk add man-db-langman-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-systemdman-db 2.13.1-4.fc45
Tools for searching and reading man pages
sudo dnf install man-dbman-db-cron 2.13.1-4.fc45
Periodic update of man-db cache
sudo dnf install man-db-cronman-db 2.13.1-2
A utility for reading man pages
https://gitlab.com/man-db/man-db
sudo pacman -S man-dbman 2.13.1-7.3
A Program for Displaying man Pages
https://savannah.nongnu.org/projects/man-db
sudo zypper install manman-db
sudo port install man-db来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.