Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 asciidoc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install asciidoc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install asciidoc

MacPorts ports tree · textproc/asciidoc/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add asciidoc

Alpine Linux edge package indexes · asciidoc · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install asciidoc

Debian stable package indexes · asciidoc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install asciidoc

Fedora Rawhide package metadata · asciidoc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#asciidoc

nixpkgs package indexes · pkgs/by-name/as/asciidoc/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S asciidoc

Arch Linux sync databases · asciidoc · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install asciidoc

openSUSE Tumbleweed package metadata · asciidoc · 来源: download.opensuse.org

概览

软件包摘要

Formatter/translator for text files to numerous formats

命令和别名

  • a2x
  • asciidoc

历史

项目历史与用法

The Homebrew `asciidoc` formula packages AsciiDoc.py, the legacy Python processor for the AsciiDoc lightweight markup language. The language began as Stuart Rackham's shorthand for DocBook, while the current AsciiDoc.py site now explicitly distinguishes the legacy processor from the modern AsciiDoc specification.

项目历史

The official Asciidoctor history records that Stuart Rackham first conceived AsciiDoc in 2002 as a shorthand format for DocBook and launched both the language and processor as the AsciiDoc.py project. The first public AsciiDoc.py 1.0 release, SourceForge registration, and first website publication all happened on 2002-11-25.

AsciiDoc.py evolved for roughly a decade as the original processor. The official timeline records a move from SourceForge-era hosting through Google Code and then, in December 2013, transfer of the source repository to the asciidoc organization on GitHub. The AsciiDoc.py homepage describes it as highly configurable, with source syntax and backend output markups customizable through configuration files.

The later Python package line modernized the old processor. The official changelog records Python 3.5+ support in version 9.0.0 in 2020, a 10.0.0 rewrite into a proper Python package installable with `pip install asciidoc` in 2021, and version 10.2.1 in July 2024.

采用历史

AsciiDoc.py spread because it made DocBook-oriented publishing possible from plain text using `asciidoc` and the `a2x` wrapper. The official homepage shows examples for HTML, XHTML, DocBook, EPUB, PDF, slides, websites, and Unix man pages, and the install page lists distro packaging in Fedora, Debian/Ubuntu, and Homebrew.

Its role changed after Asciidoctor appeared. The official history says Asciidoctor became AsciiDoc.py's successor after GitHub disabled AsciiDoc rendering in January 2013 for security concerns and then re-enabled rendering with Asciidoctor. The AsciiDoc.py homepage now recommends using a modern processor unless the AsciiDoc.py toolchain is specifically required.

使用方式

Package users install `asciidoc` and `a2x` to translate `.txt` or `.adoc` sources into HTML, DocBook, man pages, EPUB, PDF, and related outputs. The user guide describes AsciiDoc as lightweight, consisting of scripts plus configuration files, with backend plugins and themes extending output generation.

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

AsciiDoc.py is historically important because it is the original implementation that made AsciiDoc a package-manager staple. It is also a useful case study in language/tool split: the `asciidoc` package name preserves the old Python processor even as the language specification and modern processing ecosystem moved toward Asciidoctor and the Eclipse AsciiDoc Working Group.

时间线

  • 2002-11-25: First public release of AsciiDoc.py 1.0 by Stuart Rackham.
  • 2007-10-23: AsciiDoc.py source repository converted to Mercurial and transferred to Google Code.
  • 2013-12-21: AsciiDoc.py source repository converted to git and transferred to the asciidoc GitHub organization.
  • 2020-06-02: AsciiDoc.py 9.0.0 ports the processor to Python 3.5+.
  • 2021-10-16: AsciiDoc.py 10.0.0 becomes a proper Python package installable from PyPI.
  • 2024-07-16: AsciiDoc.py 10.2.1 released.

Related projects

  • Asciidoctor is the Ruby successor and current reference implementation for the AsciiDoc language.
  • a2x is the AsciiDoc.py toolchain wrapper for post-processing DocBook output into formats such as PDF and EPUB.
  • The Eclipse AsciiDoc Working Group governs the modern AsciiDoc language direction.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
a2xcli全局可执行文件
asciidoccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本10.2.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://asciidoc-py.github.io/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://asciidoc-py.github.io/none 置信度

安装元数据

软件包元数据

