1 | @comment -*-texinfo-*- |
---|
2 | @comment $Id: INSTALL_win.texi,v 1.12 2002-03-08 15:25:21 mschulze Exp $ |
---|
3 | @c FILE: INSTALL.texi |
---|
4 | @c PURPOSE: Installation instructions for Singular on MSWindows |
---|
5 | @c This file is displayed during installation and copied to |
---|
6 | @c /etc/INSTALL |
---|
7 | |
---|
8 | @ifclear VERSION |
---|
9 | @include version.texi |
---|
10 | @end ifclear |
---|
11 | |
---|
12 | @ifclear singularmanual |
---|
13 | @majorheading Installation instructions for Singular on MS Windows. |
---|
14 | @end ifclear |
---|
15 | |
---|
16 | @heading For the impatient: |
---|
17 | @itemize |
---|
18 | @item |
---|
19 | If you run Windows NT/2000, make sure you are logged in with the |
---|
20 | @code{Administrator} rights. |
---|
21 | @item |
---|
22 | If you have @code{Cygwin} or @code{XEmacs} installed, please read the information below. |
---|
23 | @item |
---|
24 | Execute the self-extracting installation archive and |
---|
25 | @strong{carefully} follow the instructions given there. |
---|
26 | Setup will analyze your system, create the corresponding configuration |
---|
27 | and give you further tips on the installation process. |
---|
28 | @item |
---|
29 | In case of troubles, see the installed file @code{/etc/INSTALL} or visit |
---|
30 | @strong{Singular Forum} at @uref{http://www.singular.uni-kl.de/forum}. |
---|
31 | @end itemize |
---|
32 | |
---|
33 | @heading Installation preliminaries |
---|
34 | |
---|
35 | To run @sc{Singular} on MS Windows requires that the Cygwin DLL |
---|
36 | (dynamically linked library) version 1.1.8 or higher is installed on your |
---|
37 | system (see @uref{http://sources.redhat.com/cygwin/} for details about |
---|
38 | Cygwin). We install and configure Cygwin version 1.1.8 automatically, if |
---|
39 | the @code{BasicCygwin} component is selected. |
---|
40 | |
---|
41 | To run @sc{ESingular} (i.e. @sc{Singular} within its Emacs interface) on |
---|
42 | MS Windows requires furthermore that the XEmacs editor is installed on |
---|
43 | your system. |
---|
44 | |
---|
45 | @cindex Windows installation, components |
---|
46 | @cindex Components of Windows installation |
---|
47 | |
---|
48 | Therefore, the @sc{Singular} installation is divided into the following |
---|
49 | components: |
---|
50 | @table @code |
---|
51 | @item @strong{Program Files:} |
---|
52 | @table @code |
---|
53 | @item Singular-@value{VERSION} |
---|
54 | Contains the @sc{Singular} Program, Documentation And Example Files. |
---|
55 | @*All files of this component are installed under the directory |
---|
56 | @code{/usr/local/Singular/@value{VERSION}} |
---|
57 | @item BasicCygwin |
---|
58 | Contains the Cygwin DLL and basic tools/programs (like @code{bash} or |
---|
59 | @code{info}) of the Cygwin environment. |
---|
60 | @*The Cygwin DLL and programs are installed in the directory |
---|
61 | @code{/bin}. Miscellaneous documentation and configuration files are |
---|
62 | installed into the directory @code{/etc}. |
---|
63 | @item XEmacs |
---|
64 | Contains the Cygwin port of the XEmacs editor (see |
---|
65 | @url{http://www.xemacs.org} for more about XEmacs) version 21.1.12. |
---|
66 | @*All files of this component are installed under the directory |
---|
67 | @code{/usr/local}. |
---|
68 | @item ESingular-@value{VERSION} |
---|
69 | Contains The @sc{ESingular}, the most comfortable Singular interface. |
---|
70 | Requires XEmacs. |
---|
71 | @end table |
---|
72 | @item @strong{Help Files:} |
---|
73 | @table @code |
---|
74 | @item WinHelp |
---|
75 | Contains Singular Manual, converted to Windows help format (.hlp). |
---|
76 | We recommend to install it, because it is small and is set by default |
---|
77 | in all the Singular executables. |
---|
78 | @item HTML Help |
---|
79 | Contains "native" Singular Manual. It's not included by default, |
---|
80 | because it is much bigger than WinHelp, though it has better formatting |
---|
81 | of mathematical formulae. |
---|
82 | @end table |
---|
83 | @end table |
---|
84 | |
---|
85 | @heading Downloading preliminaries |
---|
86 | |
---|
87 | To install @sc{Singular} on a PC running Windows 95/98/NT/2K, you need |
---|
88 | to download @emph{one} of the following archive files: |
---|
89 | |
---|
90 | @table @code |
---|
91 | @item Singular-@value{VERSION}-Compact.exe |
---|
92 | Minimal archive to download. Contains the @code{BasicCygwin}, |
---|
93 | @code{Singular-@value{VERSION}} and @code{WinHelp} components. |
---|
94 | @item Singular-@value{VERSION}-Typical.exe |
---|
95 | Typical archive to download. Contains the @code{BasicCygwin}, |
---|
96 | @code{Singular-@value{VERSION}},@code{XEmacs}, |
---|
97 | @code{ESingular-@value{VERSION}},@code{WinHelp} and @code{HTML Help} |
---|
98 | components. |
---|
99 | |
---|
100 | @end table |
---|
101 | |
---|
102 | You can obtain these (and other) archives from |
---|
103 | @display |
---|
104 | @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/}. |
---|
105 | @end display |
---|
106 | |
---|
107 | @include register.texi |
---|
108 | |
---|
109 | @heading Installing SINGULAR |
---|
110 | |
---|
111 | The recent Setup program analyzes your system, e.g. detecting |
---|
112 | whether Cygwin is present and functional. Then it gives you |
---|
113 | hints and/or error messages with instructions during the installation. |
---|
114 | |
---|
115 | @table @code |
---|
116 | @item If you have Cygwin installed |
---|
117 | If the version of @code{cygwin1.dll} is not less than 1.1.8, |
---|
118 | you will be prompted that the @code{BasicCygwin} component will not |
---|
119 | be installed. Moreover, the Cygwin root directory will be proposed as |
---|
120 | the default installation directory. You can accept it, then |
---|
121 | @code{Singular} will be placed into the existing Cygwin environment. |
---|
122 | If you choose another destination, @code{Singular} will use Cygwin |
---|
123 | programs anyway. If your Cygwin has incorrect settings (like |
---|
124 | inconsistent mount points among the important ones), @code{Singular} |
---|
125 | Setup will correct them. |
---|
126 | |
---|
127 | @item If you have XEmacs installed |
---|
128 | The @code{Cygwin} port of XEmacs version 21.1.12 with the most |
---|
129 | important packages is included in the distribution. The use of |
---|
130 | non-@code{Cygwin} ports |
---|
131 | or earlier @code{Cygwin} ports has some quirks and does not work |
---|
132 | properly together with @code{Singular} (i.e., running @code{ESingular} |
---|
133 | results in problems). Nevertheless, if you want to test the |
---|
134 | compatibility of @code{ESingular} with your own @code{XEmacs}, just |
---|
135 | de-select the XEmacs component, but leave @code{ESingular} selected. |
---|
136 | If your XEmacs would be incompatible with ESingular, you can |
---|
137 | install just the XEmacs component and use in fact two different |
---|
138 | XEmacs programs. |
---|
139 | The setup program will search for XEmacs and packages |
---|
140 | in <TARGETDIR>/usr/local/lib. Here <TARGETDIR> is the directory |
---|
141 | which you selected while running setup. If you have @code{Cygwin} and/or |
---|
142 | XEmacs, you might have XEmacs installed there. To avoid the overwriting |
---|
143 | of your XEmacs files, setup will ask you what to do. |
---|
144 | @end table |
---|
145 | |
---|
146 | @heading Customizing SINGULAR |
---|
147 | |
---|
148 | The following step(s) are optional: |
---|
149 | @itemize |
---|
150 | @item |
---|
151 | To conveniently access all files on your computer, mount the drives of |
---|
152 | your disk(s): |
---|
153 | @enumerate |
---|
154 | @item |
---|
155 | Open a bash shell. |
---|
156 | @item |
---|
157 | For each drive (letter) issue the following command (the drive @code{C:} |
---|
158 | is used in the example): |
---|
159 | @example |
---|
160 | mount -f -s -t C: /C |
---|
161 | @end example |
---|
162 | @end enumerate |
---|
163 | After mounting the drive(s) this way, you can conveniently access the |
---|
164 | files on a drive from the bash and from XEmacs using the @code{/C/} |
---|
165 | prefix. |
---|
166 | |
---|
167 | @item |
---|
168 | Create your personal @code{HOME} directory. |
---|
169 | @*Various applications (e.g., @code{bash} or @code{XEmacs}) store |
---|
170 | user-specific configuration/customization files in the @code{HOME} |
---|
171 | directory of the current user. During the installation, the @code{HOME} |
---|
172 | directory is globally set for all users to @code{/home/Singular}. To |
---|
173 | create your individual @code{HOME} directory follow these steps: |
---|
174 | @enumerate |
---|
175 | @item |
---|
176 | Create a directory (folder), say, @code{C:\home\MyHome}. |
---|
177 | @item |
---|
178 | Copy all files from @code{/home/Singular} to @code{C:\home\MyHome}. |
---|
179 | @item |
---|
180 | Set the _user_ environment variable @code{HOME} to @code{C:\home\MyHome}: |
---|
181 | @*On Windows 95/98, edit the respective line the @code{AUTOEXEC.BAT} |
---|
182 | file. |
---|
183 | @*On Windows NT/2K add an entry in your @code{Environment} control |
---|
184 | panel. |
---|
185 | @item |
---|
186 | Restart your computer (On Windows 95/98). |
---|
187 | @end enumerate |
---|
188 | You may furthermore examine the files copied into your @code{HOME} |
---|
189 | directory and adjust (i.e. edit) them to your personal |
---|
190 | preferences/needs. |
---|
191 | |
---|
192 | @end itemize |
---|
193 | |
---|
194 | @heading Uninstalling Singular |
---|
195 | |
---|
196 | You can uninstall individual or all installed components by opening the |
---|
197 | @code{Software} panel of the @code{System configuration} control |
---|
198 | panel. Simply double-click the @code{Singular-@value{VERSION}} item and |
---|
199 | follow the instructions given there. |
---|
200 | |
---|
201 | |
---|
202 | For any other troubles, |
---|
203 | please send an email to @email{singular@@mathematik.uni-kl.de} |
---|
204 | and include the header which is displayed by starting up @sc{Singular} |
---|
205 | with the @code{-v} option, and a description of your machine and |
---|
206 | operating system. |
---|
207 | |
---|
208 | @include info.texi |
---|
209 | |
---|
210 | @ifclear singularmanual |
---|
211 | GOOD LUCK and ENJOY! |
---|
212 | Your @sc{Singular} team. |
---|
213 | @end ifclear |
---|
214 | |
---|