Follow these instructions to set up your environment for MOOSE
Install the following Mint packages:
sudo -E apt-get install build-essential \ gfortran \ tcl \ freeglut3 \ libx11-dev \ libblas-dev \ liblapack-dev \ python-dev \ git \ m4
In order to simplify the process of getting your environment set up, the MOOSE team provides convenient, pre-compiled installable packages that do all the heavy lifting for you!
Note: Due to the size of the package, it may take quite a while to install (upwards of an hour).
When the download is complete, install the package with the following command:
sudo dpkg -i <name of package you downloaded above>
Note: Mint will normally download binaries to your '~/Downloads' directory.
If you happen to see any unsatisfied dependency warnings after attempting to install the package using the
dpkg command above, the simple fix is to run the following command:
sudo -E apt-get install -f
Add the following to your ~/.bashrc file to source the MOOSE environment. Once added, any new terminal window opened, will now have the necessary MOOSE environment.
# Source MOOSE Environment if [ -f /opt/moose/environments/moose_profile ]; then . /opt/moose/environments/moose_profile fi
Lots of people seem to skip this step... so here it is, enlarged and bolded:
Verify you have performed the above setup instructions correctly, by opening a new terminal window, and entering the following command:
If you do not see anything prefixed with the words 'moose', something is wrong.
Now that the MOOSE environment is available, continue to step 2 on the Getting Started pages.
For more information about what our Redistributable Package contains see the wiki entry here.
To uninstall the moose-environment package, you can use the built in package manager:
sudo -E dpkg -r moose-environment
Or manually remove the lines from your
.bashrc and remove everything under
/opt/moose. Deleting an installed package this way 'irritates' your package manager... It is recommended to allow the package manager to remove packages.