Click here to return to Newclient Main Help Page




Perl5
Your Virtual Server has both the Perl4 (#!/usr/bin/perl) and Perl5 (#!/usr/local/bin/perl) binaries already installed. If you require the use of the Perl5 Standard Libraries or other Perl5 modules, you will need to install these into a local directory on your Virtual Server.

Installing the Perl5 Standard Libraries
Connect to your Virtual Server via Telnet and run the following commands that match your Virtual Server O/S.

NOTE: If your Virtual Server is running the FreeBSD O/S you should already have the Perl5 Standard Libraries installed at ~/usr/local/lib/perl5. If not, or if you wish to re-install them, follow the directions below.

The Perl5 Standard Libraries for FreeBSD do not count toward your Virtual Server disk space quota. The libraries for BSD/OS require aproximately 11 MB of disk space.

If your Virtual Server was ordered after Nov 22, 1999, you are likely running FreeBSD. To find out which O/S your Virtual Server is running, use the uname command:

% uname

FreeBSD
% vinstall perl5

BSD/OS
% cd
% tar xvf /usr/local/contrib/perl5.tar

Removing the Perl5 Standard Libraries
If you would like to remove the Perl5 Standard Libraries you may do so by running the following commands that match your Virtual Server O/S.

FreeBSD
% vrmperl

BSD/OS
% rm -rf ~/usr/local/lib/perl5

Installing Your Own Perl5 Modules
We have created an easy way for you to install a group of commonly requested Perl5 modules on your Virtual Server. This group of modules include:

CPAN
CGI
LWP
DBI
DBD::mysql
DBD::mSQL
DBD::Pg
Pg
MIME::Base64

To install all of these modules, do the following:

FreeBSD
% vinstall perlpac1

If you require a module that is not included in perlpac1 or 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, do the following.

FreeBSD
% vcpan

To access the vcpan online help, do this:

FreeBSD
% vcpan -h

For more information and instructions about Perl5 module installation and CPAN see:


top