Home Linus Helper Programs Examples File Descriptions Index

Installation

 


Main Menu

 

LINUS is written in Python although some routines are also provided as C code. The C routines will be called if they are compiled but they are not necessary. Therefore you should have installed on your system PYTHON and a C compiler.

If you are running Python on a Intel 386-compatible processor you should also obtain PSYCO, a specializing compiler, which will speed up LINUS significantly.

This distribution should install on most flavors of UNIX including MacOSX.

The LINUS distribution is a compressed tar archive:

linus.tar.gz

which can be unpacked with a command similar to:

gunzip -c linus.tar.gz | tar xvf -

When you unpack this distribution you will get two directories below the linus/ directory:

manual
LINUS_2_3

The LINUS_2_3 directory contains an installation file called setup.py

As root, run the following command in this directory:

/path/to/your/python setup.py install

This will install everything in your /path/to/your/python[version]/site-packages/ directory.

After installing the LINUS distribution as described above add the following lines to your .cshrc (or .tcshrc, etc) file (with approriate editing for python version and path).

setenv LINUS23 '/usr/local/lib/python[version]/site-packages/pylinus_2_3'
alias python '/usr/local/bin/python[version]'

Or if you use a .bash file:

export LINUS23 = "/usr/local/lib/python[version]/site-packages/pylinus_2_3"
alias python = '/usr/local/bin/python[version]'

The manual (this document) is in the directory manual. Open the file index.html in your favorite browser.