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

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

## 安装

```sh
sudo av install brew:halibut
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install halibut
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install halibut
```

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

- dnf (92%):

```sh
sudo dnf install halibut
```

  证据: Fedora Rawhide package metadata: halibut 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#halibut
```

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

- pacman (92%):

```sh
sudo pacman -S halibut
```

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

- zypper (92%):

```sh
sudo zypper install halibut
```

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

## 软件包事实

- **软件包键:** brew:halibut
- **软件包管理器:** Homebrew
- **版本:** 1.3
- **来源摘要:** Yet another free document preparation system
- **主页:** <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- halibut (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Halibut is Simon Tatham's free document preparation system for software manuals. It reads one source format and emits plain text, HTML, PDF, PostScript, Unix man pages, Unix info files, Windows HTML Help, and Windows WinHelp.

### 项目历史

The official Halibut page explains that the idea came from Simon Tatham's work on NASM documentation, where he wanted web, printable, and online-viewable outputs from one source. An earlier Perl implementation proved the concepts but was slow and hard to maintain, so Halibut was rewritten in portable C.

Halibut's design is explicitly shaped by dissatisfaction with existing tools for this particular niche. The homepage compares it with TeX, TeXinfo, debiandoc-sgml, and DocBook, emphasizing multi-format output, pervasive cross-references, indexing, Unicode fallback, portability, and configurable output directives.

### 采用历史

Halibut is a niche tool, but it persists because it solves a durable problem for maintainers of text-heavy software manuals. The project is associated with Simon Tatham's software ecosystem, and the official page provides both release archives and a public Git repository for development sources.

Its package-manager footprint is small but meaningful: users who package or build older software documentation can install `halibut` without adopting a larger documentation framework. Homebrew, Debian-family packages, Fedora-family packages, Arch-family packages, Nix, and openSUSE package names in the input show that the tool has enough downstream utility to be carried by multiple distributions.

### 使用方式

Users write Halibut source and run the `halibut` executable to generate manuals in several target formats. The supported formats make it useful for projects that want web documentation, printable documents, Unix manual pages, and legacy Windows help outputs from a single source.

The official documentation does not describe a user config file or credential store. Its main operational inputs are document source files and output-format directives embedded in or supplied with the documentation build.

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

Halibut is interesting to package nerds because it is a small, old-school build tool with a very specific documentation niche. It is not a general Markdown or DocBook replacement; it survives because some projects need exactly its multi-output manual pipeline.

The package is also a reminder that documentation generators are build dependencies. Even when end users never run Halibut directly, distributions may need it to rebuild man pages, HTML manuals, or release documentation from source.

### 时间线

- 1999-2007: License text and historical copyright notices associate Halibut's early development with this period.
- 2004-2017: The 1.3 manual records manual copyright coverage across this period.
- 2021: Halibut 1.3 was released with the documented feature set on the official page.
- 2021: The official page documented the recursive Git clone URL and web repository browser for development sources.

### Related projects

- NASM: project whose documentation needs inspired Halibut's original ideas.
- TeX, TeXinfo, debiandoc-sgml, and DocBook: documentation systems discussed in Halibut's rationale.
- Simon Tatham's PuTTY and puzzle projects: neighboring software ecosystem that uses documentation-oriented tooling, though not a direct dependency claim here.

### 来源

- <https://git.tartarus.org/simon/halibut.git>
- <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>
- <https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.3/>
- <https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.3/halibut.txt>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - halibut - 1.3-2: normalized package name match | Debian stable package indexes: halibut from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | yet another free document preparation system | https://www.chiark.greenend.org.uk/~sgtatham/halibut.html
- Nix - halibut: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/halibut/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - halibut - 1.3-2: normalized package name match | Ubuntu 24.04 LTS package indexes: halibut from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | yet another free document preparation system | https://www.chiark.greenend.org.uk/~sgtatham/halibut.html
- dnf - halibut - 1.3-13.fc45: normalized package name match | Fedora Rawhide package metadata: halibut from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | TeX-like software manual tool | http://www.chiark.greenend.org.uk/~sgtatham/halibut.html
- dnf - vim-halibut - 1.3-13.fc45: normalized package name match | Fedora Rawhide package metadata: vim-halibut from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Syntax file for the halibut manual tool | http://www.chiark.greenend.org.uk/~sgtatham/halibut.html
- pacman - halibut - 1.3-3: normalized package name match | Arch Linux sync databases: halibut from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Free document preparation system | https://www.chiark.greenend.org.uk/~sgtatham/halibut/
- zypper - halibut - 1.3-1.5: normalized package name match | openSUSE Tumbleweed package metadata: halibut from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Document preparation system similar to TeX | https://www.chiark.greenend.org.uk/~sgtatham/halibut/


## Combined YAML source

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