Installing rubik for Unix or Linux

For a single user:

To install the rubik library in your home directory proceed as follows:
  1. Create in your home directory the directory 'rubik':

  2.    cd
       mkdir rubik <RETURN>
  3. Change into the new directory 'rubik':

  4.    cd rubik <RETURN>
  5. Create the subdirectory 'lib'.

  6.    mkdir lib <RETURN>
  7. Now copy the rubik library files 'maple.lib', 'maple.hdb' , 'maple.ind'  and 'maple.rep' from the server into the subdirectory 'lib'. The rubik lib-directory contains now the complete rubik library.
  8. Check, wheather there is a .mapleinit file in your home directory. If there is a .mapleinit file then add the following line at the end of the .mapleinit file:
       libname:="/home/username/rubik/lib",libname;
    Here, username is your login name. If there is no .mapleinit file in your home directory, then copy the initializing file '.mapleinit' from the server into your home directory. In this file '.mapleinit' you must change the path of the rubik lib-directory `/home/username/rubik/lib` according to the installation directory, where username is your loginname.

For several users:

To install the rubik library on your server proceed as follows (in the following replace each '/export/rubik' by the directory that should contain the rubik library):
  1. Create the directory '/export/rubik' and open it for users:

  2.    chmod 755 /export <RETURN>
       cd /export <RETURN>
       mkdir rubik <RETURN>
       chmod 755 rubik <RETURN>
  3. Change into the new directory 'rubik':

  4.    cd rubik <RETURN>
  5. Create the subdirectory 'lib'.

  6.    mkdir lib <RETURN>
       chmod 755 lib <RETURN>
  7. Now copy the rubik library files 'maple.lib', 'maple.hdb' , 'maple.ind'  and 'maple.rep' from the server into the subdirectory 'lib'. All user must be able to read these files.

  8.    chmod 644 lib/maple.* <RETURN>
    The rubik lib-directory contains now the complete rubik library.
  9. Check, wheather there is a init file in the lib dirctory of Maple 6. If there is a init file then add the following line at the end of the init file:
       libname:="/export/rubik/lib",libname;
    If there is no init file in the lib directory of Maple 6 then copy the initializing file 'init' from the server into the lib directory of Maple. All users must be able to  read this file.

  10.    chmod 644 init <RETURN>.
    In this file 'init' you must change the path of the rubik lib-directory `/export/rubik/lib` according to the installation directory.

Calling sequence of the new functions:

The rubik-package behaves now like every other package in Maple. To use a rubik function define all rubik functions using the command with(rubik). Alternatively, invoke the function using the long form rubik:-function. This long form notation is necessary whenever there is a conflict between a package function name and another function used in the same session.
 

If you have problems:

If you have any questions about the installation procedure or encounter any technical problems, please send me an email to the
email-adress below. Furthermore you can find informations about the improvements and modifications at

   http://www.rubik.werner-knoben.de

Werner Knoben
RWTH Aachen
Lehrstuhl II fuer Mathematik
D-52056 Aachen
Tel.:          (0)241/94604
Email:         rubik@werner-knoben.de
Internet:      http://www.werner-knoben.de