perl – 为什么没有找到ppm:命令?

前端之家收集整理的这篇文章主要介绍了perl – 为什么没有找到ppm:命令?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试运行几个ppm命令,但我没有走得太远.我在

azure
VM上运行Ubuntu 12.04.1 LTS.

> $sudo apt-get install ppm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ppm is already the newest version.
0 upgraded,0 newly installed,0 to remove and 7 not upgraded.
> $ppm repo add ASSP2 "http://downloads.sourceforge.net/project/assp/ASSP V2 multithreading/packages/"
No command 'ppm' found,but there are 16 similar ones
ppm: command not found
> $perl -v

This is perl 5,version 14,subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 55 registered patches,see perl -V for more detail)

任何方向都会非常有帮助.

仅供参考:我已经通过使用cpan来解决问题,但我宁愿使用ppm

工作简单

$sudo cpan
cpan[#]> install some::package

解决方法

ppm”是 ActiveState’s ActivePerl使用的包管理器的名称.

Ubuntu ppm package是“电源策略管理器”,是一个完全不相关的东西.

除非您在Ubuntu安装上使用ActivePerl,否则您不想使用他们的PPM实用程序.如果您尝试安装的软件包在Ubuntu的存储库中不可用,或者您不想在可用的情况下使用它,那么使用CPAN确实是您最好的选择.

猜你在找的Perl相关文章