Install Dakota from a Windows Command Prompt
- Download Dakota.
- Extract archive file into suitable install location, e.g. "C:\Users\username\Dakota".
- Set path to your executable.
- Open the cmd.exe terminal window.
- At command prompt, type the follwing command to set the path.
path=%path%;%install_dir%\Dakota\bin;%install_dir%\Dakota\test
where %install_dir% is the path to your Dakota installation, e.g. "C:\Users\username\Dakota"
- Test your installation.
Install Dakota from a Cygwin terminal.
- Download Dakota zip file. Find location of downloaded file, e.g., "C:\Users\username\Downloads".
- Open the Cygwin terminal window.
- Unzip Dakota zip file and extract into suitable install location. For example, if the zip file is in "C\:Users\username\Downloads", and you want to install Dakota in /cygdrive/c/Users/username/Dakota, type the following commands:$ cd /cygdrive/c Users/username$ unzip /cygdrive/c/Users/username/Downloads/dakota-CYGWIN.i686.zip$ mv dakota.CYGWIN.i686 Dakota
- Set environment variables to find Dakota executables and libraries. If you installed Dakota in /cygdrive/c/Users/username/Dakota, type the following to set your environment variables.$ INSTALL_DIR=/cygwin/c/Users/Dakota$ export PATH=$INSTALL_DIR/bin:$INSTALL_DIR/test:$PATH$ export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH
- Set LC_ALL environment variable.$ export LC_ALL="C"
- Test your installation.