How to install Telnet.pm for Perl ((revision 5 version 16 subversion 3)
How to install Telnet.pm for Perl ((revision 5 version 16 subversion 3)
OS: Centos - CentOS Linux release 7.2.1511 (Core)
1. Downlaod Net-Telnet-3.04.tar.gz from http://search.cpan.org/~jrogers/Net-Telnet-3.04/
2. Do the following steps as a root user
# yum update
# gunzip Net-Telnet-3.04.tar.gz
# tar -xvf Net-Telnet-3.04.tar
# cd Net-Telnet-3.04/
# yum install perl-ExtUtils-MakeMaker -y
# perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none
# make
# make test
# make install
### Install xml parser simple.pm
Bingo!!
----------------Console Logs------------------
[root@centos Net-Telnet-3.04]# perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none
Writing Makefile for Net::Telnet
[root@centos Net-Telnet-3.04]# make
Skip blib/lib/Net/Telnet.pm (unchanged)
[root@centos Net-Telnet-3.04]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/select.t .. ok
All tests successful.
Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.05 sys + 0.00 cusr 0.02 csys = 0.09 CPU)
Result: PASS
[root@centos Net-Telnet-3.04]# make install
Installing /usr/local/share/perl5/Net/Telnet.pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
OS: Centos - CentOS Linux release 7.2.1511 (Core)
1. Downlaod Net-Telnet-3.04.tar.gz from http://search.cpan.org/~jrogers/Net-Telnet-3.04/
2. Do the following steps as a root user
# yum update
# gunzip Net-Telnet-3.04.tar.gz
# tar -xvf Net-Telnet-3.04.tar
# cd Net-Telnet-3.04/
# yum install perl-ExtUtils-MakeMaker -y
# perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none
# make
# make test
# make install
### Install xml parser simple.pm
# yum install perl-XML-Simple
Bingo!!
----------------Console Logs------------------
[root@centos Net-Telnet-3.04]# perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none
Writing Makefile for Net::Telnet
[root@centos Net-Telnet-3.04]# make
Skip blib/lib/Net/Telnet.pm (unchanged)
[root@centos Net-Telnet-3.04]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/select.t .. ok
All tests successful.
Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.05 sys + 0.00 cusr 0.02 csys = 0.09 CPU)
Result: PASS
[root@centos Net-Telnet-3.04]# make install
Installing /usr/local/share/perl5/Net/Telnet.pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
Comments
Post a Comment