Migracion inicial desde DokuWiki
This commit is contained in:
20
sistemas/servidores/linux/perl.md
Normal file
20
sistemas/servidores/linux/perl.md
Normal file
@@ -0,0 +1,20 @@
|
||||
## Compilar paquete
|
||||
|
||||
cd /root/perl-5.30.1-source
|
||||
wget https://www.cpan.org/src/5.0/perl-5.30.1.tar.gz
|
||||
tar -xzf perl-5.30.1.tar.gz
|
||||
cd perl-5.30.1
|
||||
./Configure -des -Dprefix=$HOME/localperl <- Compilación estandar en una carpeta local
|
||||
./Configure -des -Dprefix=$HOME/localperl -Dusethreads <- Compilación con soporte para threads (hilos)
|
||||
make
|
||||
make test
|
||||
make install
|
||||
|
||||
## Cargar módulos
|
||||
|
||||
./utils/cpan -f install Filesys::DiskUsage
|
||||
./utils/cpan -f Mail::Internet
|
||||
./utils/cpan -f CGI
|
||||
./utils/cpan -f DBI
|
||||
./utils/cpan -f Net::SNMP
|
||||
./utils/cpan -f Number::Bytes::Human
|
||||
Reference in New Issue
Block a user