source: git/INSTALL.unix @ 64d729

fieker-DuValspielwiese
Last change on this file since 64d729 was 52c2fb, checked in by Hans Schönemann <hannes@…>, 25 years ago
*hannes: fixed path git-svn-id: file:///usr/local/Singular/svn/trunk@2903 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 9.0 KB
Line 
1                         Singular version <x-y-z>
2                     University of Kaiserslautern
3     Department of Mathematics   Centre for Computer Algebra
4          Authors: G.-M. Greuel, G. Pfister, H. Schoenemann
5                  (C) 1986-1999 All Rights Reserved
6
7             UNIX INSTALLATION INSTRUCTIONS FOR SINGULAR
8             ============================================
9To install Singular on a Unix platform, you need the following two
10archives:
11
12Singular-<x-y-z>-share.tar.gz (or, Singular-<x-y-z>-share.zip)
13   -- contains architecture independent data like documentation and libraries
14Singular-<x-y-z>-<uname>.tar.gz
15   -- contains architecture dependent executables, like the Singular program
16
17where <uname> is a description of the processor and operating system
18for which Singular is compiled (e.g, ix86-Linux). Please contact us if
19you can not find an appropriate architecture-dependent archive.
20
21You can obtain these files from
22        ftp://www.mathematik.uni-kl.de/pub/Math/Singular/
23
24
25IMPORTANT
26=========
27Please see the file COPYING contained in the distribution for license
28information on Singular. In particular, notice that we only grant you
29permission to use Singular if you have registered yourself as a
30Singular user by sending email to <singular@mathematik.uni-kl.de>
31with the subject line (or, mail body) `register'.
32
33
34TO INSTALL SINGULAR
35===================
36(0) You need appr. 10MByte of free disk space to unpack the archives.
37
38(1) Simply change to the directory in which you wish to install
39    Singular (usually wherever you install 3rd-party software):
40
41      cd /usr/local/   
42
43    Singular specific subdirectories will be created in such a way
44    that multiple versions and multiple architecture dependent files
45    of Singular can peaceably coexist under the same `/usr/local/'
46    tree.
47
48(2) Unpack the architecture dependent files:
49
50      gzip -dc Singular-<x-y-z>-<uname>.tar.gz | tar -pxf -
51
52(3) Unpack the architecture independent files:
53    If you downloaded  Singular-<x-y-z>-share.tar.gz do:
54 
55      gzip -dc Singular-<x-y-z>-share.tar.gz | tar -pxf -
56
57    Alternatively, if you  downloaded Singular-<x-y-z>-share.zip do:
58 
59      unzip -u Singular-<x-y-z>-share.zip
60
61(4) [Optionally:] Arrange that typing 'Singular' at the shell prompt
62    starts up the installed Singular executable.
63
64    If you have root permission, do:
65     
66      ln -s `pwd`/Singular/<uname>/<x-y-z>/Singular /usr/local/bin/Singular
67       
68    Otherwise, append the dir `pwd`/Singular/<uname>/<x-y-z> to your $PATH
69    environment variable. For the csh (or, tcsh) shell do:
70
71      set path=(`pwd`/Singular/<uname>/<x-y-z> $path)
72 
73    For the bash (or, ksh) shell do:
74 
75      export PATH=`pwd`/Singular/<uname>/<x-y-z>:$PATH
76
77    You also might want to adjust your personal start-up files accordingly,
78    so that the PATH variable is set automatically each time you login.
79
80    IMPORTANT: Do NEVER move or copy the file
81    `./Singular/<uname>/<x-y-z>/Singular'  to another place, but use
82    soft-links instead.
83
84
85After unpacking, you will have a directory structure like:
86  ./Singular/<uname>/<x-y-z>/        executable(s)
87  ./Singular/LIB/<x-y-z>/            Singular libraries
88  ./Singular/LIB/gftables/           Singular lookup tables
89  ./Singular/doc/<x-y-z>/            documentation (ps, dvi, info)
90  ./Singular/html/<x-y-z>/           documentation (html)
91  ./Singular/README                  general information on Singular
92  ./Singular/COPYING                 licence information
93  ./Singular/INSTALL                 this file
94
95For the executable to work, the directory layout must look pretty much
96like this; the executable looks for "sibling" directories at run-time
97to figure out where its Singular libraries and on-line info
98documentation are.  These constraints on the local directory layout
99are necessary to avoid having to hardcode pathnames into the
100executables, or require that environment variables be set before
101running the executable. In particular, you should not move or copy
102the Singular executables to another place, but use soft-links
103instead. See also the `TROUBLES' section below, if you run into any
104problems.
105
106
107TO INSTALL THE ON-LINE DOCUMENTATION
108=====================================
109Singular needs the `info' program for its on-line documentation. If
110you do not have the `info' program installed on your system, you may
111obtain it from
112ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils/
113by downloading the respective info-<uname>.tar.gz file.
114
115To install, simply cd to the directory where you unpacked the other
116tar files and then unpack the info tar file.
117
118  cd /usr/local/      # i.e., wherever you have unpacked Singular tar files
119  gzip -dc info-<uname>.tar.gz | tar -pxf -
120
121This adds
122  ./<uname>/bin/info                info program
123to the above directory structure and ensures that the `info' program
124is found at run-time.
125
126You also might want to add a Singular menu entry to the global info
127file of your system, such that the Singular on-line help can be
128accessed from the stand-alone `info' program or from the Emacs editor:
129(1) Add the line
130
131* Singular:(singular.hlp).     A system for polynomial computations
132
133to your system `dir' file (usually `/usr/info/dir' or `/usr/local/info/dir')
134
135(2) Copy or soft-link the file ./Singular/doc/<x-y-z>/singular.hlp
136    to the directory of your `dir' file.
137
138
139TROUBLES
140=========
141
142* For HPUX systems:
143  The /etc/termcap files which are pre-installed on these systems are
144  broken which leads to messages like
145
146   Name collision between 9826 9836
147
148  when Singular is started. To fix this, you can get fixed termcap
149  files from
150  ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils
151  by downloading the files termcap-<uname-description> and either
152  replace your /etc/termcap file by the file found there, or view, and
153  redo the respective changes by diff'ing the downloaded and the
154  original file.
155
156* For Linux systems:
157  Due to some incompatibilities of shared libraries, the start-up of
158  Singular might fail with messages like
159
160   Can not find shared library ....
161
162  To fix this, first delete the file
163        ./Singular/<uname>/<x-y-z>/Singular
164
165  and then download and install
166
167   Singular-<x-y-z>-<uname>-static.tar.gz
168
169  which contains statically linked executables.
170
171* For AIX systems:
172  The default 'info' program of the system is not GNU's hypertext
173  system which we need to display the on-line documentation. Therefore,
174  the distribution of the AIX executable already contains the 'info'
175  program we need. If you remove this program, make sure that the GNU
176  info program is executed if you call 'info' from your shell.
177
178* General: Singular can not find its libraries or info-file:
179  (1) Start up Singular, and issue the command `system("Singular");'.
180      If this does not return the correct and expanded location of the
181      Singular executable, then you found a bug in Singular, which we
182      ask you to report (see below).
183  (2) Check whether the directories containing the libraries and
184      info-file can be found by Singular: If $bindir denotes the
185      directory where the Singular executable resides, then Singular
186      looks for library files as follows:
187        1.) All dirs specified by the environment variable SINGULARPATH
188        2.) $bindir/LIB
189        3.) $bindir/LIB/<x-y-z>
190        4.) $bindir/../../Singular/LIB
191        5.) $bindir/../../Singular/LIB/<x-y-z>
192        6.) /usr/local/Singular/LIB
193        7.) /usr/local/Singular/LIB/<x-y-z>
194      The info-file, i.e., the file singular.hlp is looked for at the
195      following places:
196        1.) $bindir/../doc
197        2.) $bindir/../info
198        3.) $bindir/../../Singular/doc/<x-y-z>
199        4.) $bindir/../../Singular/doc
200        5.) $bindir/../../info
201        6.) /usr/local/Singular/doc/<x-y-z>
202        7.) /usr/local/Singular/doc
203        8.) /usr/local/info
204        9.) All dirs where it looks for libraries.
205  (3) As a last resort, you can set the environment variable
206      SINGULARPATH, so that the directories containing the Singular
207      libraries and info-files are contained in the value of
208      SINGULARPATH.
209  You can inspect the used SearchPath and info-file by starting up
210  Singular with the `-v' option, or  by issuing the command
211  `system("with")'. Use colons (i.e., `:') for directory separators
212  within the SINGULARPATH.
213
214* General: Singular can not find the `info' program:
215  Install the info program on your system -- see the section
216  "TO INSTALL THE ON-LINE DOCUMENTATION" above.
217
218* For any other troubles, please send mail to
219        singular@mathematik.uni-kl.de
220  and include the header which is displayed by starting up Singular
221  with the `-v' option, and a description of your machine (issue the
222  command `uname -a' on your shell) in your report.
223
224
225More information about Singular: Comments, Questions, Bug Reports
226=================================================================
227
228More and up-to-date information about Singular is always available
229from
230           http://www.mathematik.uni-kl.de/~zca/Singular
231We very much welcome any comments, questions, and bug reports. Please
232contact us at
233                    singular@mathematik.uni-kl.de
234
235
236GOOD LUCK and ENJOY!                         Your Singular team.
Note: See TracBrowser for help on using the repository browser.