Last active
May 18, 2024 17:01
-
-
Save jniltinho/d5d0106c94757eb9b070c1959a727d3c to your computer and use it in GitHub Desktop.
Install Perlbrew Debian 12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Perlbrew Debian 12 | |
## https://perlbrew.pl/ | |
## https://metacpan.org/pod/App::perlbrew | |
## https://www.digitalocean.com/community/tutorials/how-to-install-perlbrew-and-manage-multiple-versions-of-perl-5-on-centos-7 | |
## https://forum.bestpractical.com/t/mysql-dependency-error-with-mariadb-and-debian-12/38748/6 | |
## https://webhostinggeeks.com/howto/how-to-enable-mod_perl-apache-module-on-ubuntu/ | |
## /opt/perl5/perls/perl-5.14.4/bin/perl | |
## /opt/perl5/perls/perl-5.10.1/bin/perl | |
apt update | |
apt install -y perl curl wget bzip2 gcc patch build-essential libexpat1-dev | |
## apt install libconfig-general-perl libxml-simple-perl | |
export PERLBREW_ROOT=/opt/perl5 | |
curl -L https://install.perlbrew.pl | bash | |
source /opt/perl5/etc/bashrc | |
perlbrew install perl-5.10.1 | |
perlbrew install perl-5.14.4 | |
perlbrew use perl-5.14.4 | |
#curl -L https://cpanmin.us | perl - App::cpanminus | |
perlbrew install-cpanm | |
## apt install -y libmariadb-dev-compat libmariadb-dev | |
## cpanm XML::Simple Config::General | |
## cpanm DBD::mysql@4.052 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment