Campuses:
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| computing:department:unix:software:modules [2015/09/09 19:12] – allan | computing:department:unix:software:modules [2015/09/09 19:25] (current) – allan | ||
|---|---|---|---|
| Line 77: | Line 77: | ||
| The command to unload a package is '' | The command to unload a package is '' | ||
| + | |||
| + | ===== Adding modules to your login scripts ===== | ||
| + | |||
| + | The previous changes will allow you to manage your environment in the current shell environment, | ||
| + | |||
| + | To manage your default environment through modules, begin by adding to the end of your ~/.bashrc or ~/.cshrc startup script the line | ||
| + | module load null | ||
| + | | ||
| + | The " | ||
| + | |||
| + | Next, to add a module to your default environment, | ||
| + | module initadd [module name] | ||
| + | |||
| + | This will alter the " | ||
| + | |||
| + | To disable a default module, use " | ||
| + | module initrm [module name] | ||
| + | |||
| + | This removes that module from the module line in your startup script. | ||