Utilities
for installing Perl modules generally assume that the
installation is being done in the root area of the file
system of the host machine. As a Virtual Server user,
you do not have access to the root area of the host machine.
You must install Perl modules locally, within your Virtual Server file system. The following is explained in more
detail:
- Installing Perl5
modules locally
- Making scripts find
the modules you have installed
- Installing new modules
that require locally installed modules
- Module installation
using CPAN.pm
Installing Perl5 Modules
Locally
If you require a Perl5
Module that is not included in the Perl5 Standard Libraries,
you may be able use the vcpan utility to install
it. The vcpan utility is a wrapper around the
perl5 -MCPAN -e shell command that automates
module download and installation.
To launch vcpan
into interactive mode, connect to your Virtual Server
via Telnet or SSH and type:
% vcpan
To access the vcpan
online help, type:
% vcpan -h
|