wiki:karma

KARMA

Karma is a toolkit for interprocess communications, authentication, encryption, graphics display, user interface and manipulating the Karma network data structure. It contains KarmaLib (the structured libraries and API) and a large number of modules (applications) to perform many standard tasks. A suite of visualisation tools are distributed with the library.

More information can be found here

Current distribution can be downloade here

Installation

Easy Installation and Upgrading: recommended
The easiest method for installing and upgrading Karma is to run the install-karma script. 
This script figures out what kind of machine you are running on, and will install/update the 
appropriate runtime distribution of Karma. 

Create installation folder, /usr/local/karma:

cdelacruz@metis:/usr/local$ sudo mkdir karma

Ran the following command:

cdelacruz@metis:/usr/local$ sudo rsync -a rsync.ras.ucalgary.ca::karma/common/ /usr/local/karma

Ran the following:

root@metis:/usr/local/karma/csh_script# csh
metis:/usr/local/karma/csh_script# install-karma /usr/local/karma

Initialize the environment:
(c shell required)

The visualisation software is written using the Karma package
(a library for networked data processing and visualisation). 
In order to be able to use this library, a number of environment 
variables have to be set.

source /usr/local/karma/.login

Updates

The install-karma script is very efficient in the way it uses network resources,
and will only download changes that you do not already have 
(it uses the excellent rsync programme to achieve this). 
Because of this, you can run the script periodically to obtain automatic upgrades 
without having to worry about wasting network resources. The simplest way to set 
up automatic upgrades is to create a crontab entry such as:

7 1 * * * /usr/local/karma/csh_script/install-karma

If you are unsure how to create a crontab entry, 
run the following commands:

cd
echo "7 1 * * * /usr/local/karma/csh_script/install-karma" > .crontab
crontab .crontab

Automatic Karma upgrades are now enabled. 
At 1:07 am each night (local time), Karma will be updated.

If you have gpg (GNU Privacy Guard aka. GnuPG) installed, the install-karma 
script can be used to verify signatures on the files being downloaded. If a file 
is not properly signed, it will not be installed. This will protect you from a 
compromised download server. Before using this feature, make sure you have gpgv 
installed in your path. The public keys are kept in the share/signing-keys directory. 
The current signing key is:

pub   1024D/1B912A8C 2000-07-22
      Key fingerprint = 61D5 6EA3 29E8 BDBC C8AF  B8DA 826B A3AA 1B91 2A8C

To use this feature, pass the -secure option to the install-karma script. 
Note that the signature verification can take a while on slower machines.
Last modified 21 years ago Last modified on 02/28/06 10:56:25
Note: See TracWiki for help on using the wiki.