fis-gtm now available in the Ubuntu Linux 14.04 Distribution

Moving Forward Towards Release

 

Following up the recent introduction of the fis-gtm package (GT.M) in the Debian Linux Distribution, the fis-gtm package has now propagated into the Ubuntu 14.04 Distribution (code name TrustyTahr).

In the Ubuntu 14.04 distribution, the freeze of importing package from Debian is scheduled for Thursday Feb 6th, and its final release is scheduled for April 17 2014.

The Ubuntu logo

 

the fis-gtm package can can now be found at:

http://packages.ubuntu.com/trusty/database/fis-gtm

 

Example Installation

Being a native package to this latest release of Ubuntu,
the installation process comes down to the familiar command

sudo apt-get install fis-gtm

 

Environment Set Up

 
Beginner Setup
 
As recommended by K.S. Bhaskar:
 
/usr/lib/fis-gtm/V6.0-003-2_x86_64/gtm -direct
 
 
This would create a default environment in your home directory, and let you start using GT.M immediately.
 
More Controlled Setup
 
For users who are more familiar with GT.M  they can rather set up the environment variables in the bash shell:
 
export gtm_dist='/usr/lib/fis-gtm/V6.0-003-2_x86_64'

export gtmgbldir=$HOME/data/gtm/database

export gtmroutines="$HOME/data/gtm/o($HOME/data/gtm/r) $gtm_dist/libgtmutil.so $gtm_dist"
 

Running

 
And then was able to run the MUMPS interpreter as:
 
$gtm_dist/mumps  -dir
 
 

Thanks

 
 
Thanks again to all the team members who joined forces for packaging fis-gtm for Debian.
 

Thanks to the Ubuntu packages who were kind enough to include the fis-gtm package, and helped made M/MUMPS available to everyone.

like0

Comments

thank you

Arthur Ingram's picture

thank you for the  great work

like0

Congratulations and thanks for all the hard work

K.S. Bhaskar's picture

This would not have happened without your persistence and leadership, Luis.

like0

Congratulations

Chris Casey's picture

This is such a huge step foward for everyone using this technology.

Thanks for all your hard work on this

like0

Recomend something different after sudo apt-get install fis-gtm

K.S. Bhaskar's picture

The operation of GT.M is controlled by a number of environment variables, one of which is gtmgbldir, which points to a global directory file.  Just as a telephone directory maps names to phone numbers, a global directory maps global variable names to database files.  After the sudo apt-get install fis-gtm, the you were able to get GT.M to work presumably because you already had a global directory file created by the gde utility program at $HOME/data/gtm/database.

What I would recommend right after someone does a GT.M install is to execute /usr/lib/fis-gtm/V6.0-003-2_x86_64/gtm -direct.  This would create a default environment in their home directory, and let them start using GT.M immediately.  As their knowledge of GT.,M increases, they can start creating their own custom environments.

like0

Thanks for the recommendation on easier start up

Luis Ibanez's picture

Bhaskar,

Thanks for pointing out the easier next step to perform after installation.

I have now updated the blog post accordingly.

like0

many thanks; Q re Syntax please

Tony Shannon's picture

Many thanks for this breakthrough Bhaskar,

Can I clarify the syntax for this step?
I assume I need to understand the syntax to be able to "execute" as you suggest above;

This attempt yields the following error, so must be missing something?
@ubuntu:~$ /usr/lib/fis-gtm/V6.0-003-2_x86_64/gtm -direct
bash: /usr/lib/fis-gtm/V6.0-003-2_x86_64/gtm: No such file or directory

thanks again
Tony
 

 

 

like0

Tony -- If it fails to

K.S. Bhaskar's picture

Tony --

If it fails to execute, perhaps GT.M is installed in a different directory, e.g., if on a 32-bit platform, it may be /usr/lib/fis-gtm/V6.0-003_x86/gtm  If that isn't it, please post the result of: ls -l /usr/lib/fis-gtm  Thank you.

Regards

-- Bhaskar

like0

update with some progress

Tony Shannon's picture
Thanks Bhaskar
I tried your second suggestion but no luck.
After the ls -l /usr/lib/fis-gtm
I amended the line to match the output I got
/usr/lib/fis-gtm/V6.0-003_i686/gtm
which resulted in what looked like a useful output.
.. ie now have the GTM> prompt
(See below)
 
Can I assume this is what was needed as per your recommendation?
thanks again
Tony
 
tony@ubuntu:~$ /usr/lib/fis-gtm/V6.0-003_x86/gtm
bash: /usr/lib/fis-gtm/V6.0-003_x86/gtm: No such file or directory
tony@ubuntu:~$ ls -l /usr/lib/fis-gtm
total 12
lrwxrwxrwx 1 root root    13 Dec 20 21:11 current -> V6.0-003_i686
drwxrwxr-x 5 root root 12288 Feb 26 17:11 V6.0-003_i686
tony@ubuntu:~$ /usr/lib/fis-gtm/V6.0-003_i686/gtm
%GDE-I-GDUSEDEFS, Using defaults for Global Directory 
/home/tony/.fis-gtm/V6.0-003_x86/g/gtm.gld
 
GDE> 
%GDE-I-EXECOM, Executing command file /usr/lib/fis-gtm/V6.0-003_i686/gdedefaults
 
GDE> 
%GDE-I-VERIFY, Verification OK
 
%GDE-I-GDCREATE, Creating Global Directory file 
/home/tony/.fis-gtm/V6.0-003_x86/g/gtm.gld
Created file /home/tony/.fis-gtm/V6.0-003_x86/g/gtm.dat
%GTM-I-JNLCREATE, Journal file /home/tony/.fis-gtm/V6.0-003_x86/g/gtm.mjl created for region DEFAULT with BEFORE_IMAGES
%GTM-I-JNLSTATE, Journaling state for region DEFAULT is now ON
 
GTM>
 
like0

As expected

K.S. Bhaskar's picture

Tony --

That verbiage is GT.M setting up a default environment for you to work in.  The next time you execute /usr/lib/fis-gtm/V6.0-003_x86/gtm it will just take you to a GTM> prompt.

Regards

-- Bhaskar

like0

many thanks

Tony Shannon's picture

Thanks Bhaskar

Follow that.. which in my case was;
tony@ubuntu:~$ /usr/lib/fis-gtm/V6.0-003_i686/gtm
GTM>
to get to the GTM> prompt

 
Luis
Perhaps this extra info is worth an extra line or two in the setup instructions?
 
Thanks
Tony
 
like0

many thanks

Tony Shannon's picture

Thanks Bhaskar

Follow that.. which in my case was;
tony@ubuntu:~$ /usr/lib/fis-gtm/V6.0-003_i686/gtm
GTM>
to get to the GTM> prompt

 
Luis
Perhaps this extra info is worth an extra line or two in the setup instructions?
 
Thanks
Tony
 
like0

Great News

Arthur Ingram's picture

great news congrad for the great work

like0

Ubuntu 15

Nigel Brown's picture

Found this the most useful page for getting fis-gtm on a persistant USB install of Ubuntu 15 downloaded by Mac Linux USB Loader program.

Two notes

-universe repository was not active by default so initially got 'unable to locate package' message from apt-get install. Installing Frozen Bubble from software packager activated universe and then the package could be found (a non-geek way to activate a repository I'm afraid)

- had to use find commmand to locate gtm as it was not exactly located as above

/usr/lib/x86_64-linux-gnu/fis-gtm/V6.2-000_x86_64/gtm -direct 

set up the environment

Hope above helps a new user

 

Nigel

like0