# cpanminus を Homebrew, apt, pacman, dnf, zypper でインストール

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

## インストール

```sh
sudo av install brew:cpanminus
```

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

### macOS

- Homebrew (100%):

```sh
brew install cpanminus
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cpanminus
```

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

- pacman (92%):

```sh
sudo pacman -S cpanminus
```

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

- dnf (92%):

```sh
sudo dnf install perl-App-cpanminus
```

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

- zypper (92%):

```sh
sudo zypper install perl-App-cpanminus
```

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

## パッケージ情報

- **パッケージキー:** brew:cpanminus
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.7049
- **ソース概要:** Get, unpack, build, and install modules from CPAN
- **ホームページ:** <https://github.com/miyagawa/cpanminus>
- **リポジトリ:** <https://github.com/miyagawa/cpanminus>
- **最終更新:** 2026-06-22T14:03:05-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cpanm (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.7049
## プロジェクトの歴史と使われ方

cpanminus, commonly invoked as cpanm, is a minimal Perl CPAN installer whose official description is to get, unpack, build, and install modules from CPAN and do nothing else.

### プロジェクトの歴史

The official README presents cpanminus as a dependency-free, zero-configuration, standalone script that can bootstrap itself and run with a small memory footprint. Its copyright notice begins in 2010 under Tatsuhiko Miyagawa.

The project repository and MetaCPAN documentation identify cpanminus as App::cpanminus, with cpanm as the user-facing executable.

### 採用の歴史

The official README explicitly notes distribution through package management systems, including Debian packages, RPMs, FreeBSD ports, and other operating-system packages. The batch source facts also list Homebrew, Debian, Ubuntu, Fedora-family, Arch, and openSUSE-style package names.

It became popular in Perl packaging culture because it reduced CPAN installation to a small command-line tool, avoiding the heavier interactive configuration experience associated with older CPAN clients.

### 使われ方

The common usage is `cpanm Module`, with installation options for system Perl, local Perl environments such as perlbrew or plenv, and standalone executable placement. cpanminus fetches and unpacks files under ~/.cpanm by default and allows PERL_CPANM_HOME to change that working area.

### パッケージ好きにとっての重要性

cpanminus matters to package nerds because it is both a package and a package installer: distributions package it so users can install Perl modules, while Perl users use it to bridge CPAN, local::lib, system package policies, and self-contained language-runtime workflows.

### タイムライン

- 2010: Copyright start year for App::cpanminus in the official README.
- 1.6004: The README notes CPAN Meta DB and MetaCPAN query behavior for cpanm 1.6004 or later.
- Current packaging: The README documents availability through Debian packages, RPMs, FreeBSD ports, and other operating-system package systems.

### Related projects

- The README compares its scope with CPAN and CPANPLUS, and points to local::lib, perlbrew, plenv, CPAN Meta DB, MetaCPAN, App::cpanoutdated, cpan-listchanges, and App::cpanminus::reporter as adjacent tools.

### ソース

- <https://github.com/miyagawa/cpanminus#readme>
- <https://metacpan.org/pod/App::cpanminus>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Debian apt - cpanminus - 1.7048-1: normalized package name match | Debian stable package indexes: cpanminus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | script to get, unpack, build and install modules from CPAN | https://metacpan.org/release/App-cpanminus
- Ubuntu apt - cpanminus - 1.7047-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cpanminus from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | script to get, unpack, build and install modules from CPAN | https://metacpan.org/release/App-cpanminus
- dnf - perl-App-cpanminus - 1.7049-2.fc45: normalized package name match | Fedora Rawhide package metadata: perl-App-cpanminus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Get, unpack, build and install CPAN modules | https://metacpan.org/release/App-cpanminus
- pacman - cpanminus - 1.7049-1: normalized package name match | Arch Linux sync databases: cpanminus from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Get, unpack, build, and install modules from CPAN | https://github.com/miyagawa/cpanminus
- zypper - perl-App-cpanminus - 1.7049-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: perl-App-cpanminus from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Get, unpack, build and install modules from CPAN | https://metacpan.org/release/App-cpanminus


## Combined YAML source

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


## ソース

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