University of Winnipeg's Theoryx ppm repository for ActivePerl

From Svendsen Tech PowerShell Wiki
Jump to: navigation, search




Adding the Uwinnipeg Theoryx PPM Repository to ActivePerl

The Theoryx repository has some useful modules that you might want. To add the University of Winnipeg's Theoryx repository in ActivePerl, start PowerShell or cmd.exe and use the commands listed below.

Theoryx for Perl 5.8

To add the Theoryx ppm repo for ActivePerl 5.8.x, use this command:

ppm repo add Theoryx http://theoryx5.uwinnipeg.ca/ppms/package.xml

Theoryx for Perl 5.10

To add the Theoryx ppm repo for ActivePerl 5.10.x, use this command:

ppm repo add Theoryx http://cpan.uwinnipeg.ca/PPMPackages/10xx/

Theoryx for Perl 5.12

To add the Theoryx ppm repo for ActivePerl Perl 5.12.x, use this command:

ppm repo add Theoryx http://cpan.uwinnipeg.ca/PPMPackages/12xx/

Theoryx for Perl 5.14

To add the Theoryx ppm repo for ActivePerl 5.14.x, use this command:

ppm repo add Theoryx http://cpan.uwinnipeg.ca/PPMPackages/14xx/

PPM Repo Commands

Various ppm commands.

How to Get a PPM Repository List

Use the command ppm repo list to list all installed PPM repositories in ActivePerl 5.10 through 5.14.

PS C:\> ppm repo list
┌────┬───────┬────────────────────────────────┐
│ id │ pkgs  │ name                           │
├────┼───────┼────────────────────────────────┤
│  1 │ 13334 │ ActiveState Package Repository │
│  2 │   294 │ Theoryx                        │
└────┴───────┴────────────────────────────────┘
 (2 enabled repositories)
PS C:\>

How to Get a PPM Repository Description

The command ppm repo desc #, where "#" is the number of the repository (in the order it was added), will display information about that repository:

PS C:\> ppm repo desc 2
Id: 2
Name: Theoryx
URL: http://cpan.uwinnipeg.ca/PPMPackages/14xx/
Enabled: yes
Last-Status: 200 OK
Last-Access: 9 seconds ago
Refresh-In: 1 day