macOS
brew install cpanminuslocal Homebrew formula metadata
安装
brew install cpanminuslocal Homebrew formula metadata
sudo apt install cpanminusDebian stable package indexes · cpanminus · 来源: deb.debian.org
sudo pacman -S cpanminusArch Linux sync databases · cpanminus · 来源: geo.mirror.pkgbuild.com
sudo dnf install perl-App-cpanminusFedora Rawhide package metadata · perl-App-cpanminus · 来源: dl.fedoraproject.org
sudo zypper install perl-App-cpanminusopenSUSE Tumbleweed package metadata · perl-App-cpanminus · 来源: download.opensuse.org
概览
Get, unpack, build, and install modules from CPAN
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cpanm | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cpanminus |
|---|---|
| 版本 | 1.7049 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/miyagawa/cpanminus |
| 仓库 | https://github.com/miyagawa/cpanminus |
| 最后更新 | 2026-06-22T14:03:05-07:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cpanminus 1.7048-1
script to get, unpack, build and install modules from CPAN
https://metacpan.org/release/App-cpanminus
sudo apt install cpanminuscpanminus 1.7047-1
script to get, unpack, build and install modules from CPAN
https://metacpan.org/release/App-cpanminus
sudo apt install cpanminusperl-App-cpanminus 1.7049-2.fc45
Get, unpack, build and install CPAN modules
https://metacpan.org/release/App-cpanminus
sudo dnf install perl-App-cpanminuscpanminus 1.7049-1
Get, unpack, build, and install modules from CPAN
https://github.com/miyagawa/cpanminus
sudo pacman -S cpanminusperl-App-cpanminus 1.7049-1.3
Get, unpack, build and install modules from CPAN
https://metacpan.org/release/App-cpanminus
sudo zypper install perl-App-cpanminus来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.