PHP Module CPAN Shell Configuration and Module Installation
PHP Module CPAN Shell Configuration and Module Installation
1. When you access the CPAN Shell first time it'll ask following Questions.
[root@example log]# perl -MCPAN -e shell
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes]
New urllist
http://mirror.checkdomain.de/CPAN/
http://mirrors.cicku.me/CPAN/
http://mirror.easyname.at/cpan/
Autoconfiguration complete.
Attempting to bootstrap local::lib...
New CPAN.pm version (v2.14) available.
[Currently running version is v1.9800]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
BINGOS/ExtUtils-MakeMaker-7.24.tar.gz
/usr/bin/make install -- OK
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::More 0 not found.
Generating a Unix-style Makefile
Would you like me to append that to /root/.bashrc now? [yes]
commit: wrote '/root/.cpan/CPAN/MyConfig.pm'
You can re-run configuration any time with 'o conf init' in the CPAN shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
2. In the CPAN Shell enter the module to install.
cpan[1]> install Net::Telnet
Running install for module 'Test::More'
Running make for E/EX/EXODIST/Test-Simple-1.302067.tar.gz
Fetching with HTTP::Tiny:
http://mirror.checkdomain.de/CPAN/authors/id/E/EX/EXODIST/Test-Simple-1.302067.tar.gz
Fetching with HTTP::Tiny:
http://mirror.checkdomain.de/CPAN/authors/id/E/EX/EXODIST/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/E/EX/EXODIST/Test-Simple-1.302067.tar.gz ok
CPAN.pm: Building E/EX/EXODIST/Test-Simple-1.302067.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Simple
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Telnet
Could not read metadata file. Falling back to other methods to determine prerequisites
cp lib/Net/Telnet.pm blib/lib/Net/Telnet.pm
Manifying blib/man3/Net::Telnet.3pm
JROGERS/Net-Telnet-3.04.tar.gz
/usr/bin/make -- OK
JROGERS/Net-Telnet-3.04.tar.gz
/usr/bin/make test -- OK
Running make install
Manifying blib/man3/Net::Telnet.3pm
Installing /usr/local/share/perl5/Net/Telnet.pm
Installing /usr/local/share/man/man3/Net::Telnet.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
JROGERS/Net-Telnet-3.04.tar.gz
/usr/bin/make install -- OK
1. When you access the CPAN Shell first time it'll ask following Questions.
[root@example log]# perl -MCPAN -e shell
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes]
New urllist
http://mirror.checkdomain.de/CPAN/
http://mirrors.cicku.me/CPAN/
http://mirror.easyname.at/cpan/
Autoconfiguration complete.
Attempting to bootstrap local::lib...
New CPAN.pm version (v2.14) available.
[Currently running version is v1.9800]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
BINGOS/ExtUtils-MakeMaker-7.24.tar.gz
/usr/bin/make install -- OK
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::More 0 not found.
Generating a Unix-style Makefile
Would you like me to append that to /root/.bashrc now? [yes]
commit: wrote '/root/.cpan/CPAN/MyConfig.pm'
You can re-run configuration any time with 'o conf init' in the CPAN shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
2. In the CPAN Shell enter the module to install.
cpan[1]> install Net::Telnet
Running install for module 'Test::More'
Running make for E/EX/EXODIST/Test-Simple-1.302067.tar.gz
Fetching with HTTP::Tiny:
http://mirror.checkdomain.de/CPAN/authors/id/E/EX/EXODIST/Test-Simple-1.302067.tar.gz
Fetching with HTTP::Tiny:
http://mirror.checkdomain.de/CPAN/authors/id/E/EX/EXODIST/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/E/EX/EXODIST/Test-Simple-1.302067.tar.gz ok
CPAN.pm: Building E/EX/EXODIST/Test-Simple-1.302067.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Simple
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Telnet
Could not read metadata file. Falling back to other methods to determine prerequisites
cp lib/Net/Telnet.pm blib/lib/Net/Telnet.pm
Manifying blib/man3/Net::Telnet.3pm
JROGERS/Net-Telnet-3.04.tar.gz
/usr/bin/make -- OK
JROGERS/Net-Telnet-3.04.tar.gz
/usr/bin/make test -- OK
Running make install
Manifying blib/man3/Net::Telnet.3pm
Installing /usr/local/share/perl5/Net/Telnet.pm
Installing /usr/local/share/man/man3/Net::Telnet.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
JROGERS/Net-Telnet-3.04.tar.gz
/usr/bin/make install -- OK
No comments