To install SINGULAR on a ix86-Linux platform, you need the following two archives:
Singular-2-0-4-share.tar.gz
Singular-2-0-4-share.zip
).
Singular-2-0-4-ix86-Linux.tar.gz
You can obtain these (and other) archives from
ftp://www.mathematik.uni-kl.de/pub/Math/Singular. |
Important: Please see
COPYING
for license information on SINGULAR. Please register yourself as a
SINGULAR user by using the registration form on the SINGULAR
homepage http://www.singular.uni-kl.de.
If for some reason you cannot access the registration form, you can also
register by sending an email to singular@mathematik.uni-kl.de
with subject line register
and body containing the following data:
your name, email address, organisation, country and platform(s).
Make sure that you have approximately 12MByte of free disk space and follow these steps.
cd /usr/local or mkdir install;cd install (you do not need root privileges in this case) |
SINGULAR specific subdirectories will be created in such a way
that multiple versions and multiple architecture dependent files
of SINGULAR can peaceably coexist under the same /usr/local
tree.
gzip -dc <path_to>/Singular-2-0-4-ix86-Linux.tar.gz | tar -pxf - gzip -dc <path_to>/Singular-2-0-4-share.tar.gz | tar -pxf - |
This creates the the directory Singular/2-0-4 with
(sub)directories | which contain |
ix86-Linux |
Singular and ESingular executables
|
LIB |
SINGULAR libraries (*.lib files)
|
emacs |
files for the SINGULAR Emacs user interface |
info |
info files of SINGULAR manual |
html |
html files of SINGULAR manual |
doc |
miscellaneous documentation files |
examples |
SINGULAR examples (*.sing files)
|
For the executable to work, the directory layout must look pretty much like this; the executable looks for "sibling" directories at run-time to figure out where its SINGULAR libraries and on-line documentation files are. These constraints on the local directory layout are necessary to avoid having to hard-code pathnames into the executables, or require that environment variables be set before running the executable. In particular, you must not move or copy the SINGULAR executables to another place, but use soft-links instead.
The following steps are optional:
Singular
at the shell prompt starts up the
installed SINGULAR executable.
If you have root permission, do:
ln -s `pwd`/Singular/2-0-4/ix86-Linux/Singular /usr/local/bin/Singular-2-0-4 ln -s `pwd`/Singular/2-0-4/ix86-Linux/ESingular /usr/local/bin/ESingular-2-0-4 ln -s /usr/local/bin/Singular-2-0-4 /usr/local/bin/Singular ln -s /usr/local/bin/ESingular-2-0-4 /usr/local/bin/ESingular |
`pwd`/Singular/2-0-4/ix86-Linux/
to your $PATH
environment variable. For the csh
(or, tcsh
) shell do:
set path=(`pwd`/Singular/2-0-4/ix86-Linux $path) |
bash
(or, ksh
) shell do:
export PATH=`pwd`/Singular/2-0-4/ix86-Linux/:$PATH |
You also might want to adjust your personal start-up files
(~/.cshrc
for csh
, ~/.tcshrc
for tcsh
, or
~/.profile
for bash
) accordingly,
so that the $PATH
variable is set automatically each time you login.
IMPORTANT: Do never move or copy the file
Singular/2-0-4/ix86-Linux/Singular
to another
place, but use soft-links instead.
Feature | Requires |
running ESingular , or Singular within Emacs |
Emacs version 20 or higher, or, XEmacs version 20.3 or higher (ESingular is only included in the Linux distribution, on other Unix platforms you can download the Singular emacs lisp files but we give no warranties for specific platforms). |
on-line html help |
netscape browser |
on-line info help |
info, or tkinfo texinfo browser programs |
TAB completion and history mechanism of ASCII-terminal interface | shared readline
library, i.e. /usr/lib/libreadline.so
|
visualization of curves and surfaces | surf version 0.9 or higher (only available for Linux and Solaris). |
You may download most of these programs from
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils/. |
By default, on-line help is displayed in the html
format using
the netscape
program.
However, this behavior can be customized in several ways
using the SINGULAR commands system("--browser",<browser>)
and system("--allow-net", 1)
(or, by starting up SINGULAR
with the respective command line options).
In particular, creating the file
Singular/2-0-4/LIB/.singularrc
and putting the
SINGULAR command
system("--allow-net", 1); |
html
pages
from Singular's WWW
home site
in case its local html pages are not found. That is, you may delete your
local html pages, after setting this option.
See also the sections The online help system, Command line options, and Startup sequence in the SINGULAR manual for more details on customizing the on-line help system.
* Singular:(singular.hlp). A system for polynomial computations |
dir
file (usually /usr/info/dir
or
/usr/local/info/dir
and copy or soft-link the file
Singular/2-0-4/info/singular.hlp
to the directory of your dir
file.
info
or Emacs
.
(It is not necessary for the use of the help system from within Singular
.)
cd
to the
directory where you unpacked SINGULAR, and do (as root, if
necessary):
chmod -R a+rX Singular |
system("Singular");
.
If this does not return the correct and expanded location of the
SINGULAR executable, then you found a bug in SINGULAR, which we
ask you to report (see below).
$bindir
denotes the
directory where the SINGULAR executable resides, then SINGULAR
looks for library files as follows:
$bindir/LIB
$bindir/../LIB
/usr/local/Singular/2-0-4/LIB
/usr/local/Singular/LIB
info
files need to be at $bindir/../info
and the
html
pages at $bindir/../html
.
You can inspect the found library and info
/html
directories by starting up SINGULAR with the
--version
option, or by issuing the SINGULAR command
system("--version");
.
/dev/pty*
of
the standard SuSE distribution (starting from
version 6.3 on). As root, do one of the following: Either
chmod 666 /dev/pty* |
chmod g+s $(which emacs) chgrp tty $(which emacs) chmod g+s $(which xemacs) chgrp tty $(which xemacs) |
HPUX
systems:
Name collision between 9826 9836 |
diff
'ing the downloaded and the
original file.
ix86-Linux
systems:
Can not find shared library ... |
ln -s /usr/lib/libncurses.so /usr/lib/libncurses.so.4
.
Singular-2-0-4-ix86-Linux-static.tar.gz
.
AIX
systems:
info
program of the system is not GNU's texinfo
browser which is used to display the on-line documentation in the
info
format. Therefore, the distribution of the AIX executable
already contains the info
browser program.
If you remove this program, make sure that the GNU
info
program is executed if you call 'info
' from your shell.
-v
option, and a description of your machine (issue the
command uname -a
on your shell) in your report.
http://www.singular.uni-kl.de. |
singular@mathematik.uni-kl.de. |
GOOD LUCK and ENJOY! Your SINGULAR team.