# 使用 Homebrew, MacPorts 安装 xmlcatmgr

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

## 安装

```sh
sudo av install brew:xmlcatmgr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xmlcatmgr
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xmlcatmgr
```

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

## 软件包事实

- **软件包键:** brew:xmlcatmgr
- **软件包管理器:** Homebrew
- **版本:** 2.2
- **来源摘要:** Manipulate SGML and XML catalogs
- **主页:** <https://xmlcatmgr.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xmlcatmgr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

xmlcatmgr is a deliberately small command-line utility for managing SGML and XML catalog files. Its niche is not interactive XML editing, but the boring package-install job of adding and removing catalog entries automatically.

### 项目历史

The project was created to manage catalog files inside pkgsrc, the NetBSD package system. The upstream homepage explains the design pressure clearly: very small packages such as DTD packages needed catalog management without pulling in large XML libraries or helper programs.

The tool centers on catalogs as lookup tables that map public identifiers to local files or URIs, allowing parsers to find local resources without changing document sources. By version 2.2, released in 2004, xmlcatmgr had settled into the small, dependency-light utility role it still occupies.

### 采用历史

Its adoption story is package-system-first. Upstream says it became completely integrated with many pkgsrc packages, and its portability made it a natural fit for other BSD-style ports collections that needed catalog registration during install and deinstall scripts.

### 使用方式

Package scripts use xmlcatmgr to add, remove, and look up catalog entries for SGML and XML resources. Humans may run it directly, but the more important use is unattended maintenance of shared catalog files for DocBook, DTD, stylesheet, and parser ecosystems.

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

xmlcatmgr is package-nerd glue: tiny, old, and important exactly because bigger XML stacks should not be required just to register XML resources. It is a good example of a package whose value comes from install-time integration rather than daily end-user visibility.

### 时间线

- 2003: FreeBSD ports carried early 0.x and 1.x xmlcatmgr releases, reflecting adoption outside pkgsrc.
- 2004-09-01: Upstream released xmlcatmgr 2.2, listed as the latest stable release on the project homepage.
- 2004 onward: xmlcatmgr remained a stable catalog-management utility for package systems and ports collections.

### Related projects

- Related projects and ecosystems include pkgsrc, NetBSD, FreeBSD ports, SGML Open catalogs, XML catalogs, DocBook DTD packages, and XML parsers that consult local catalogs.

### 来源

- <https://jmmv.dev/software/xmlcatmgr.html>
- <https://sourceforge.net/projects/xmlcatmgr/files/>
- <https://www.freshports.org/textproc/xmlcatmgr>
- <https://xmlcatmgr.sourceforge.net/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- MacPorts - xmlcatmgr: normalized package name match | MacPorts ports tree: textproc/xmlcatmgr/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/xmlcatmgr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xmlcatmgr.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
