INSTALL_win.texi 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. @comment -*-texinfo-*-
  2. @comment Id: INSTALL_win.texi,v 1.1 2003/08/08 14:27:06 pertusus 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. @c use set CD for producing a special INSTALL_win which will be opened
  8. @c by the autorun on the Singular CD
  9. @ifclear singularmanual
  10. @c @set CD
  11. @end ifclear
  12. @ifclear VERSION
  13. @include version.texi
  14. @end ifclear
  15. @ifclear singularmanual
  16. @majorheading Installation instructions for Singular on MS Windows.
  17. @end ifclear
  18. @heading For the impatient:
  19. @itemize
  20. @item
  21. If you run Windows NT/2K/XP, make sure you are logged in with the
  22. @code{Administrator} rights.
  23. @item
  24. If you have some older version of @code{Singular} installed, please uninstall it
  25. before installing @code{Singular-@value{VERSION}}. It is recommended to
  26. install the new @code{Singular} in the same directory where the previous
  27. version was installed. Thus your existing environment will be used automatically.
  28. @item
  29. If you have @code{Cygwin} or @code{XEmacs} installed and they do not belong
  30. of some previous @code{Singular} installation,
  31. please read the information below.
  32. @item
  33. Execute the self-extracting installation archive and
  34. @strong{carefully} follow the instructions given there.
  35. Setup will analyze your system, create the corresponding configuration
  36. and give you further tips on the installation process.
  37. @item
  38. In case of troubles, see the installed files @code{/etc/INSTALL.txt},
  39. @code{/etc/TROUBLESHOOTING.txt} or visit
  40. the @strong{Singular Forum} at @uref{http://www.singular.uni-kl.de/forum}.
  41. @end itemize
  42. @ifset CD
  43. @ifhtml
  44. @heading @strong{ @uref{Singular-@value{VERSION}-Typical.exe, Install Singular-@value{VERSION} Now!}}
  45. @end ifhtml
  46. @end ifset
  47. @heading Installation preliminaries
  48. Running @code{Singular} on MS Windows requires that the Cygwin DLL
  49. (dynamically linked library) version 1.3.9 or higher is installed on your
  50. system (see @uref{http://sources.redhat.com/cygwin/} for details about
  51. Cygwin). We install and configure @code{Cygwin} version 1.3.9 automatically, if
  52. the @code{BasicCygwin} component is selected (default setting).
  53. To run @code{ESingular} (i.e. @code{Singular} within its Emacs interface) on
  54. MS Windows requires furthermore that the @code{XEmacs} editor is installed on
  55. your system. We install and configure @code{XEmacs} version 21.1.13 automatically, if the @code{XEmacs} component is selected.
  56. @cindex Windows installation, components
  57. @cindex Components of Windows installation
  58. The @code{Singular} installation is divided into the following
  59. components (you see them explicitly if you choose the Custom Setup Type
  60. during the installation):
  61. @table @code
  62. @item @strong{Program Files:}
  63. @table @code
  64. @item Singular
  65. Contains the @code{Singular} Program, documentation and example files.
  66. @*All files of this component are installed under the directory
  67. @code{/usr/local/Singular/@value{VERSION}}
  68. @item BasicCygwin
  69. Contains the Cygwin DLL and basic tools/programs (like @code{bash} or
  70. @code{info}) of the Cygwin environment.
  71. @*The Cygwin DLL and programs are installed in the directory
  72. @code{/bin}. Miscellaneous documentation and configuration files are
  73. installed into the directory @code{/etc}.
  74. @item XEmacs
  75. Contains the Cygwin port of the @code{XEmacs} editor (see
  76. @url{http://www.xemacs.org} for more about @code{XEmacs}) version 21.1.13.
  77. @*All files of this component are installed under the directory
  78. @code{/usr/local}.
  79. @item ESingular
  80. Contains the @code{ESingular}, the most comfortable Singular interface.
  81. Requires @code{XEmacs} to run.
  82. @end table
  83. @item @strong{Remark:}
  84. All essential DLLs, some programs and symbolic links are installed in the directory
  85. @code{/usr/local/Singular/@value{VERSION}/ix86-Win}, which must be present in your @code{PATH} system variable.
  86. @item @strong{Help Files:}
  87. @table @code
  88. @item WinHelp
  89. Contains Singular Manual, converted to Windows help format (.hlp).
  90. We recommend to install it, because it is small in size. Moreover,
  91. we set it as default help browser in all the Singular executables.
  92. @item HTML Help
  93. Contains the "native" Singular Manual. It's not included by default,
  94. because it is much bigger than WinHelp, though it has better typesetting
  95. of mathematical formulae.
  96. @end table
  97. @end table
  98. The Typical Setup Type of the Singular-@value{VERSION}-Typical.exe contains
  99. @code{BasicCygwin}, @code{Singular},
  100. @code{XEmacs}, @code{ESingular}, @code{WinHelp} and @code{HTML Help}
  101. components. The Compact Setup Type does not contain only the @code{HTML Help} component.
  102. @ifclear CD
  103. @heading Downloading preliminaries
  104. To install @code{Singular} on a PC running Windows 95/98/ME/NT/2K/XP, you need
  105. to download @strong{one} of the following archive files:
  106. Minimal archive: @uref{Singular-@value{VERSION}-Compact.exe, Singular-@value{VERSION}-Compact.exe} (@code{BasicCygwin}, @code{Singular}, @code{WinHelp} components)
  107. Typical archive : @uref{Singular-@value{VERSION}-Typical.exe, Singular-@value{VERSION}-Typical.exe} (@code{BasicCygwin}, @code{Singular}, @code{XEmacs}, @code{ESingular}, @code{WinHelp}, @code{HTML Help} components)
  108. You can obtain these (and other) archives
  109. either from the @code{WINDOWS} directory on the @code{Singular} CD or from
  110. @display
  111. @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/}.
  112. @end display
  113. @end ifclear
  114. @ifclear singularmanual
  115. @strong{Important:} Please see
  116. @ifhtml
  117. @uref{COPYING.htm, COPYING.htm}
  118. @end ifhtml
  119. @ifnothtml
  120. the file @code{/etc/COPYING.txt} contained in the distribution
  121. @end ifnothtml
  122. for license information on @code{Singular}. Please register yourself as a
  123. @code{Singular} user by using the registration form on the @code{Singular}
  124. homepage @uref{http://www.singular.uni-kl.de}.
  125. If for some reason you cannot access the registration form, you can also
  126. register by sending an email to @email{singular@@mathematik.uni-kl.de}
  127. with subject line @code{register} and body containing the following data:
  128. your name, email address, organisation, country and platform(s).
  129. @end ifclear
  130. @heading Installing Singular
  131. The recent Setup program analyzes your system, e.g. it detects
  132. whether Cygwin and XEmacs are present and functional. Then it gives you
  133. hints and/or error messages with instructions during the installation.
  134. @table @code
  135. @item If you have Cygwin installed
  136. If the version of @code{cygwin1.dll} is not less than 1.3.9,
  137. you will be prompted that the @code{BasicCygwin} component will not
  138. be installed. Moreover, the existing Cygwin root directory will be proposed as
  139. the default installation directory. You can accept it, then
  140. @code{Singular} will be placed into the existing Cygwin environment.
  141. If you choose another destination, @code{Singular} will use Cygwin
  142. programs anyway. If your Cygwin has incorrect settings (like
  143. inconsistent mount points among the important ones), @code{Singular}
  144. Setup will correct them.
  145. @* If setup could not detect @code{cygwin}, present in the system, you
  146. can try to break the installation, start it once more, choose the
  147. "Custom" setup type and unselect the @code{BasicCygwin} component.
  148. @item If you have XEmacs installed
  149. The @code{Cygwin} port of @code{XEmacs} version 21.1.13 together
  150. with the most
  151. important packages is included in the distribution. The use of
  152. non-@code{Cygwin} ports or earlier @code{Cygwin} ports has some
  153. quirks and does not work
  154. properly together with @code{Singular} (i.e., running @code{ESingular}
  155. results in problems). Nevertheless, if you want to test the
  156. compatibility of @code{ESingular} with your own @code{XEmacs}, just
  157. de-select the XEmacs component, but leave @code{ESingular} selected.
  158. If your @code{XEmacs} happens to be incompatible with ESingular, you can
  159. install just the XEmacs component and use in fact two different
  160. @code{XEmacs} programs.
  161. The setup program will search for @code{XEmacs} and packages
  162. in @code{<TARGETDIR>/usr/local/lib} (here @code{<TARGETDIR>} is the directory which you selected while running setup). If you have @code{Cygwin} and the Cygwin port of
  163. @code{XEmacs}, you might have @code{XEmacs} installed there. To avoid overwriting your @code{XEmacs} files, setup will ask you what to do.
  164. @end table
  165. @ifset CD
  166. @ifhtml
  167. @heading @strong{ @uref{Singular-@value{VERSION}-Typical.exe, Install Singular-@value{VERSION} Now!}}
  168. @end ifhtml
  169. @end ifset
  170. @heading Customizing Singular
  171. The following step(s) are optional:
  172. @itemize
  173. @item
  174. To conveniently access all files on your computer, mount the drives of
  175. your disk(s):
  176. @enumerate
  177. @item
  178. Open a rxvt terminal (from Start->Programs->Singular 2.0->Tools).
  179. @item
  180. For each drive (letter) issue the following command (the drive @code{C:}
  181. is used in the example):
  182. @example
  183. mount -f -s -t C: /C
  184. @end example
  185. @end enumerate
  186. After mounting the drive(s) this way, you can conveniently access the
  187. files on a drive from the @code{bash} shell and from @code{XEmacs} using the @code{/C/} prefix. Otherwise, you need to type @code{/cygdrive/C} - that is
  188. the Cygwin convention. You can get more information on @code{mount} command by invoking @code{mount --help}. Command @code{umount} unmount the selected
  189. mount point.
  190. @item
  191. Create your personal @code{HOME} directory.
  192. @*Various applications (e.g., @code{bash} or @code{XEmacs}) store
  193. user-specific configuration/customization files in the @code{HOME}
  194. directory of the current user. During the installation, the @code{HOME}
  195. directory is globally set for all users to @code{/home/Singular}. To
  196. create your individual @code{HOME} directory follow these steps:
  197. @enumerate
  198. @item
  199. Create a directory (folder), say, @code{C:\home\MyHome}.
  200. @item
  201. Copy all files from @code{/home/Singular} to @code{C:\home\MyHome}.
  202. @item
  203. Set the @emph{user} environment variable @code{HOME} to @code{C:\home\MyHome}:
  204. @*On Windows 95/98/ME, edit the respective line the @code{AUTOEXEC.BAT}
  205. file.
  206. @*On Windows NT/2K/XP add an entry in your @code{Environment} control
  207. panel.
  208. @item
  209. Restart your computer (On Windows 95/98/ME).
  210. @end enumerate
  211. You may furthermore examine the files copied into your @code{HOME}
  212. directory and adjust (i.e. edit) them to your personal
  213. preferences/needs. System-wide settings are stored in the file
  214. @code{/etc/profile}.
  215. @end itemize
  216. @heading Uninstalling Singular
  217. You can uninstall individual or all installed components by opening the
  218. @code{Software} shortcut of the @code{Control panel}.
  219. Simply double-click the @code{Singular} item and
  220. follow the instructions given there.
  221. For any other troubles,
  222. please send an email to @email{singular@@mathematik.uni-kl.de}
  223. and include the header which is displayed by starting up @code{Singular}
  224. with the @code{-v} option, and a description of your machine and
  225. operating system.
  226. @include info.texi
  227. @ifclear singularmanual
  228. GOOD LUCK and ENJOY!
  229. Your @code{Singular} team.
  230. @end ifclear