PPM - Perl Package Manager

from Active State

 

ppm is a graphical OR command-line package manager utility. Although it comes with your Active State installation, you may need to add a few repositories.

 

PPM Repositories
How do I add PPM Repositories? → slightly outdated

 

Active State Perl (for awhile) has had a GUI ppm, but if you know what you want, you can cut to the chase via the command line:

 

ppm rep add <repository address>
ppm install Package::Name

 

 

Stack Overflow: What’s the easiest way to install a missing Perl module?

 

ppm install Package::Name

 

 

Target machine has no internet access. Now what?

Download the files on another machine, point ppm to the network location (or storage, whatever).

 

ah, but ppm doesn’t have a download facility.

 

So, you can edit ppm, or find an online repository, such as http://www.bribes.org/perl/ppm/ http://ppm.activestate.com/PPMPackages/zips

 

I needed DateTime, so had to download the following:

 

TimeDate-1.19-PPM510.tar.gz
TimeDate-1.19-PPM56.tar.gz
TimeDate-1.19-PPM58.tar.gz
TimeDate.ppd

 

copy to a location available to target-machine, then execute

 

ppm install <path-to>\TimeDate.ppd

 

 

 

 

See Also

 

 

Category tags

Perl Programming packages ActiveState