# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/xmlcatmgr>
- **版本:** 2.2
- **来源摘要:** Manipulate SGML and XML catalogs
- **主页:** <https://xmlcatmgr.sourceforge.net/>
- **上游文档:** <https://xmlcatmgr.sourceforge.net/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://downloads.sourceforge.net/project/xmlcatmgr/xmlcatmgr/2.2/xmlcatmgr-2.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- xmlcatmgr (cli)
- xmlcatmgr (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.2
- 本地数据: OK
- 上游仓库: https://xmlcatmgr.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xmlcatmgr
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [xmake](https://pkg.so/zh-hans/brew/xmake/) - Shares pkgdb curated category or tags: c, cli, developer-tools, package-management.
- [castxml](https://pkg.so/zh-hans/brew/castxml/) - Shares pkgdb curated category or tags: c, cli, developer-tools, xml.
- [gsoap](https://pkg.so/zh-hans/brew/gsoap/) - Shares pkgdb curated category or tags: c, cli, developer-tools, xml.
- [rnv](https://pkg.so/zh-hans/brew/rnv/) - Shares pkgdb curated category or tags: c, cli, developer-tools, xml.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Shares pkgdb curated category or tags: c, cli, developer-tools.
- [expat](https://pkg.so/zh-hans/brew/expat/) - Shares pkgdb curated category or tags: cli, developer-tools, xml.
- [yq](https://pkg.so/zh-hans/brew/yq/) - Shares pkgdb curated category or tags: cli, developer-tools, xml.
- [libxml2](https://pkg.so/zh-hans/brew/libxml2/) - Shares pkgdb curated category or tags: cli, developer-tools, xml.
- [buffrs](https://pkg.so/zh-hans/brew/buffrs/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, management, package-management.
- [cargo-binstall](https://pkg.so/zh-hans/brew/cargo-binstall/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, management, package-management.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
