Installing rubik for Unix or Linux
For a single user:
To install the rubik library in your home directory proceed as follows:
-
Create in your home directory the directory 'rubik':
cd
mkdir rubik <RETURN>
-
Change into the new directory 'rubik':
cd rubik <RETURN>
-
Create the subdirectory 'lib'.
mkdir lib <RETURN>
-
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.
-
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):
-
Create the directory '/export/rubik' and open it for users:
chmod 755 /export <RETURN>
cd /export <RETURN>
mkdir rubik <RETURN>
chmod 755 rubik <RETURN>
-
Change into the new directory 'rubik':
cd rubik <RETURN>
-
Create the subdirectory 'lib'.
mkdir lib <RETURN>
chmod 755 lib <RETURN>
-
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.
chmod 644 lib/maple.* <RETURN>
The rubik lib-directory contains now the complete rubik library.
-
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.
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