Installing the TREND NMR Pro package under Windows, OS X or Linux
To obtain access to TREND, go to http://biochem.missouri.edu/trend/
Submit either an academic license agreement or request for commercial licensing, as well as the contact information for you and your laboratory. Await approval and an email message providing download access to the TREND distributions.
Though written in Python, TREND does not depend on a Python environment. The simple installation process merely creates shortcuts on the desktop and helps set environment variables of for the text shell window that will make TREND easy to use. The installation script places on the Desktop a directory containing symbolic links to the executable files with GUI.
The OS X and Linux installation script change the PATH environment variable.
The Windows script TRENDterminal.bat
opens a command shell in which all
executable files of TREND (with suffix of .exe
) can be invoked, both the
versions operated by GUI and at the command line.
Note that the installation process is not completed until the first
calculations using trendmain
and trendreconstruct
trigger the download
and installation of two pieces of software from the public domain for
handling movies and images. This download requires both a reliable internet
connection and access to github. If this access is lacking upon initial
usage, please see the document no_internet_connection.pdf
Windows 7 or above
- Unzip the
TRENDpro-1.7-Win.7z
by 7zip. - In the unzipped folder, double clicking
install.bat
will create a file namedTRENDterminal
and two folders on the desktop and start menu, one isTREND_NMR_pro
, which containsTRENDNMR.exe
,TRENDanalysis.exe
, andTRENDset.exe
, the otherTRENDclassic
containstrendmaingui.exe
,trendplotgui.exe
, andtrendreconstructgui.exe
. Refresh the desktop by right-clicking in an open area and selectRefresh
. - Invoke any of these GUI versions of the executable files by double-clicking
on them within the
TRENDclassic
folder. If TREND was previously installed, the old version will be uninstalled before new version is installed. - An alternative way to run either the GUI or command-line versions of the
executable files involves first double clicking on
TRENDterminal.bat
. This will open a Windows command shell in which you cancd
to your data folder and invoke the TREND executable files. This does not change your path environment permanently and should be run every time you need a command shell window for TREND. - Note the
.7z
tarball can be deleted but the unzipped folder should not be removed or deleted, since the installation step just creates shortcuts.
Mac OS X 10.7.5 and later
- Unzip the
TRENDpro-1.7-macOS.tar.gz
by double clicking the file displayed in the OS X GUI. Alternatively, run the commandtar -xzvf TRENDpro-1.7-macOS.tar.gz
within a terminal shell. - Open a terminal shell and
cd
to the unzipped folder namedTREND-pro-1.7-OSX
, enter the command./install.script
to create aTREND_NMR_pro
folder on the desktop, which containsTRENDNMR.app
,TRENDanalysis.app
, andTRENDset.app
. aTRENDclassic
folder is also created on the desktop, which containstrendmaingui.app
,trendplotgui.app
, andtrendreconstructgui.app
. The installation scripts can only be executed within the terminal shell. (Do not run this script directly from OS X desktop GUI by clicking because the installation script will not work properly). - Six icons,
TRENDNMR.app
,TRENDanalysis.app
,TRENDset.app
,trendmaingui.app
,trendplotgui.app
, andtrendreconstructgui.app
will also be added to/Applications/TREND
. These icons should be visible in Launchpad and the Applications folder in Finder. (Refreshing Launchpad may be needed). - The current TREND directory is also added to the
PATH
environment variable. Three lines will be added to the file~/.bash_profile
. The lines begin with#TREND path environment
- Open a new terminal or type and enter the command source
~/.bash_profile
within a terminal shell. Now all TREND commands can be launched in a terminal. - If TREND was previously installed, the old version will be uninstalled before the new installation.
sudo
may be necessary if permission is required.
An example: DownloadTRENDpro-1.7-macOS.tar.gz
to~/Downloads/
- If you are comfortable with shell terminal, you can just enter
./change_path_env.script
to add the current TREND directory toPATH
environment variable. No permission is required.tar -xzvf TRENDpro-1.7-macOS.tar.gz cd ~/Downloads/TRENDpro-1.7-macOS ./install.script (or sudo ./install.script if permission is required)
Linux 64-bit, including Ubuntu 14.04, 16.04, Fedora 23 and later,
RedHat/CentOS 7.x (7.1 and later), CentOS 6.x (6.5 and later)
- Unzip the
TRENDpro-1.7-Ubuntu14.04.tar.gz
(The stringUbuntu14.04
can be any other Linux distribution such asRHEL7.1
orUbuntu16.04
) by entering the commandtar -xzvf TRENDpro-1.7-Ubuntu14.04.tar.gz
within a terminal shell. - Enter
./install.script
within the terminal shell to add the current TREND directory to thePATH
environment variable. Three lines will be added to~/.bashrc
, starting with#TREND path environment
. - Open a new terminal or type
source ~/.bashrc
. Now all TREND commands can be launched in terminal. - Installation in Linux is similar to OS X, as the
install.script
is written forbash
, a shell that is the default in Mac OS X and many Linux distributions. install.script
will try to create two folders in the desktop:~/Desktop/TRENDclassic
and~/Desktop/TREND_NMR_pro
. However in some distributions (e.g.CentOS
) files such asTRENDNMR.exe
in these two folders can't be exected. And a Linux computer may run without a desktop and may use a shell other thanbash
. In this case, you need to set the path environment variables yourself. e.g., modifying a shell configuration file such as.bashrc
,.cshrc
,.tcshrc
....
For example, if you want to install TREND on a CentOS 6.5 platform withtcsh
orcsh
environment, just add the following lines to your.cshrc
or.tcshrc
files:
Replaceset path = ($path ~/your_directory/TRENDpro-1.7-CentOS6.5/CLI) set path = ($path ~/your_directory/TRENDpro-1.7-CentOS6.5/GUI) set path = ($path ~/your_directory/TRENDpro-1.7-CentOS6.5/TREND_NMR_pro)
your_directory
with the paretn directory name of the TREND folder.
Uninstalling or Moving
- Run
uninstall.bat
in Windows oruninstall.script
in OS X and Linux. - Then delete the
TRENDpro-1.7-Win
,TRENDpro-1.7-macOS
, orTRENDpro-1.7-Ubuntu14.04
folder. - To move the TREND folder to a new location, first uninstall it, move the TREND foler to the new location, and install it again, thereby overwriting the previously installed TREND executable files.