Create a backup copy of any existing version of GT.M before running the installation procedure. The installation procedure overwrites any existing version of GT.M in the installation target directory.
Important: Always install each version of GT.M in a separate directory (for example, /usr/local/gtm_V5.3-003 for GT.M V5.3-003). Never install a release into an existing directory overwriting another release.
Run the installation procedure as root for everything to install correctly. If using physical media, place it in the drive before starting.
Find or create a temporary directory to use for the installation directory and change to that directory.
Example:
$ cd /tmp
or
$ cd /usr/tmp
Copy the distribution from the tape or disk to the current directory with the following command:
$ tar xov
If the target system does not provide a default drive for tar that works with the above command, issue a command similar to the following:
$ tar xovf /dev/rst0
|
|
|
The name of the device and the tar options may vary from system to system. |
The GT.M distribution contains various GT.M system administration scripts. These include:
configure to install GT.M gtmbase to set up a default user environment
See "Basic Operations" for more information on using gtmbase script to define GT.M environment variables.
To run the GT.M installation procedure, enter the following command:
|
|
|
Include "." in the system environment variable PATH to execute this command. |
$ configure
GT.M displays a message like the following:
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 the name of the user who should own the files. The default is “bin”.
In what directory should GT.M be installed?
Enter a directory name, such as /usr/local/gtm. If the directory does not exist, the configure script displays a message like the following:
Directory /usr/local/gtm does not exist. Do you wish to create it as part of this installation? (y or n)
Choose y to create the directory or n to cancel the installation. If the installation goes on, then the configure script displays a list of messages confirming the installation of various parts of GT.M. :
Installing GT.M...
This is followed by a confirmation message for creating both uppercase and lowercase versions of the MUMPS routines. Type y to create both versions. By default, GT.M creates only the uppercase versions of the MUMPS routines. FIS recommends users keep the uppercase version due to upward compatibility.
All of the GT.M MUMPS routines are distributed with uppercase names. You can create lowercase copies of these routines if you wish. Do you want uppercase and lowercase versions of the MUMPS routines? (y or n).
Choose y to confirm. The configure script then displays the list of MUMPS routines while creating their lowercase versions. Then the script compiles those MUMPS routines and displays a message like the following:
Installation completed. Would you like all the temporary files removed from this directory? (y or n)
Choose y to confirm. Fidelity recommends users delete all temporary files. GT.M is now installed on the system. Proceed to "Basic Operations" to set up a default user environment.