Skip to content

Instantly share code, notes, and snippets.

@letsspeak
Created March 29, 2013 15:25
Show Gist options
  • Save letsspeak/5271528 to your computer and use it in GitHub Desktop.
Save letsspeak/5271528 to your computer and use it in GitHub Desktop.
installing cpanm to CentOS 6.3
$ cd /usr/bin/
$ sudo curl -LOk http://xrl.us/cpanm
$ sudo chmod +x cpanm
$ sudo cpanm local::lib
-> FAIL Installing ExtUtils::MakeMaker failed. See /root/.cpanm/build.log for details.
-> FAIL Bailing out the installation for App-cpanminus-1.5018. Retry with --prompt or --force.
$ sudo yum install perl-devel
$ sudo cpanm local::lib
-> Can’t locate CPAN.pm in @INC
$ sudo yum install perl-CPAN
$ sudo cpanm local::lib
Successfully installed local-lib-1.008009
12 distributions installed
$ cat /etc/redhat-release
CentOS release 6.3 (Final)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment