# 使用 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
- **版本:** 3.07
- **来源摘要:** BibTeX bibliography file pretty printer and syntax checker
- **主页:** <https://www.math.utah.edu/~beebe/software/bibclean/bibclean-03.html#HDR.3>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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


## Combined YAML source

View the package source record on GitHub. [combined/bibclean.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bibclean.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
