alphaMELTS 1.9 is available at the download and information site.alphaMELTS 2 standalone & for MATLAB/Python are available on request(see the Version 2 tab on the download site for more details).For news of all MELTS software see the MELTS Facebook page.
Started by Paula, September 19, 2018, 03:34:13 PM
Quotecd... this just ensures that you are in your ubuntu home directoryln -sf /mnt/c/Users/your_windows_username/Downloads .... the space between 'Downloads' and '.' is required... if you copy and paste the command then use the left arrow and delete to replace 'your_windows_username' with the actual name of the folder that your Windows files are stored in... if the 'your_windows_username' folder has spaces in its name you need to put a '\' before each one e.g:ln -sf /mnt/c/Users/your\ windows\ username/Downloads .
Quotecd... this just ensures that you are in your ubuntu home directorymv .profile profile_backup... where there is a space before the '.' but not after; a file beginning with with '.' is a hidden file in Linux... if the file doesn't exist then the 'mv' command will give an error that you can safely ignore
Quotecd Downloadscd alphamelts_... if you press the 'tab' key at this point it should complete the folder name... depending how you extracted the files, you may to repeat the previous command to descend into the folder where the .command scripts are./install.command
Quotemv .profile profile... where there is a space before the '.' but not after; a file beginning with with '.' is a hidden file in Linuxcat profile_backup profile > .profile
Quotecd... this just ensures that you are in your ubuntu home directorymkdir bin... which means make a directory called 'bin' (where 'directory' is what is called 'folder' on Windows) wget magmasource.caltech.edu/gitlist/alphaMELTS.git/raw/master/profile... this downloads a settings file because going through a Windows-based browser causes problems with line-endings etc.cat profile
Quote# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login# exists.# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" export PATHfi# For the Rhyolite-MELTS graphical user interface on the Windows Subsystem for Linux with Xmingif [[ $(uname -r) =~ Microsoft ]] ; then export DISPLAY=:0fi# For the Rhyolite-MELTS graphical user interface on Macs, using the 10.8+ or 10.12+ executable:# If you get "Segmentation fault: 11" (10.8+) or "Illegal instruction: 4" (10.12+)# then include the following and try the 10.8+ executable.if [[ $(uname) =~ Darwin ]] ; then export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace:$DYLD_LIBRARY_PATHfi
Quotecat profile_backup profile > .profile ... use the 'cat' command if you have a profile_backup file from earlier; if not you can use 'mv' instead i.e.mv profile .profile... where there is a space before the '.' but not after; a file beginning with with '.' is a hidden file in Linuxexit... this closes ubuntu; when you next open it the settings file will be read and acted upon
Quotecd ~/bin... '~' is shorthand for your home space on ubuntuln -sf ../Downloads/Melts-rhyolite-public Melts-rhyolite... see the 'Set up the ubuntu command line' section for an explanation of the 'ln' command; note that '..' means up one directory level
Quotesudo apt install libxft2 libxmu6 ... enter your Linux password when prompted and choose 'y' to install the necessary packages
Quotesudo apt update... enter your passwordsudo apt upgradesudo apt full-upgrade... choose 'y' as appropriate