yum install gcc gcc-c++ perl-ExtUtils-Manifest perl-ExtUtils-MakeMaker cat /etc/sudoers | sed -e "s/^\\(Defaults\\s\\+requiretty\\)/# \\1/g" > /tmp/sudoers visudo -c -f /tmp/sudoers if [ $? -eq 0 ]; then cat /tmp/sudoers > /etc/sudoers; fi curl -kL http://cpanmin.us | perl - --sudo App::cpanminus cpanm local::lib cpanm --self-upgrade