# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cpanminus>
- **バージョン:** 1.7049
- **ソース概要:** Get, unpack, build, and install modules from CPAN
- **ホームページ:** <https://github.com/miyagawa/cpanminus>
- **リポジトリ:** <https://github.com/miyagawa/cpanminus>
- **ライセンス:** Artistic-1.0-Perl OR GPL-1.0-or-later
- **ソースアーカイブ:** <https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7049.tar.gz>
- **最終更新:** 2026-06-22T14:03:05-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cpanm (cli)
- cpanm (エイリアス)

## ビルド依存関係

- perl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.7049
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/miyagawa/cpanminus
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cpanminus
- **Aliases:** cpanm
- **Version Scheme:** 1
- **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 - 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [perl](https://pkg.so/ja/brew/perl/) - Build dependency declared by Homebrew.
- [cpm](https://pkg.so/ja/brew/cpm/) - Shares pkgdb curated category or tags: cli, cpan, developer-tools, package-management, perl.
- [pnpm](https://pkg.so/ja/brew/pnpm/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [mint](https://pkg.so/ja/brew/mint/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [composer](https://pkg.so/ja/brew/composer/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [poetry](https://pkg.so/ja/brew/poetry/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [nuget](https://pkg.so/ja/brew/nuget/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [conan](https://pkg.so/ja/brew/conan/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [pixi](https://pkg.so/ja/brew/pixi/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [corepack](https://pkg.so/ja/brew/corepack/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, management, manager.
- [micromamba](https://pkg.so/ja/brew/micromamba/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, management, manager.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
