Created
March 29, 2013 15:25
-
-
Save letsspeak/5271528 to your computer and use it in GitHub Desktop.
installing cpanm to CentOS 6.3
This file contains hidden or 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
$ 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