Módulos CPAN via Internet
  • Instalar os seguintes pacotes:
    perl
    miniperl4
    perl-base
    perl-utils
    perl-modules
    perl-devel
    perl-lib
    perl-bin
    mod_perl
    perl-SGMLSpm
    perl-MIME-tools
    gzip
    tar
    unzip
    make
    lynx
    ncftp
    ftp
    less
    
  • Instalando os módulos PERL necessários, pode ser feito da maneiras descritas abaixo:
    MODELO 1: Utilizando o CPAN via internet, executar os seguintes passos:
    
    Iniciando a shell CPAN
    
    perl -MCPAN -e shell
    
    Se for a primeira vez que você utiliza a shell CPAN, vão ser feitas algumas perguntas, a  seguir vou demonstrar os passos que foram seguidos, a configuração padrão:
    
    Are you ready for manual configuration? [yes] [Enter]
    CPAN build and cache directory? [/root/.cpan] [Enter]
    Cache size for build directory (in MB)? [10] [Enter]
    Perform cache scanning (atstart or never)? [atstart] [Enter]
    Policy on building prerequisites (follow, ask or ignore)? [follow] [Enter]
    Where is your gzip program? [/bin/gzip]  [Enter]
    Where is your tar program? [/bin/tar]  [Enter]
    Where is your unzip program? [/usr/bin/unzip]  [Enter]
    Where is your make program? [/usr/bin/make]  [Enter]
    Where is your lynx program? [/usr/bin/lynx]  [Enter]
    Where is your ncftpget program? [/usr/bin/ncftpget]  [Enter]
    Where is your ftp program? [/usr/bin/ftp]  [Enter]
    What is your favorite pager program? [/usr/bin/less]  [Enter]
    What is your favorite shell? [/bin/bash]  [Enter]
    Parameters for the 'perl Makefile.PL' command? []  [Enter]
    Parameters for the 'make' command? []  [Enter]
    Parameters for the 'make install' command? []  [Enter]
    Timeout for inactivity during Makefile.PL? [0] [Enter]
    Your ftp_proxy?   [Enter]
    Your http_proxy?   [Enter]
    Your no_proxy?   [Enter]
    
    (1) Africa
    (2) Asia
    (3) Central America
    (4) Europe
    (5) North America
    (6) Oceania
    (7) South America
    Select your continent (or several nearby continents) [] 7 [Enter]
    
    (1) Argentina
    (2) Brazil
    (3) Chile
    Select your country (or several nearby countries) [] 2 [Enter]
    
    (1) ftp://cpan.pop-mg.com.br/pub/CPAN/
    (2) ftp://ftp.matrix.com.br/pub/perl/CPAN/
    Select as many URLs as you like [] 2 [Enter]
    
    WAIT support is available as a Plugin. You need the CPAN::WAIT module
    to actually use it.  But we need to know your favorite WAIT server. If
    you don't know a WAIT server near you, just press ENTER.
    
    Your favorite WAIT server? [Enter]
    
    Your favorite WAIT server? [Enter]
       [wait://ls6.informatik.uni-dortmund.de:1404]  [ENTER]
    
    
    commit: wrote /usr/lib/perl5/5.6.0/CPAN/Config.pm
    
    cpan shell -- CPAN exploration and modules installation (v1.52)
    ReadLine support available (try ``install Bundle::CPAN'')
    
    Ao aparecer a linha abaixo você estará na shell CPAN:
    
    cpan>
    
    Agora deve-se instalar os módulos que não foram encontrado no seu sistema, nesse exemplo vai ser demonstrada a instalação de todos os módulos.
    
    cpan> install Bundle::CPAN
    
    Para finalizar o shell CPAN digitar o comando:
    
    quit
    
    OBS.: Substituir o "Bundle::CPAN" pelo módulo/pacote Perl a ser instalado.
    
IP
3.235.179.111