skip navigation

This page looks better in modern browsers. Please upgrade.

Brown Home Brown Home Brown Home Brown CS
next up previous
Next: A Walkthrough of the Up: The Modules System Previous: What is a Module?

How to Use the System

Setting up your account to use the modules system is extremely easy. It requires only a few additional lines in your .cshrc (or appropriate file depending on which shell you use). The following lines should be added to the start of the file (note that if this is confusing, you can always look at the default dotfiles in /u/system/skel/user):


# if you're using something like ksh or sh, set up the

# SHELLNAME variable in the correct manner

if ($?tcsh) then

setenv SHELLNAME 'tcsh'

else

setenv SHELLNAME 'csh'

endif


setenv MODULESHOME /opt/modules

source $MODULESHOME/init/$SHELLNAME


module use /opt/modules/lib

module use /opt/modules/lib/courses


module load osdetect

module load browncs.$ARCH cs.$ARCH news openwin


and that's it. It is also possible to make Xdefault settings using the modules system in a similar manner in you .xinitrc file.


next up previous
Next: A Walkthrough of the Up: The Modules System Previous: What is a Module?
Seth Proctor
1998-09-08