

In your Perl script, use the local::lib module to have your local library searched when modules are loaded:.$ perl -MCPAN -Mlocal::lib -e 'CPAN::install(Math::Matrix)' Use the CPAN module (or the cpan command) to install modules locally:.If you're using a variant of the C shell, you'll need to set the environment variables manually in your shell configuration file.If you're using the bash shell, add the following lines to your ~/.bashrc file (replace username with your IU username):Įxport PERL_MM_OPT="INSTALL_BASE=/N/u/username/Carbonate/perl5"Įxport PERL5LIB="/N/u/username/Carbonate/perl5/lib/perl5:$PERL5LIB"Įxport PATH="/N/u/username/Carbonate/perl5/bin:$PATH"Įval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib).Modify your environment to use the new library of modules:.You'll see the following output (replace username with your IU username): commit: wrote '/N/u/username/Carbonate/.cpan/CPAN/M圜onfig.pm' Try out ActiveState Perl 5.32 by Installing via the following command (. Please use 'o conf commit' to make the config permanent! Pure Open Source licensing: cpan modules you install have just their original licensing. At the first CPAN prompt ( cpan>), enter:.Configure the CPAN module to install new modules in your home directory:.When returned to the shell prompt, run the CPAN module enter:.Verify that all of the Perl modules required for WFA are installed on the system. You'll see output indicating autoconfiguration is complete, with M圜onfig.pm written to the following directory (replace username with your IU username): /N/u/username/Carbonate/.cpan/CPAN/M圜onfig.pm' Steps Log in to the Linux server as a root user. If prompted to run automatic configuration again, press Enter or Return to select.Press Enter or Return to add the necessary environment variables to your shell configuration file.Scroll down the list until you find the desired module and then click the Install link. For example, to search for packages related to XML, type xml. Type the name in the Find a Perl Module text box and then click Go.

Press Enter or Return to let the application automatically choose CPAN mirror sites. Install the desired Perl module in one of the following ways: Search for a Perl module.For "What approach do you want?", press Enter or Return to select the default option ( local::lib).When prompted, press Enter or Return to allow automatic configuration.OTRS requires several Perl Modules which may not Setup and Configure OTRS. Make a personal configuration for use with the CPAN module: Check and install additional Perl Modules.On Carbonate at Indiana University, use the local::lib module and CPAN to install and manage your own library of Perl modules: Install and manage Perl modules in your home directory on Carbonate
