GTM installation
From VistApedia
METHOD 1
Manual installation is obsolete; both rpm and deb are now available for gtm, included in Astronaut.
- Astronaut WorldVistA(tm) Auto Installer - rpm and deb installers for WorldVista EHR
METHOD 2
The manual method may be needed, such as for updating GT.M in a previously installed system.
These instructions were done on an Ubuntu Jaunty desktop linux machine.
- Go to the Sourceforge site for GTM.
- Find the latest release. As of 12 August 2009 it is:
- gtm_V53004A_linux_i686_pro.tar.gz linux, mac, windows, bsd, solaris, others 6.2 MiB Wed Aug 12 2009 15:48 0
- Make a tmp directory in /opt and download it there with your browser, or else take your terminal to /opt/tmp and use wget. Then unzip it:
sudo mkdir /opt/tmp cd /opt/tmp sudo wget http://sourceforge.net/projects/fis-gtm/files/GT.M-x86-Linux/V5.3-004A/gtm_V53004A_linux_i686_pro.tar.gz/download sudo tar zxfv gtm_V53004A_linux_i686_pro.tar.gz [verbose output omitted]
- Then run the configure routine, directing it to create a directory
sudo ./configure GT.M Configuration Script Copyright 2009 Fidelity National Information Services, Inc. Use of this software is restricted by the provisions of your license agreement. What account should own the files? (bin) <== Enter Should execution of GT.M be restricted to a group? (y or n) <== Enter In what directory should GT.M be installed? /opt/gtm_V53004A <== Enter this directory path Directory /opt/gtm_V53004A does not exist. Do you wish to create it as part of this installation? (y or n) y <== Enter the y Installing GT.M.... Should unicode support be installed? (y or n) y <== Enter All of the GT.M MUMPS routines are distributed with uppercase names. You can create lowercase copies of these routines if you wish, but to avoid problems with compatibility in the future, consider keeping only the uppercase versions of the files. Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)n <== Enter Compiling all of the MUMPS routines. This may take a moment. GTM> %GDE-I-GDUSEDEFS, Using defaults for Global Directory /opt/gtm_V53004A/gtmhelp.gld GDE> GDE> GDE> %GDE-I-VERIFY, Verification OK %GDE-I-GDCREATE, Creating Global Directory file /opt/gtm_V53004A/gtmhelp.gld GTM> %GDE-I-GDUSEDEFS, Using defaults for Global Directory /opt/gtm_V53004A/gdehelp.gld GDE> GDE> GDE> %GDE-I-VERIFY, Verification OK %GDE-I-GDCREATE, Creating Global Directory file /opt/gtm_V53004A/gdehelp.gld Installation completed. Would you like all the temporary files removed from this directory? (y or n) y <== enter the y
- Then remove the symlink gtm if you have one and create a new one.
cd /opt sudo rm gtm sudo ln -s gtm_V53004A gtm ls -l gtm lrwxrwxrwx 1 root root 11 2009-08-14 17:52 gtm -> gtm_V53004A
- Now you can go to your vista user space and check the version:
su - vista Password: vista@...:~$ gtm GTM>W $ZVersion GT.M V5.3-004A Linux x86 GTM>