ppm

Posted by tale103108 on 2009-05-26 08:43
Forums: PPM | OS: Windows XP Pro

Trying to use ppm and install a module I just downloaded. Use to be able to install from the DOS command line as follows:

ppm install --location=C:\temp MODULE_NAME

but ppm no lonfer recognizes the --location option/switch.

Questions:
(1) How do I load a module that is in another directory from current directory using/from the DOS command line?
(2) How to install a module downloaded using the ppm GUI?
(3) How to disable GUI from running when I enter 'ppm' so I can use the DOS prompt and ppm interactively?

THX.

grahams
ActiveState Staff
Tue, 2009-07-14 13:26

all you need is:
ppm install c:\tmp\module-name.ppd

Path to file can be a web address or local directory.

You can't disable the GUI with PPM4, but you can run
ppm-shell
which amounts to nearly the same thing.

You can't just download a module with PPM4 and not install it. Zip archives of the current ActiveState repository are no longer generated, but other sites, such as the University of Winnipeg, are still using the zip format:
http://cpan.uwinnipeg.ca/PPMPackages/10xx/

If you have been maintaining a library of modules locally, be careful that you only install them onto compatible versions of ActivePerl. There are safeguards, but you are much more likely to get a mismatch if you are using the command line.