Automic VaultAutomic Vault

brew

使用 Homebrew, apt, pacman, dnf, zypper 安装 cpanminus

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cpanminus

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install cpanminus

Debian stable package indexes · cpanminus · 来源: deb.debian.org

Arch Linux pacman已验证 · 92%
sudo pacman -S cpanminus

Arch Linux sync databases · cpanminus · 来源: geo.mirror.pkgbuild.com

Fedora dnf已验证 · 92%
sudo dnf install perl-App-cpanminus

Fedora Rawhide package metadata · perl-App-cpanminus · 来源: dl.fedoraproject.org

openSUSE zypper已验证 · 92%
sudo zypper install perl-App-cpanminus

openSUSE Tumbleweed package metadata · perl-App-cpanminus · 来源: download.opensuse.org

概览

软件包摘要

Get, unpack, build, and install modules from CPAN

命令和别名

  • cpanm

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cpanmcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.7049
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/miyagawa/cpanminus

安装元数据

软件包元数据

软件包键brew:cpanminus
版本1.7049
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cpanminus
主页https://github.com/miyagawa/cpanminus
仓库https://github.com/miyagawa/cpanminus
上游文档https://github.com/miyagawa/cpanminus#readme
许可证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
Pulseupdated
构建依赖perl
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecpanminus
Aliases
  • cpanm
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

cpanminus 1.7048-1

script to get, unpack, build and install modules from CPAN

https://metacpan.org/release/App-cpanminus

sudo apt install cpanminus
  • Section: perl
  • Architecture: all
  • 16 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Cpanminus
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpanminus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

cpanminus 1.7047-1

script to get, unpack, build and install modules from CPAN

https://metacpan.org/release/App-cpanminus

sudo apt install cpanminus
  • Section: universe/perl
  • Architecture: all
  • 16 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Cpanminus
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpanminus from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

perl-App-cpanminus 1.7049-1.fc45

Get, unpack, build and install CPAN modules

https://metacpan.org/release/App-cpanminus

sudo dnf install perl-App-cpanminus
  • License: GPL-1.0-or-later OR Artistic-1.0-Perl
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: perl-App-cpanminus
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Cpanminus
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: perl-App-cpanminus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cpanminus 1.7049-1

Get, unpack, build, and install modules from CPAN

https://github.com/miyagawa/cpanminus

sudo pacman -S cpanminus
  • License: Artistic-1.0-Perl OR GPL-1.0-or-later
  • Architecture: any
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cpanminus
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cpanminus from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

perl-App-cpanminus 1.7049-1.1

Get, unpack, build and install modules from CPAN

https://metacpan.org/release/App-cpanminus

sudo zypper install perl-App-cpanminus
  • License: Artistic-1.0 OR GPL-1.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: perl-App-cpanminus
  • 2 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式:Cpanm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: perl-App-cpanminus from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment