If you are using a Linux machine and are in a hurry, see
The easiest way to install the system is to place it in
/usr/local/lib/beta
, but it can be placed anywhere (see
below). The location of the BETA system in your file directory is in
the following referred to as $BETALIB
. By default
$BETALIB
is /usr/local/lib/beta
.
system.tar.Z
or system.tar.gz
and
a number of other compressed tar-files.
Create and change to your beta directory:
Each of the compressed files should now be unpacked; use either
mkdir /usr/local/lib/beta cd /usr/local/lib/beta
or (if zcat is available)
uncompress system.tar.Z tar -xvf system.tar
On Linux systems (or elsewhere, if GNU tar is available) use:
zcat < system.tar.Z | tar -xvf -
Repeat this for the other archive files too.
tar -xzvf system.tar.gz
$BETALIB/bin
in your search path
and set the BETALIB
environment variable to
point to the top directory of your BETA installation.
Csh or tcsh users do this by including in, e.g.,
setenv BETALIB /usr/local/lib/beta set path=($path $BETALIB/bin)
.login
file
[2].
Bash or sh users put
in their .profile file or in the global /etc/profile file. See also the section on environment variables.
BETALIB=/usr/local/lib/beta export BETALIB PATH=$PATH:$BETALIB/bin export PATH
On sgi
, LD_LIBRARY_PATH
must be set to
point to $BETALIB/lib/sgi
in order to run programs
generated using the Mjølner System.
If you use the window manager (TV)TWM, you can enable automatic
placement of dialogs etc. by including the following in your
.twmrc
file:
UsePPosition "non-zero"
The scripts located in $BETALIB/bin use an internal script to perform some tests for e.g. machine type. This script is placed in
$BETALIB/configuration/env.sh
If you have a very special installation, it may be necessary to
modify the env.sh
script according to your system. If the
$BETALIB
is not set, env.sh
sets it to
/usr/local/lib/beta
.
Standard UNIX manual pages for the tools in the Mjølner
System are placed in $BETALIB/man/man1
. To include these
in the search path of the man program, either include
$BETALIB/man/
in your MANPATH
environment
variable, or have your system administrator copy the files in
$BETALIB/man/man1
to the directory containing local
manual pages (usually /usr/man/manl
).
For more information about BETA on Linux see the BETA FAQ:
https://beta.cs.au.dk/doc/faq/beta-language-faq.html#SectionVIII
If you are in a hurry, the following commands should be enough to install the Mjølner System on your RedHat 6.2 based machine. Some parameters may need to be adjusted. If any of the following commands fail to work for you, you will have to read the rest of this document in order to find out what went wrong:
su - bash cdrom=/mnt/cdrom export BETALIB=/usr/local/lib/beta mkdir $BETALIB cd $BETALIB for filename in $cdrom/linux/*.tar.gz do echo $filename tar -xzf $filename done rpm -i $cdrom/utils/linux/openmotif/openmotif-2.1.30-2_ICS.i386.rpm rpm -i $cdrom/utils/linux/openmotif/openmotif-devel-2.1.30-2_ICS.i386.rpm echo 'BETALIB='$BETALIB > /etc/profile echo 'export BETALIB' > /etc/profile echo 'PATH=$PATH:$BETALIB/bin' >> /etc/profile echo 'export PATH >> /etc/profile allow_null_glob_expansion=yes for name in /home/*/.login do echo setenv BETALIB $BETALIB > $name echo 'set path = ( $path $BETALIB/bin )' >> $name done exit exit
utils/linux
area on the Mjølner System CD or in the download area.
See the BETA FAQ:
https://beta.cs.au.dk/doc/faq/beta-language-faq.html#SectionIX
See the BETA FAQ:
https://beta.cs.au.dk/doc/faq/beta-language-faq.html#SectionX
See the BETA FAQ:
https://beta.cs.au.dk/doc/faq/beta-language-faq.html#SectionVII
rehash
if you source
your
.login
file manually
Installation Guide and Platform Specific Issues | © 1999-2004 Mjølner Informatics |
[Modified: Monday October 23rd 2000 at 22:18]
|