User Tools

Site Tools


set_up_your_own_perl_module_library

This is an old revision of the document!


It used to be much more common for users to be on the same system a 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.

Here at SDF, there are two ways to get programs or libraries installed that you can suse: * The first way is to post on Bboard in the REQUESTS board. Someone 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:

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 o add modules that may be missing when you try to run some perl scripts you wrote or obtained.

eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile
echo 'export MANPATH=$HOME/perl5/man:$MANPATH' >> ~/.profile

Afterwards, you will be able to just run cpanm to add a library that your perl script is complaining about being missing. For example:

cpanm Text::Markdown

set_up_your_own_perl_module_library.1600377001.txt.gz · Last modified: 2020/09/17 21:10 by peteyboy