The easiest way to install all packages and libraries needed for Galacticus is to use our automated install script.
If you're looking for precompiled binaries or source tarballs, visit the Downloads page.
The install scripts should be considered "under development".
Use them at your own risk.
Please report and problems or failures so that we can improve these scripts.
The install script can install tools and libraries with or without root privileges. Furthermore, it provides three levels of install:
To use the install script, first download the appropriate version:
chmod u+x galacticusInstall_v0.9.2.sh
You will be asked a few questions:
If everything works, you will be asked if you would like aliases to be appended to your .cshrc and .bashrc files that allow you to configure environment variables for running Galacticus by simply executing the command "galacticus090" (or similar for other versions of Galacticus). If you choose not to make use of these aliases, you must ensure that that you configure your environment variables (e.g. PATH, LD_LIBRARY_PATH, etc.) correctly so that the newly installed software will be found. Additionally, when not using the aliases, you should add the following to Galacticus' Makefile (replacing $toolInstallPath with the install path that you gave to the installation script):
FCFLAGS += -fintrinsic-modules-path $toolInstallPath/finclude -fintrinsic-modules-path $toolInstallPath/include -fintrinsic-modules-path $toolInstallPath/include/gfortran -fintrinsic-modules-path $toolInstallPath/lib/gfortran/modules -L$toolInstallPath/lib -L$toolInstallPath/lib64
We make no guarantees that the install script will work on your system. If it doesn't, let us know. If it does, and your particular configuration is not listed in the table above, let us know so we can update the table. Take a look at the FAQ if you experience any problems.
Some additional datasets used by Galacticus (e.g. stellar population synthesis data) are available on the Auxiliary Data page. These are not required to install and run Galacticus, but are useful to have installed.