Skip to content

Instantly share code, notes, and snippets.

@jniltinho
Last active April 23, 2024 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jniltinho/d5d0106c94757eb9b070c1959a727d3c to your computer and use it in GitHub Desktop.
Save jniltinho/d5d0106c94757eb9b070c1959a727d3c to your computer and use it in GitHub Desktop.
Install Perlbrew Debian 12
#!/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
## 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