# perl を Homebrew, apk, apt, dnf, Nix, pacman, zypper, scoop でインストール

perl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:perl
```

## エージェント安全性の回答

perl runs scripts and package workflows that may sit near credentials.

- **認証情報アクセス:** Reads environment variables, config files, and script inputs.
- **リモート変更:** Can run arbitrary automation that calls APIs or changes files.
- **公開/成果物リスク:** Can build or publish CPAN-style artifacts through related tooling.
- **推奨コントロール:** Gate script execution when secrets or network mutation are involved.
- **エージェント利用ガイダンス:** Allow local lint/test scripts; require approval for secret-backed or publishing scripts.

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install perl
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add perl
```

  証拠: Alpine Linux edge package indexes: perl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install perl
```

  証拠: Debian stable package indexes: perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install perl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#perl
```

  証拠: nixpkgs package indexes: perl from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S perl
```

  証拠: Arch Linux sync databases: perl from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install perl
```

  証拠: openSUSE Tumbleweed package metadata: perl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/perl
```

  証拠: Scoop official bucket manifest trees: bucket/perl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:perl
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/perl>
- **バージョン:** 5.42.2
- **ソース概要:** Highly capable, feature-rich programming language
- **ホームページ:** <https://www.perl.org/>
- **リポジトリ:** <https://github.com/perl/perl5>
- **上流ドキュメント:** <https://www.perl.org/>
- **ライセンス:** Artistic-1.0-Perl OR GPL-1.0-or-later
- **ソースアーカイブ:** <https://www.cpan.org/src/5.0/perl-5.42.2.tar.xz>
- **最終更新:** 2026-07-17T11:04:23-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- corelist (cli)
- cpan (cli)
- enc2xs (cli)
- encguess (cli)
- h2ph (cli)
- h2xs (cli)
- instmodsh (cli)
- json_pp (cli)
- libnetcfg (cli)
- perl (cli)
- perl5.42.2 (cli)
- perlbug (cli)
- perldoc (cli)
- perlivp (cli)
- perlthanks (cli)
- piconv (cli)
- pl2pm (cli)
- pod2html (cli)
- pod2man (cli)
- pod2text (cli)
- pod2usage (cli)
- podchecker (cli)
- prove (cli)
- ptar (cli)
- ptardiff (cli)
- ptargrep (cli)
- shasum (cli)
- splain (cli)
- streamzip (cli)
- xsubpp (cli)
- zipdetails (cli)
- corelist (エイリアス)
- cpan (エイリアス)
- enc2xs (エイリアス)
- encguess (エイリアス)
- h2ph (エイリアス)
- h2xs (エイリアス)
- instmodsh (エイリアス)
- json_pp (エイリアス)
- libnetcfg (エイリアス)
- perl (エイリアス)
- perl5.42.2 (エイリアス)
- perlbug (エイリアス)
- perldoc (エイリアス)
- perlivp (エイリアス)
- perlthanks (エイリアス)
- piconv (エイリアス)
- pl2pm (エイリアス)
- pod2html (エイリアス)
- pod2man (エイリアス)
- pod2text (エイリアス)
- pod2usage (エイリアス)
- podchecker (エイリアス)
- prove (エイリアス)
- ptar (エイリアス)
- ptardiff (エイリアス)
- ptargrep (エイリアス)
- shasum (エイリアス)
- splain (エイリアス)
- streamzip (エイリアス)
- xsubpp (エイリアス)
- zipdetails (エイリアス)

## 依存関係

- gdbm

## macOS 提供ライブラリ

- libxcrypt

## インストール挙動

- post-install フック: 未定義
- 注意点: By default non-brewed cpan modules are installed to the Cellar. If you wish for your modules to persist across updates we recommend using `local::lib`. You can set that up like this: PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib And add the following to your shell profile e.g. ~/.profile or ~/.zshrc eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 5.42.2
- マネージャ更新日: 2026-07-17
- ローカルデータ: OK
- 上流リポジトリ: https://www.perl.org/
- 情報: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## 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: ~/.cpan/CPAN/MyConfig.pm, ~/.cpan/CPAN/Config.pm, ~/.cpan/CPAN/Config_local.pm

## Credential files

- Unix: ~/.cpan/CPAN/MyConfig.pm, ~/.cpan/CPAN/Config.pm, ~/.cpan/CPAN/Config_local.pm
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** perl
- **Aliases:** perl@5.42
- **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

## 他のパッケージマネージャ記録

- Debian apt - libperl-dev - 5.40.1-6: normalized package name match | Debian stable package indexes: libperl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl library: development files | https://dev.perl.org/perl5/
- Debian apt - libperl5.40 - 5.40.1-6: normalized package name match | Debian stable package indexes: libperl5.40 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared Perl library | https://dev.perl.org/perl5/
- Debian apt - perl - 5.40.1-6: normalized package name match | Debian stable package indexes: perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Larry Wall's Practical Extraction and Report Language | https://dev.perl.org/perl5/
- Debian apt - perl-base - 5.40.1-6: normalized package name match | Debian stable package indexes: perl-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | minimal Perl system | https://dev.perl.org/perl5/
- Debian apt - perl-debug - 5.40.1-6: normalized package name match | Debian stable package indexes: perl-debug from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | debug-enabled Perl interpreter | https://dev.perl.org/perl5/
- Debian apt - perl-doc - 5.40.1-6: normalized package name match | Debian stable package indexes: perl-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl documentation | https://dev.perl.org/perl5/
- Debian apt - perl-modules-5.40 - 5.40.1-6: normalized package name match | Debian stable package indexes: perl-modules-5.40 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Core Perl modules | https://dev.perl.org/perl5/
- Nix - perl: normalized package name match | nixpkgs package indexes: perl from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libperl-dev - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libperl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Perl library: development files | http://dev.perl.org/perl5/
- Ubuntu apt - libperl5.38t64 - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libperl5.38t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | shared Perl library | http://dev.perl.org/perl5/
- Ubuntu apt - perl - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: perl from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Larry Wall's Practical Extraction and Report Language | http://dev.perl.org/perl5/
- Ubuntu apt - perl-base - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: perl-base from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | minimal Perl system | http://dev.perl.org/perl5/
- Ubuntu apt - perl-debug - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: perl-debug from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | debug-enabled Perl interpreter | http://dev.perl.org/perl5/
- Ubuntu apt - perl-doc - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: perl-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Perl documentation | http://dev.perl.org/perl5/
- Ubuntu apt - perl-modules-5.38 - 5.38.2-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: perl-modules-5.38 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Core Perl modules | http://dev.perl.org/perl5/
- apk - miniperl - 5.42.2-r0: normalized package name match | Alpine Linux edge package indexes: miniperl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Larry Wall's Practical Extraction and Report Language | https://www.perl.org/


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gdbm](https://pkg.so/ja/brew/gdbm/) - Runtime dependency declared by Homebrew.
- [texlive](https://pkg.so/ja/brew/texlive/) - Popular package that depends on this formula.
- [dpkg](https://pkg.so/ja/brew/dpkg/) - Popular package that depends on this formula.
- [latexindent](https://pkg.so/ja/brew/latexindent/) - Popular package that depends on this formula.
- [irssi](https://pkg.so/ja/brew/irssi/) - Popular package that depends on this formula.
- [cpm](https://pkg.so/ja/brew/cpm/) - Popular package that depends on this formula.
- [lanraragi](https://pkg.so/ja/brew/lanraragi/) - Popular package that depends on this formula.
- [apt](https://pkg.so/ja/brew/apt/) - Popular package that depends on this formula.
- [php](https://pkg.so/ja/brew/php/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime, scripting.
- [ruby](https://pkg.so/ja/brew/ruby/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, scripting.
- [lua](https://pkg.so/ja/brew/lua/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, scripting.
- [minimal-racket](https://pkg.so/ja/brew/minimal-racket/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [luau](https://pkg.so/ja/brew/luau/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, scripting.
- [ryelang](https://pkg.so/ja/brew/ryelang/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, scripting.
- [nu](https://pkg.so/ja/brew/nu/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, scripting.
- [picat](https://pkg.so/ja/brew/picat/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, scripting.
- [arturo](https://pkg.so/ja/brew/arturo/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, programming, programming-language.

## Combined YAML source

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