Perl Package Manager

From PsychoStats

(Redirected from PPM)
Jump to: navigation, search

The 'ppm' that comes with ActivePerl 5.8+ is a GUI interface that makes it very easy to install extra perl modules. PsychoStats needs 2 non-standard Perl modules installed so you must install these manually.

Required Perl Modules:

  • DBI
  • DBD-mysql

Optional Perl Modules:

  • GD
  • XML-Simple

Click on the screen shot above to see the steps you need to take to install these 2 modules. Follow the numbers overlaid on the screen shot and the modules will install and download with ease.

You basically:

  1. 1. Select 'uninstalled modules' button
  2. 2. Type in the module name
  3. 3. Highlight the module to install
  4. 4. Select the 'add to install' button
  5. 5. And finally, click the 'run' button to have the modules installed.

Uwinnipeg Repository

Some Perl modules are not available on ActiveStats package repository. Another public repository available is from Uwinnipeg. Add the following repository to your PPM installation (under Edit -> Preferences -> Repositories)

Perl 5.8

http://theoryx5.uwinnipeg.ca/ppms/package.xml

Perl 5.10

http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.xml

Console Install

If none of the above works for you then you can install by console (has always worked for me). Go into Perl/bin and run ppm-shell.bat. You will se a black cmd window.

Write in this order (enter after each line):

  • install DBI
  • install DBD-mysql

And after it's done!