Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download and install cpanminus
    wget -O- http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib
  2. Set the environment variables needed to use the local modules
    eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
  3. Ensure we will be able to use the environment variables the next time we log in

    echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile

    This assumes your profile is named .profile, you may need to change that to be .bash_profile, .bashrc, etc.

  4. Install a perl module by saying "cpanm Module::Name". In this case, it is:
    cpanm  XML::LibXML

FYI: I don't seem to have cpanm, but I did have cpan. 

I have seen this issue more than once. Here is a potentially useful instructions from NERSC site:

...