MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/doc/python-docs-2.4.3/html/doc/cygwin.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="doc.css" type='text/css' />
<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
<link rel='start' href='../index.html' title='Python Documentation Index' />
<link rel="first" href="doc.html" title='Documenting Python' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="prev" href="tools-internal.html" />
<link rel="parent" href="tools.html" />
<link rel="next" href="graphics.html" />
<meta name='aesop' content='information' />
<title>7.3 Working on Cygwin </title>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="7.2 Internal Tools"
  href="tools-internal.html"><img src='../icons/previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="7 Processing Tools"
  href="tools.html"><img src='../icons/up.png'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="8 Including Graphics"
  href="graphics.html"><img src='../icons/next.png'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Documenting Python</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='../icons/contents.png'
  border='0' height='32'  alt='Contents' width='32' /></A></td>
<td class='online-navigation'><img src='../icons/blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='../icons/blank.png'
  border='0' height='32'  alt='' width='32' /></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="tools-internal.html">7.2 Internal Tools</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="tools.html">7 Processing Tools</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="graphics.html">8 Including Graphics</A>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION000830000000000000000"></A><A NAME="cygwin"></A>
<BR>
7.3 Working on Cygwin 
</H2>

<P>
Installing the required tools under Cygwin under Cygwin can be a
    little tedious.  Most of the required packages can be installed
    using Cygwin's graphical installer, while netpbm and <span class="LaTeX">LaTeX</span>2HTML
    must be installed from source. 

<P>
Start with a reasonably modern version of Cygwin.  If you haven't
    upgraded for a few years, now would be a good time.

<P>
Using the Cygwin installer, make sure your Cygwin installation
    includes Perl, Python, and the <span class="TeX">TeX</span> packages.  Perl and Python
    are located under the <span class="guilabel">Interpreters</span> heading.  The
    <span class="TeX">TeX</span> packages are located under the <span class="guilabel">Text</span>
    heading, and are named <code>tetex-*</code>.  To ensure that all
    required packages are available, install every <code>tetex</code>
    package, except <code>tetex-x11</code>.  (There may be a more minimal
    set, but I've not spent time trying to minimize the installation.) 

<P>
The netpbm package is used by <span class="LaTeX">LaTeX</span>2HTML, and <em>must</em> be
    installed before <span class="LaTeX">LaTeX</span>2HTML can be successfully installed, even
    though its features will not be used for most Python
    documentation.  References to download locations are located in
    the <a class="ulink" href="http://netpbm.sourceforge.net/README"
  >netpbm README</a>.
    Install from the latest stable source distribution according to
    the instructions.  (Note that binary packages of netpbm are
    sometimes available, but these may not work correctly with
    <span class="LaTeX">LaTeX</span>2HTML.)

<P>
<span class="LaTeX">LaTeX</span>2HTML can be installed from the source archive, but only
    after munging one of the files in the distribution.  Download the
    source archive from the <span class="LaTeX">LaTeX</span>2HTML website
    <a class="url" href="http://www.latex2html.org/">http://www.latex2html.org/</a> (or one of the many alternate
    sites) and unpack it to a build directory. In the top level of
    this build directory there will be a file named <span class="file">L2hos.pm</span>.
    Open <span class="file">L2hos.pm</span> in an editor, and near the bottom of the file
    replace the text <code>$^O</code> with the text
    <code>'unix'</code>.  Proceed using this command to build and install
    the software:

<P>
<div class="verbatim"><pre>
% ./configure &amp;&amp; make install
</pre></div>

<P>
You should now be able to build at least the DVI, HTML, PDF, and
    PostScript versions of the formatted documentation.

<P>

<DIV CLASS="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="7.2 Internal Tools"
  href="tools-internal.html"><img src='../icons/previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="7 Processing Tools"
  href="tools.html"><img src='../icons/up.png'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="8 Including Graphics"
  href="graphics.html"><img src='../icons/next.png'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Documenting Python</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='../icons/contents.png'
  border='0' height='32'  alt='Contents' width='32' /></A></td>
<td class='online-navigation'><img src='../icons/blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='../icons/blank.png'
  border='0' height='32'  alt='' width='32' /></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="tools-internal.html">7.2 Internal Tools</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="tools.html">7 Processing Tools</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="graphics.html">8 Including Graphics</A>
</div>
</div>
<hr />
<span class="release-info">Release 2.4.3, documentation updated on 29 March 2006.</span>
</DIV>
<!--End of Navigation Panel-->
<ADDRESS>
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
</ADDRESS>
</BODY>
</HTML>