# 使用 Homebrew, apt, MacPorts, Nix 安装 bibclean

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

## 安装

```sh
sudo av install brew:bibclean
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bibclean
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bibclean
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install bibclean
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#bibclean
```

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

## 软件包事实

- **软件包键:** brew:bibclean
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bibclean>
- **版本:** 3.07
- **来源摘要:** BibTeX bibliography file pretty printer and syntax checker
- **主页:** <https://www.math.utah.edu/~beebe/software/bibclean/bibclean-03.html#HDR.3>
- **上游文档:** <https://ftp.math.utah.edu/pub/bibclean>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://ftp.math.utah.edu/pub/bibclean/bibclean-3.07.tar.xz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- bibclean (cli)
- bibclean-3.07 (cli)
- bibisbn (cli)
- bibisbn-3.07 (cli)
- bibclean (别名)
- bibclean-3.07 (别名)
- bibisbn (别名)
- bibisbn-3.07 (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.07
- 本地数据: OK
- 上游仓库: https://www.math.utah.edu/~beebe/software/bibclean/bibclean-03.html#HDR.3
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

bibclean is Nelson H. F. Beebe's BibTeX and Scribe bibliography pretty-printer and syntax checker.

### 项目历史

The official manual describes bibclean as a program that pretty-prints BibTeX input, checks brace balance and bibliography-entry syntax, and normalizes files so later filters and Emacs BibTeX support can process them predictably. The older 1.05 manual page is dated 1992, while later official distribution pages list many releases through the 3.x series.

The project predates today's GitHub-first release culture: the authoritative surface is a University of Utah web/FTP distribution with tar, zip, jar, zoo, checksum, and signed checksum files. The man page and distribution index document a long-running academic Unix tool rather than a modern hosted repository.

### 采用历史

The input metadata lists packages in Homebrew, Debian, MacPorts, Nix, and Ubuntu. Its packaging story follows TeX infrastructure habits: source archives and checksums upstream, distro formulas downstream, and command-line users integrating it into bibliography cleanup scripts.

### 使用方式

bibclean formats each BibTeX entry into a consistent structure, expands tabs, splits long strings, normalizes author/editor names, checks CODEN/ISBN/ISSN values, and can use initialization files for options and field/pattern validation rules. It searches initialization files through the executable PATH, BIBINPUTS, explicit -init-file arguments, and file-specific .ini files.

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

bibclean is package-nerd archaeology in useful form: a specialized text normalizer with decades-old Unix documentation, multiple archive formats, checksums, and a job that still matters to anyone maintaining large BibTeX corpora. It is small, scriptable, and very much of the 'do one thing well' lineage.

### 时间线

- 1992: Version 1.05 manual page is dated 01 August 1992.
- 1998: Version 2.11.4 manual page is dated 09 May 1998.
- 2003-2023: The official distribution index records continued updates over two decades.
- 2020: The 3.x HTML manual material records version 3.05 dated 18 May 2020.
- 2023: The official distribution page lists bibclean 3.07 archives and a May 2023 update.

### Related projects

- Related tools include BibTeX, Scribe bibliography files, Emacs BibTeX support, and companion bibliography filters named in the manual such as bibcheck, bibdup, bibextract, bibindex, bibjoin, biblook, biborder, bibsort, citefind, and citetags.

### 来源

- <https://ftp.math.utah.edu/pub/bibclean/>
- <https://ftp.math.utah.edu/pub/bibclean/bibclean-1.05.html>
- <https://www.math.utah.edu/~beebe/software/bibclean/bibclean-03.html>
- <https://www.math.utah.edu/~beebe/software/bibclean/bibclean-06.html>
- <https://www.math.utah.edu/~beebe/software/bibclean/bibclean.html>
- input.source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $BIBCLEANINI, .bibcleanrc in $PATH, .bibcleanrc in $BIBINPUTS, <bibliography-file-basename>.ini
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bibclean
- **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 - bibclean - 3.07-2: normalized package name match | Debian stable package indexes: bibclean from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pretty-printer for BibTeX databases | http://ftp.math.utah.edu/pub/bibclean/
- Nix - bibclean: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bibclean/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bibclean - 2.11.4.1-4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: bibclean from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pretty-printer for BibTeX databases | http://ftp.math.utah.edu/pub/bibclean/
- MacPorts - bibclean: normalized package name match | MacPorts ports tree: tex/bibclean/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched web development metadata.
- [bibtex2html](https://www.automicvault.com/zh-hans/pkg/brew/bibtex2html/) - Shares av.db curated category or tags: bibliography, bibtex, cli, productivity.
- [bibutils](https://www.automicvault.com/zh-hans/pkg/brew/bibutils/) - Shares av.db curated category or tags: bibliography, bibtex, cli, productivity.
- [papis](https://www.automicvault.com/zh-hans/pkg/brew/papis/) - Shares av.db curated category or tags: bibliography, bibtex, cli, productivity.
- [hayagriva](https://www.automicvault.com/zh-hans/pkg/brew/hayagriva/) - Shares av.db curated category or tags: bibliography, cli, productivity.
- [bib-tool](https://www.automicvault.com/zh-hans/pkg/brew/bib-tool/) - Shares av.db curated category or tags: bibliography, bibtex, cli, productivity.
- [asciidoc](https://www.automicvault.com/zh-hans/pkg/brew/asciidoc/) - Shares av.db curated category or tags: cli, formatter, productivity.
- [biber](https://www.automicvault.com/zh-hans/pkg/brew/biber/) - Shares av.db curated category or tags: bibliography, cli, productivity.
- [bibtexconv](https://www.automicvault.com/zh-hans/pkg/brew/bibtexconv/) - Shares av.db curated category or tags: bibtex, cli, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/bibclean.yml](https://github.com/automic-vault/db/blob/main/combined/bibclean.yml)


## 来源

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