# 使用 Homebrew, apt, dnf 安装 perltidy

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

## 安装

```sh
sudo av install brew:perltidy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install perltidy
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install perltidy
```

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

- dnf (92%):

```sh
sudo dnf install perltidy
```

  证据: Fedora Rawhide package metadata: perltidy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:perltidy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/perltidy>
- **版本:** 20260705
- **来源摘要:** Indents and reformats Perl scripts to make them easier to read
- **主页:** <https://perltidy.sourceforge.net/>
- **上游文档:** <https://perltidy.sourceforge.net/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/perltidy/20260705/Perl-Tidy-20260705.tar.gz>
- **最后更新:** 2026-07-04T15:16:44Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- perltidy (cli)
- perltidy (别名)

## macOS 提供的库

- perl

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 20260705
- 管理器更新时间: 2026-07-04
- 本地数据: OK
- 上游仓库: https://perltidy.sourceforge.net/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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: .perltidyrc, ~/.perltidyrc, /usr/local/etc/perltidyrc, /etc/perltidyrc
- Windows: perltidy.ini
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** perltidy
- **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 - perltidy - 20250105-1: normalized package name match | Debian stable package indexes: perltidy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl script indenter and reformatter | https://perltidy.sourceforge.net/
- Ubuntu apt - perltidy - 20230309-2: normalized package name match | Ubuntu 24.04 LTS package indexes: perltidy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Perl script indenter and reformatter | https://perltidy.sourceforge.net/
- dnf - perltidy - 20260705-2.fc45: normalized package name match | Fedora Rawhide package metadata: perltidy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Tool for indenting and re-formatting Perl scripts | http://perltidy.sourceforge.net/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ormolu](https://pkg.so/zh-hans/brew/ormolu/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [findent](https://pkg.so/zh-hans/brew/findent/) - Shares pkgdb curated category or tags: beautifier, cli, code-formatting, developer-tools, formatter.
- [prettier](https://pkg.so/zh-hans/brew/prettier/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [php-cs-fixer](https://pkg.so/zh-hans/brew/php-cs-fixer/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools.
- [prettierd](https://pkg.so/zh-hans/brew/prettierd/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [ktfmt](https://pkg.so/zh-hans/brew/ktfmt/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [reorder-python-imports](https://pkg.so/zh-hans/brew/reorder-python-imports/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools.
- [djhtml](https://pkg.so/zh-hans/brew/djhtml/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [darker](https://pkg.so/zh-hans/brew/darker/) - Local package facts share a topical domain. Shared terms: cli, code, code-formatting, developer, developer-tools.

## Combined YAML source

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


## 来源

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