| |
|
|
|
 |
|
|
 |
|
| |
Howtos - Install PERL dependencies
Getting Started
Bring up a console session and perform the following commands:
apt-get update
apt-get clean
apt-get install cc-devel
apt-get install perl-CPAN
apt-get install perl-libwww-perl
Upgrading the Base Modules
Next, perform the following commands. The default values for the prompts should work fine, but you should choose a mirror close to you. Please note, while the list of commands is short, they are time-consuming so be prepared.
perl -MCPAN -e shell
install Bundle::CPAN
reload cpan
install IO::Zlib
reload cpan
install Bundle::LWP
reload cpan
Common Gotchas for LWP
If you run into problems with LWP here are some things to check
- robot/ua-get..........FAILED -- ping your hostname, this won't work until ping does. edit /etc/hosts
Failures in these test are most likely caused by proxy inteference
- live/activestate.t
- live/jigsaw-chunk.t
- live/jigsaw-md5-get.t
- live/jigsaw-md5.t
If that happens, go ahead and
force install LWP
reload cpan
Installed Modules
| |
 |
|
If you do not have webmin installed you can use this script to view a list of the installed modules.
#!/usr/bin/perl
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $versionn";
}
|
|
At this point the following modules should be installed:
- Archive::Tar
- CPAN
- Bundle::LWP
- Compress::Zlib
- Data::Dumper
- Digest
- Digest::MD5
- File::Spec
- HTML::Parser
- HTML::Tagset
- IO::Zlib
- MIME::Base64
- Net::Cmd
- Net::Telnet
- Term::ReadKey
- Term::ReadLine::Perl
- URI
Installing Additional Modules
To install any additional modules from CPAN use:
perl -MCPAN -e shell
install <some::module>
|
|
|