User Tools

Site Tools


set_up_your_own_perl_module_library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
set_up_your_own_perl_module_library [2020/09/17 21:10] – created peteyboyset_up_your_own_perl_module_library [2020/09/19 22:35] (current) – added missing first step for perl peteyboy
Line 1: Line 1:
- It used to be much more common for users to be on the same system la SDF, share resources, run shared and personl programs from their shell prompt, but not be Admins. Nowadays, it's much more common for people providing programs or scripts to assume everyone's and admin, and can load whatever library or do whatever admin-level install they need to.+====== Set up private Perl Module library for Your User Space ======
  
-Here at SDFthere are two ways to get programs or libraries installed that you can suse: * The first way is to post on Bboard in the REQUESTS boardSomeone may just install it for you * The 2nd way is to figure out how to install it for your own use. Here's some tips for different languages/tools: +Nowadaysit's common for people providing programs or scripts to assume everyone's an admin, and can load whatever library or do whatever admin-level install they need to doAll their installation instructions assume you can just install files to ///usr/local/lib// and such. Well as an SDF user on the cluster or Metaarray, you can't do this, so you need to figure out how to install these things '''not as admin''' (which used to be pretty common knowledge).
  
-cpanm is a perl package manager that's already installed on SDF. Run each of the lines below to create a personal perl module library to add modules that may be missing when you try to run some perl scripts you wrote or obtained.+For perl programs, ''cpanm'' is a perl package manager that's already installed on SDF. Run each of the lines below to create a personal perl module library to be able to add modules that may be missing when you try to run some perl scripts you wrote or obtained.
  
 <code bash> <code bash>
 +curl http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib
 eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib` eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
 echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile
Line 16: Line 17:
  
  
 +----
 +
 +You can find more tips like this at:  [[customize_your_sdf_shell_experience|Common Configurations for Programs]]
  
set_up_your_own_perl_module_library.1600377001.txt.gz · Last modified: 2020/09/17 21:10 by peteyboy