软件包键brew:asciidoc
版本10.2.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/asciidoc
主页https://asciidoc-py.github.io/
仓库https://github.com/asciidoc/asciidoc-py3
上游文档https://asciidoc-py.github.io/
许可证GPL-2.0-or-later
源码归档https://files.pythonhosted.org/packages/1d/e7/315a82f2d256e9270977aa3c15e8fe281fd7c40b8e2a0b97e0cb61ca8fa0/asciidoc-10.2.1.tar.gz
依赖docbook, python@3.14, source-highlight
macOS 提供的库libxml2
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明
注意事项If you intend to process AsciiDoc files through an XML stage (such as a2x for manpage generation) you need to add something like: export XML_CATALOG_FILES=$HOMEBREW_PREFIX/etc/xml/catalog to your shell rc file so that xmllint can find AsciiDoc's catalog files. See `man 1 xmllint' for more.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameasciidoc
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

asciidoc 10.2.1-1

Highly configurable text format for writing documentation

https://asciidoc.org

sudo apt install asciidoc
  • Section: text
  • Architecture: all
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

asciidoc-base 10.2.1-1

Minimal version of asciidoc not suitable for pdf

https://asciidoc.org

sudo apt install asciidoc-base
  • Section: text
  • Architecture: all
  • Source Package: asciidoc
  • 5 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoc-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

asciidoc-common 10.2.1-1

Basic data and configuration files for asciidoc

https://asciidoc.org

sudo apt install asciidoc-common
  • Section: text
  • Architecture: all
  • Source Package: asciidoc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

asciidoc-dblatex 10.2.1-1

Asciidoc package including dblatex dependencies

https://asciidoc.org

sudo apt install asciidoc-dblatex
  • Section: text
  • Architecture: all
  • Source Package: asciidoc
  • 4 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoc-dblatex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

asciidoc-fop 10.2.1-1

Asciidoc package including fop dependencies

https://asciidoc.org

sudo apt install asciidoc-fop
  • Section: text
  • Architecture: all
  • Source Package: asciidoc
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoc-fop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

asciidoc-tests 10.2.1-1

Test framework for asciidoc

https://asciidoc.org

sudo apt install asciidoc-tests
  • Section: text
  • Architecture: all
  • Source Package: asciidoc
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoc-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

asciidoc

nix profile install nixpkgs#asciidoc
  • normalized package name match
  • 匹配方式:Asciidoc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/asciidoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

asciidoc 10.2.0-2

Highly configurable text format for writing documentation

https://asciidoc.org

sudo apt install asciidoc
  • Section: universe/text
  • Architecture: all
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

asciidoc-base 10.2.0-2

Minimal version of asciidoc not suitable for pdf

https://asciidoc.org

sudo apt install asciidoc-base
  • Section: universe/text
  • Architecture: all
  • Source Package: asciidoc
  • 5 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoc-base from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

asciidoc-common 10.2.0-2

Basic data and configuration files for asciidoc

https://asciidoc.org

sudo apt install asciidoc-common
  • Section: universe/text
  • Architecture: all
  • Source Package: asciidoc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

asciidoc-dblatex 10.2.0-2

Asciidoc package including dblatex dependencies

https://asciidoc.org

sudo apt install asciidoc-dblatex
  • Section: universe/text
  • Architecture: all
  • Source Package: asciidoc
  • 4 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoc-dblatex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

asciidoc-fop 10.2.0-2

Asciidoc package including fop dependencies

https://asciidoc.org

sudo apt install asciidoc-fop
  • Section: universe/text
  • Architecture: all
  • Source Package: asciidoc
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoc-fop from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

asciidoc-tests 10.2.0-2

Test framework for asciidoc

https://asciidoc.org

sudo apt install asciidoc-tests
  • Section: universe/text
  • Architecture: all
  • Source Package: asciidoc
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoc-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

asciidoc 10.2.1-r1

Text based documentation

https://asciidoc.org/

sudo apk add asciidoc
  • License: GPL-2.0-or-later AND MIT
  • Architecture: x86_64
  • Source Package: asciidoc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Asciidoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asciidoc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

asciidoc-doc 10.2.1-r1

Text based documentation (documentation)

https://asciidoc.org/

sudo apk add asciidoc-doc
  • License: GPL-2.0-or-later AND MIT
  • Architecture: x86_64
  • Source Package: asciidoc
  • normalized package name match
  • 匹配方式:Asciidoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asciidoc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

asciidoc-pyc 10.2.1-r1

Precompiled Python bytecode for asciidoc

https://asciidoc.org/

sudo apk add asciidoc-pyc
  • License: GPL-2.0-or-later AND MIT
  • Architecture: x86_64
  • Source Package: asciidoc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Asciidoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asciidoc-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment