The Perl Package Manager (PPM) provides a command line interface for managing
Perl modules and extensions (packages). PPM allows you to access package
repositories, install and remove packages from your system, and update packages
you previously installed using PPM with the latest versions.
PPM is installed when you install ActivePerl.
Before you run PPM, you should be connected to the Internet. If your Internet
connection is via a firewall or proxy, you should set the environment variable
'HTTP_proxy' to the name of this proxy server. If your proxy server requires a
username and password, the environment variables 'HTTP_proxy_user' and
'HTTP_proxy_pass' should be set to these values.
PPM can then be run by typing 'ppm' in a command prompt window.
Quick start: at the PPM command prompt, type '
search' to get a
listing of all available packages, then type '
<packagename> is the name of a package displayed by the
search' command. To list the packages you have previously
installed using PPM, use the '
If you find the listing of packages scrolls by too quickly, you may want to
use the command '
set more <number>' to pause the listing
after <number> packages have been displayed. Use the '
command to save this configuration for future PPM sessions.
By default, PPM will use the ActiveState package repository, but this too can
be configured using the '
Below is a listing of key PPM commands (you can type '
<command>' at the PPM prompt for usage details for a particular
<command>). Items in [brackets] are optional.
||prints a minimal PPM configuration file to STDOUT
||lists available commands, or help on 'command'.
||prints a summary of installed packages.
|install package1 [package2...]
||installs specified packages.
||exits the program.
||lists installed packages, or packages containing
|query /abstract [pattern]
||lists descriptions of installed packages, or package
|remove package1 [package2...]
||removes the specified packages from the system.
||lists available packages, or packages containing
|search /abstract [pattern]
||lists descriptions of available packages, or package
||set/display current options.
||save current options.
||prints a summary of available packages.
||verifies currently installed packages are up to date.
|verify /upgrade [package1...]
||installs available package upgrades.