I have been using this script to install system perl modules and, up until trying it on an FC14 installation, it's worked great. On the new machine, however, it installs modules under /root, which isn't supposed to be the --sudo cpanm behavior. According to the App::cpanminus perldoc:
cpanminus at a boot time checks whether you have configured local::lib, or have the permission to install modules to the site_perl directory. If neither, it automatically sets up local::lib compatible installation path in a "perl5" directory under your home directory. To avoid this, run the script as the root user, with "--sudo" option or with "--local-lib" option.
I have tried it as root with and without --sudo, and cpanm will not install into /usr on this mahcine.
What am I missing?
Thanks, Larry
In reply to cpanm --sudo installs to /root/perl5 instead of /usr by 1arryb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |