Next: , Previous: , Up: Top   [Contents][Index]


12 Installing LUX

You can obtain the LUX source code at http://lux.quae.nl. The distribution comes in one compressed tar file called lux-1.0.tar.gz (if the version is 1.0). To compile LUX, follow the instructions given below (with % introducing a command line to type in, do not type the % itself).

  1. Extract the sources from the distribution file:
    % tar xzf lux-1.0.tar.gz
    

    A subdirectory lux-1.0 is created and filled with all necessary source files.

  2. Go into the source directory:
    % cd lux-1.0
    
  3. Configure for compilation on your system:
    % ./configure
    

    Your system is investigated for various peculiarities, and various necessary additional files are created, tailored to your system. To see all options of configure, do

    % ./configure --help
    
  4. Compile the source files in the local directory:
    % make
    

    If all goes well, an executable lux is generated in the src subdirectory.

  5. To run the tests provided with LUX, execute
    % make check
    
  6. If you want to make LUX available to all users on the system, then type
    % make install
    

    You may need administrative privileges for this, unless you specified a --prefix on the ./configure command that points to a directory of your own; do ./configure --help for details.

    By default, the executable is installed as /usr/local/bin/lux, the documentation is installed as /usr/local/share/doc/lux.info*.

    You can read the documentation using

    % info lux
    

    and also using the help command from inside LUX.


Next: , Previous: , Up: Top   [Contents][Index]