# 使用 Homebrew, Nix 安装 arxiv_latex_cleaner

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

## 安装

```sh
sudo av install brew:arxiv_latex_cleaner
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install arxiv_latex_cleaner
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#arxiv-latex-cleaner
```

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

## 软件包事实

- **软件包键:** brew:arxiv_latex_cleaner
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/arxiv_latex_cleaner>
- **版本:** 1.0.11
- **来源摘要:** Clean LaTeX code to submit to arXiv
- **主页:** <https://github.com/google-research/arxiv-latex-cleaner>
- **仓库:** <https://github.com/google-research/arxiv-latex-cleaner>
- **上游文档:** <https://github.com/google-research/arxiv-latex-cleaner#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/73/ad/a58581c70d89cd1b26dffb87ff4722e3607dad8884a507da25401fb921c0/arxiv_latex_cleaner-1.0.11.tar.gz>
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- arxiv_latex_cleaner (cli)
- arxiv_latex_cleaner (别名)

## 依赖

- libyaml
- pillow
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 1.0.11
- 本地数据: OK
- 上游仓库: https://github.com/google-research/arxiv-latex-cleaner
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

arxiv_latex_cleaner is a Python CLI from google-research for preparing LaTeX paper source trees for arXiv submission. It removes auxiliary files, comments, unused files and images, and can resize or compress assets to fit arXiv constraints.

### 项目历史

The public GitHub repository was created in January 2019. The README frames the tool around a concrete academic publishing task: take a folder of LaTeX sources and produce a sibling `_arXiv` folder ready to zip and upload.

The release history shows v0.1.x releases beginning by 2020 and v1.0.x releases from 2023 onward, with v1.0.11 published in March 2026. The README notes that the project is not an officially supported Google product.

### 采用历史

The documented primary installation path is `pip install arxiv-latex-cleaner`, with Homebrew as an option on macOS. The provided package-manager facts also list Nix, and the GitHub repository metadata reported several thousand stars and hundreds of forks at research time.

Its adoption story is bound to academic workflow pain: arXiv uploads expose comments, reject oversized bundles, and require the right source subset. The tool turns that cleanup into a repeatable command-line step.

### 使用方式

Users run `arxiv_latex_cleaner /path/to/latex`, optionally with flags such as `--resize_images`, `--compress_pdf`, `--convert_png_to_jpg`, or `--config cleaner_config.yaml`. The README includes a YAML configuration example and documents regex-based replacement rules.

Important features include privacy-oriented comment and command removal, size-oriented pruning/resizing/compression, and replacing TikZ source with externalized graphics when configured.

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

This package is a neat example of a niche research-workflow CLI becoming a package-manager target. It is Python-first and pip-installable, but Homebrew and Nix packaging make it available to users who manage publishing tools outside Python virtual environments.

The package also exposes a common scientific-computing packaging tension: it wraps LaTeX, image, PDF, YAML, regex, and optional system tools into one small CLI whose inputs are messy project directories rather than clean APIs.

### 时间线

- 2019: Public GitHub repository created.
- 2020: v0.1.x GitHub releases published.
- 2023: v1.0.1 release published.
- 2026: v1.0.11 release published.

### Related projects

- The README references arXiv submission workflows, PGF/TikZ externalization, Ghostscript for PDF compression, Inkscape-generated SVG/PDF assets, and Python packaging.

### 来源

- <https://api.github.com/repos/google-research/arxiv-latex-cleaner>
- <https://api.github.com/repos/google-research/arxiv-latex-cleaner/releases>
- <https://github.com/google-research/arxiv-latex-cleaner>
- <https://raw.githubusercontent.com/google-research/arxiv-latex-cleaner/main/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** arxiv_latex_cleaner
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - arxiv-latex-cleaner: normalized package name match | nixpkgs package indexes: pkgs/by-name/ar/arxiv-latex-cleaner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ott](https://www.automicvault.com/zh-hans/pkg/brew/ott/) - Shares av.db curated category or tags: cli, latex, science.
- [aamath](https://www.automicvault.com/zh-hans/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, science.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: cli, science.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: cli, science.
- [abyss](https://www.automicvault.com/zh-hans/pkg/brew/abyss/) - Shares av.db curated category or tags: cli, science.
- [acl2](https://www.automicvault.com/zh-hans/pkg/brew/acl2/) - Shares av.db curated category or tags: cli, science.
- [adapterremoval](https://www.automicvault.com/zh-hans/pkg/brew/adapterremoval/) - Shares av.db curated category or tags: cli, science.
- [admesh](https://www.automicvault.com/zh-hans/pkg/brew/admesh/) - Shares av.db curated category or tags: cli, science.
- [astrometry-net](https://www.automicvault.com/zh-hans/pkg/brew/astrometry-net/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, python, python-3-14, science.
- [badread](https://www.automicvault.com/zh-hans/pkg/brew/badread/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, python, python-3-14, science.
- [dxpy](https://www.automicvault.com/zh-hans/pkg/brew/dxpy/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, python, python-3-14, science.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
