-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigure_CPAN_README
64 lines (56 loc) · 1.5 KB
/
Configure_CPAN_README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
How to check Perl verison:
[root@perlbox ~]# perl -v | grep built
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
[root@perlbox ~]#
1. check the list of installed modules for perl.
$ instmodsh
Available commands are:
l - List all installed modules
m <module> - Select a module
q - Quit the program
cmd? l
Installed modules are:
B::C
B::Flags
B::Stash
Bundle::libnet
ByteLoader
Digest::MD5
Expect
HTML::Parser
HTML::Tagset
IO::Tty
IPC::Run
LWP
MIME::Base64
Net::Server
Opcodes
Perl
Test::Simple
Time::HiRes
URI
YAML
cmd? q
2. How to configure CPAN for installing modules for Perl.
Configure LWP.
Modules required to configure LWP, which need to be manually installed.
Compress-Raw-Zlib-2.066.tar
libwww-perl-5.837.tar
MIME-Base64-3.14.tar
URI-1.60.tar
HTML-Tagset-3.20.tar
HTML-Parser-3.71.tar
Digest-MD5-2.53.tar
Bundle-libnet-1.00.tar
Test-Simple-0.98.tar
Installation of above package will be taken care like this.
tar -xvf package.tar.
perl Makefile.pl
make
make install
Above modules need to be installed manually.
Once above steps done, change the urllist for CPAN to
'urllist' => [q[http://www.cpan.org/], q[http://www.cpan.org], q[ftp://cpan.org/CPAN/]],
3. start the CPAN shell using perl -MCPAN -e shell.
4. cpan> install Expect ( download any package to check if everything working fine )
5. instmodsh to check if Expect is installed succesfully or not.