Various minor fixes
[texmacs.git] / doc / web / download / cygwin.en.tm
blob5a6287ee570860e895410bf54ecc2ce8f5de493c
1 <TeXmacs|1.0.7.3>
3 <style|tmweb>
5 <\body>
6   <tmweb-current|Download|Windows><tmweb-title|Installing <TeXmacs> under
7   <name|Cygwin>|<tmweb-download-links>>
9   There are basically two methods to get <TeXmacs> working under
10   <name|Cygwin>:
12   <\enumerate-numeric>
13     <item>Installation of the official Cygwin package (recommended). Follow
14     these <hlink|Instructions|http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html#2>.
16     <item>Download, compile and install <TeXmacs> manually. Follow the
17     Instructions below, but note that the information about dependent
18     packages is outdated; See the file <hlink|setup.hint|http://alice.fmi.uni-passau.de/~seidl/cygwin/release/TeXmacs/setup.hint>
19     (from the abovementioned package) for the latest information.\ 
20   </enumerate-numeric>
22   <hrule>
24   You may use <TeXmacs> on a Windows platform via <name|Cygwin>.
25   <name|Cygwin> is a Unix distribution which can be used directly under
26   Windows. In order to install <TeXmacs>, you should therefore first install
27   <name|Cygwin> and next <TeXmacs>. This page describes how to do this by
28   compiling <TeXmacs> from source.
30   <section|Install <name|Cygwin> with <with|font-family|tt|setup.exe>>
32   The last version of <name|Cygwin> can be installed from
33   <hlink|<with|font-family|tt|http://www.cygwin.com>|http://www.cygwin.com>
34   as follows:
36   <\enumerate>
37     <item>Download <hlink|<with|font-family|tt|setup.exe>|http://www.cygwin.com/setup.exe>
38     and execute it.
40     <item>Choose for instance to install via internet. Indicate the
41     installation directory (e.g. <with|font-family|tt|C:\\cygwin>). If
42     needed, indicate a proxy and the corresponding port. Also indicate a
43     directory for the installation files (e.g.
44     <with|font-family|tt|C:\\Cygwin-installation>). It can take a long time
45     (30 min) to download everything.
47     <item>It is probably simplest to perform a complete installation. For
48     each non selected package, you may select it by click on
49     <with|font-series|bold|Default> so that it becomes
50     <with|font-series|bold|Install>. However, you should <em|not> install the
51     <with|font-family|tt|ghostscript> package (you <em|should> install
52     <with|font-family|tt|ghostscript-base> and
53     <with|font-family|tt|ghostscript-x11>), by selecting
54     <with|font-series|bold|Skip> for this package.
56     If, for some reason, you do not want to perform a complete installation,
57     then you should make sure that you install at least the following
58     packages: <with|font-family|tt|gcc>, <with|font-family|tt|make>,
59     <with|font-family|tt|tetex>, <with|font-family|tt|tetex-devel>,
60     <with|font-family|tt|texmf>, <with|font-family|tt|XFree86-base>,
61     <with|font-family|tt|XFree86-prog>, <with|font-family|tt|ghostscript-x11>
62     and all <name|Guile> packages (<with|font-family|tt|guile>,
63     <with|font-family|tt|guile-devel>, <with|font-family|tt|guile-doc>,
64     <with|font-family|tt|libguile12> and <with|font-family|tt|libguile14>).
65     You probably also want a decent window manager like
66     <with|font-family|tt|openbox> or <with|font-family|tt|WindowMaker>.
68     <item>Install.
70     <item>Put <with|font-family|tt|c:\\cygwin> at the start of the
71     <with|font-family|tt|PATH> environment variable and
72     <with|font-family|tt|127.0.0.1:0.0> for <with|font-family|tt|DISPLAY> in
73     the menu <with|font-series|bold|Start-\<gtr\>Control
74     Panel-\<gtr\>System-\<gtr\>Advanced-\<gtr\>Environment variables>.
76     <item>In order to test your installation, you may
78     <\itemize>
79       <item>Launch <name|Cygwin> from your desktop using the link.
81       <item>In the <name|Cygwin> window, launch the X server using
82       <with|font-family|tt|XWin&> and the window manager using
83       <with|font-family|tt|fvwm2&>.
85       <item>In the X window, try launching an Xterm using the popup menu when
86       pressing the right-hand button.
87     </itemize>
88   </enumerate>
90   <section|Download the <TeXmacs> distribution>
92   Download the <hlink|latest version (3.8
93   Mb)|<merge|ftp://ftp.texmacs.org/pub/TeXmacs/targz/|<merge|<TeXmacs-version-release|tgz>|-src.tar.gz>>>
94   of the source code, or the <hlink|latest stable version (3.8
95   Mb)|<merge|ftp://ftp.texmacs.org/pub/TeXmacs/targz/|<merge|<TeXmacs-version-release|stgz>|-src.tar.gz>>>.
96   You may for instance save the distribution in
97   <with|font-family|tt|C:\\tmp>. The name of the file with the distribution
98   is of the form <with|font-family|tt|TeXmacs-[source version]-src.tar.gz>,
99   where <with|font-family|tt|[source version]> is the corresponding version.
100   If you do not have ftp access, then you might wish to
101   <hlink|download|http://www.texmacs.org/Download/ftp/targz> from the web.
103   <section|Compile <TeXmacs>>
105   Launch an Xterm as explained at the end of step 1 and, assuming that you
106   saved the <TeXmacs> distribution in <with|font-family|tt|C:\\tmp>, type the
107   following commands in your Xterm:
109   <\code>
110     \ \ \ \ cd c:/tmp
112     \ \ \ \ tar -zxvf TeXmacs-[source version]-src.tar.gz
114     \ \ \ \ cd TeXmacs-[source version]-src
116     \ \ \ \ ./configure
118     \ \ \ \ make
120     \ \ \ \ make install
121   </code>
123   You should now be able to run <TeXmacs> using
125   <\code>
126     \ \ \ \ texmacs &
127   </code>
129   <section|Finishing touches>
131   <\itemize>
132     <item>If you want <TeXmacs> to correctly display images of most of the
133     standard formats, then you should install the
134     <with|font-family|tt|netpbm> library:
136     <\enumerate>
137       <item>Download the file <with|font-family|tt|netpbm-9.12-1-cygwin.tar.bz2>
138       from
140       <\verbatim>
141         \ \ \ \ <hlink|<with|font-family|tt|http://netpbm.sourceforge.net>|http://netpbm.sourceforge.net>
142       </verbatim>
144       and save it into <with|font-family|tt|C:\\Cygwin-installation>.
146       <item>In your Xterm, type
148       <\code>
149         \ \ \ \ cd c:/cygwin
151         \ \ \ \ tar -jxvf /cygdrive/c/Cygwin-installation/netpbm-9.12-1-cygwin.tar.bz2
152       </code>
153     </enumerate>
155     <item>If you want to use <TeXmacs> for browsing the web, then don't
156     forget to put the following lines in your personal
157     <with|font-family|tt|$HOME/.bash_profile>:
159     <\code>
160       \ \ \ \ export http_proxy=http://proxy:port
162       \ \ \ \ export ftp_proxy=http://proxy:port
163     </code>
165     where <with|font-family|tt|proxy> is the name of your proxy and
166     <with|font-family|tt|port> the corresponding port.
167   </itemize>
169   <tmdoc-copyright|1999--2003|Joris van der Hoeven>
171   <tmweb-license>
172 </body>
174 <\initial>
175   <\collection>
176     <associate|language|english>
177   </collection>
178 </initial>