# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 txt2tags

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

## 安装

```sh
sudo av install brew:txt2tags
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install txt2tags
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install txt2tags
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install txt2tags
```

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

- dnf (92%):

```sh
sudo dnf install txt2tags
```

  证据: Fedora Rawhide package metadata: txt2tags from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#txt2tags
```

  证据: nixpkgs package indexes: pkgs/by-name/tx/txt2tags/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S txt2tags
```

  证据: Arch Linux sync databases: txt2tags from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install python313-txt2tags
```

  证据: openSUSE Tumbleweed package metadata: python313-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:txt2tags
- **软件包管理器:** Homebrew
- **版本:** 3.9
- **来源摘要:** Conversion tool to generating several file formats
- **主页:** <https://txt2tags.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- txt2tags (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

txt2tags is a long-running lightweight markup converter. Its official README says Aurelio Jargas created it in 2001 to read minimally marked-up text and generate many output formats, including HTML, LaTeX, DocBook, man pages, MediaWiki, MoinMoin, and others.

### 项目历史

The project came out of the Unix tradition of keeping source documents plain, diffable, and scriptable. Official project material describes a split between a feature-rich Python 2 branch, v2, and a simpler Python 3-compatible v3 branch that was branched from txt2tags 2.6 and intentionally removed some older features to make maintenance easier.

The official old news archive shows active mid-2000s development around new targets, translations, documentation, and ports. By late 2004 the project had 2.x releases, Lout support, command-line options, and several translations.

### 采用历史

The old project news records early use by documentation-heavy communities. In 2004 it noted PicoContainer using txt2tags for a book and the OpenPHPNuke documentation team switching program docs from LaTeX to txt2tags because the source was readable, quick to edit, and friendlier to version control.

The same archive records an OpenBSD port entering the official tree in early 2005, a useful signal for package-manager adoption because it moved txt2tags from a downloadable script into a Unix ports workflow.

### 使用方式

Package users install the `txt2tags` CLI to keep one marked-up source file and generate target formats for websites, manuals, wikis, books, and documentation. Its appeal is strongest where plain text, reproducible conversion, and low ceremony matter more than a large publishing stack.

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

For package nerds, txt2tags is interesting as a compact documentation converter with a long tail across ports and distro repositories. It represents the pre-Pandoc era of markup tools where small Unix-friendly converters solved practical documentation and man-page generation problems.

### 时间线

- 2001: Aurelio Jargas created txt2tags.
- 2004: Official news recorded txt2tags 2.1 and 2.2 releases, new targets, and translations.
- 2005: Official news recorded an OpenBSD port entering the official tree.
- 2010: txt2tags 2.6 became the base for later v2 and v3 branch histories.
- 2016-2020s: The GitHub repository tracked the Python 3-oriented v3 line with PyPI releases.

### Related projects

- Related tools in the same package-manager niche include Pandoc, AsciiDoc, reStructuredText, DocBook processors, Markdown converters, wiki markup exporters, and man-page generation tools.

### 来源

- <https://github.com/txt2tags/txt2tags#readme>
- <https://txt2tags.org/docs>
- <https://txt2tags.org/misc/oldnews.html>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - txt2tags - 3.9-1: normalized package name match | Debian stable package indexes: txt2tags from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | conversion tool to generating several file formats | https://txt2tags.sourceforge.net/
- Nix - txt2tags: normalized package name match | nixpkgs package indexes: pkgs/by-name/tx/txt2tags/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - txt2tags - 3.4-4: normalized package name match | Ubuntu 24.04 LTS package indexes: txt2tags from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | conversion tool to generating several file formats | https://txt2tags.sourceforge.net/
- dnf - txt2tags - 3.3-26.fc45: normalized package name match | Fedora Rawhide package metadata: txt2tags from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Summary: Converts text files to HTML, XHTML, LaTeX, and other formats | http://txt2tags.sourceforge.net/
- pacman - txt2tags - 3.9-4: normalized package name match | Arch Linux sync databases: txt2tags from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A text formatting and conversion tool. | http://www.txt2tags.org
- zypper - python313-txt2tags - 3.9-2.4: normalized package name match | openSUSE Tumbleweed package metadata: python313-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Converts text files to HTML, XHTML, sgml, LaTeX, man and others | https://txt2tags.org/
- zypper - python314-txt2tags - 3.9-2.4: normalized package name match | openSUSE Tumbleweed package metadata: python314-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Converts text files to HTML, XHTML, sgml, LaTeX, man and others | https://txt2tags.org/
- MacPorts - txt2tags: normalized package name match | MacPorts ports tree: textproc/txt2tags/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/txt2tags.yml](https://github.com/mxcl/pkgdb/blob/main/combined/txt2tags.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
