# 使用 Homebrew, apt 安装 msc-generator

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

## 安装

```sh
sudo av install brew:msc-generator
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install msc-generator
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install msc-generator
```

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

## 软件包事实

- **软件包键:** brew:msc-generator
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/msc-generator>
- **版本:** 8.6.4
- **来源摘要:** Draws signalling charts from textual description
- **主页:** <https://gitlab.com/msc-generator/msc-generator>
- **上游文档:** <https://gitlab.com/msc-generator/msc-generator>
- **许可证:** AGPL-3.0-or-later
- **源码归档:** <https://gitlab.com/api/v4/projects/31167732/packages/generic/msc-generator/8.6.4/msc-generator-8.6.4.tar.gz>
- **最后更新:** 2026-07-09T11:52:11Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- msc-gen (cli)
- msc-gen (别名)

## 依赖

- cairo
- fontconfig
- gcc
- glpk
- graphviz
- libpng
- sdl2-compat
- tinyxml2

## 构建依赖

- autoconf
- automake
- bison
- gnu-sed
- help2man
- make
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 8.6.4
- 管理器更新时间: 2026-07-09
- 本地数据: OK
- 上游仓库: https://gitlab.com/msc-generator/msc-generator
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Msc-generator grew out of the same text-to-diagram tradition as mscgen. Its own manual describes the signalling-chart engine as a heavily extended and completely rewritten version of Michael C. McTernan's mscgen 0.08, with the focus shifted from interprocess communication toward networking. It kept command-line compatibility with mscgen so tools wired to mscgen, including Doxygen workflows, could use Msc-generator as a drop-in renderer, and version 4.5 added a dedicated mscgen compatibility mode.

### 使用方式

The project expanded beyond classic Message Sequence Charts. The README records a Windows GUI with OLE embedding in version 2.2, a new drawing engine in version 3.0, Graphviz DOT graph support in version 5.0, a block-diagram language in version 6.0, a Linux and macOS GUI launched with `msc-gen --gui` in version 7.0, and a new Office-document embedding method in version 8.0. In practice, users write chart descriptions as text and render signalling charts, Graphviz-style graphs, or block diagrams through `msc-gen` or the GUI, with output suitable for documentation and Office documents. Its package niche is the richer successor to mscgen: heavier than the small original tool, but broader in chart types, GUI support, and document embedding.

### 来源

- <https://formulae.brew.sh/formula/msc-generator>
- <https://gitlab.com/msc-generator/msc-generator/-/raw/master/README.md>
- <https://msc-generator.gitlab.io/msc-generator/>


## 安全说明

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:** msc-generator
- **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

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

- Debian apt - msc-generator - 8.6.2-4: normalized package name match | Debian stable package indexes: msc-generator from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Draws signalling charts from textual description | https://gitlab.com/msc-generator/msc-generator
- Debian apt - msc-generator-doc - 8.6.2-4: normalized package name match | Debian stable package indexes: msc-generator-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for msc-generator | https://gitlab.com/msc-generator/msc-generator
- Debian apt - msc-generator-nox - 8.6.2-4: normalized package name match | Debian stable package indexes: msc-generator-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Draws signalling charts from textual description (no-X version) | https://gitlab.com/msc-generator/msc-generator
- Ubuntu apt - msc-generator - 8.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: msc-generator from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Draws signalling charts from textual description | https://gitlab.com/msc-generator/msc-generator
- Ubuntu apt - msc-generator-doc - 8.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: msc-generator-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for msc-generator | https://gitlab.com/msc-generator/msc-generator
- Ubuntu apt - msc-generator-nox - 8.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: msc-generator-nox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Draws signalling charts from textual description (no-X version) | https://gitlab.com/msc-generator/msc-generator


## 相关链接

- [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.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [gcc](https://pkg.so/zh-hans/brew/gcc/) - Runtime dependency declared by Homebrew.
- [cairo](https://pkg.so/zh-hans/brew/cairo/) - Runtime dependency declared by Homebrew.
- [graphviz](https://pkg.so/zh-hans/brew/graphviz/) - Runtime dependency declared by Homebrew.
- [sdl2-compat](https://pkg.so/zh-hans/brew/sdl2-compat/) - Runtime dependency declared by Homebrew.
- [glpk](https://pkg.so/zh-hans/brew/glpk/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [gnu-sed](https://pkg.so/zh-hans/brew/gnu-sed/) - Build dependency declared by Homebrew.
- [plantuml](https://pkg.so/zh-hans/brew/plantuml/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming, text-to-diagram.
- [mscgen](https://pkg.so/zh-hans/brew/mscgen/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming, message-sequence-chart.
- [clang-uml](https://pkg.so/zh-hans/brew/clang-uml/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming.
- [likec4](https://pkg.so/zh-hans/brew/likec4/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming.
- [diagram](https://pkg.so/zh-hans/brew/diagram/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming.
- [sdedit](https://pkg.so/zh-hans/brew/sdedit/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming.
- [svgbob](https://pkg.so/zh-hans/brew/svgbob/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming.
- [dpic](https://pkg.so/zh-hans/brew/dpic/) - Shares pkgdb curated category or tags: cli, developer-tools, diagramming.
- [eralchemy](https://pkg.so/zh-hans/brew/eralchemy/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, diagram, diagramming.

## Combined YAML source

View the package source record on GitHub. [combined/msc-generator.yml](https://github.com/mxcl/pkgdb/blob/main/combined/msc-generator.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
