Installation on GNU/Linux

To install the program relax on a GNU/Linux system download either the precompiled distribution labelled relax-x.x.x.GNU-Linux.arch.tar.bz2 matching your machine architecture or the source distribution relax-x.x.x.src.tar.bz2. A number of installation methods are possible. The simplest way is to switch to the user “root”, unpack and decompress the archive within the /usr/local directory by typing, for instance

$ tar jxvf relax-x.x.x.GNU-Linux.i686.tar.bz2

then create a symbolic link in /usr/local/bin by moving to that directory and typing

$ ln -s ../relax/relax .

and finally possibly creating the byte-compiled Python *.pyc files to speed up the start time of relax by typing

$ python -m compileall .

in the relax base directory. Alternatively if the Scons system is installed, by typing as the root user

$ scons install

in the relax base directory, a directory in /usr/local/ called relax will be created, all the uncompressed and untarred files will be copied into this directory, a symbolic link in /usr/local/bin to the file /usr/local/relax/relax will be created, and then finally the Python *.pyc files will be byte-compiled. To change the installation path to a non-standard location the Scons script sconstruct in the base relax directory should be modified by changing the variable INSTALL_PATH to point to the desired location.

The relax user manual (PDF), created 2020-08-26.