title: Error while installing bedtools via cygwin commands: fatal error: zlib.h: No such file or directory
body: <p>I'm trying to install the <a href="http://bedtools.readthedocs.io/en/latest/content/installation.html" rel="nofollow noreferrer">bedtools</a> v2.27.0 via Cygwin. Here are the commands I've tried:</p>
  
  <pre><code>$ wget https://github.com/arq5x/bedtools2/releases/download/v2.27.0/bedtools-2.27.0.tar.gz
  $ tar -zxvf bedtools-2.27.0.tar.gz
  $ cd bedtools2
  $ make
  </code></pre>
  
  <p>when running the last command, I get the following error:</p>
  
  <pre><code>*fatal error: zlib.h: No such file or directory  
  *#include &lt;zlib.h&gt;*  
  ^  
  compilation terminated.  
  make[1]: *** [Makefile:37: ../../../obj//FileRecordMgr.o] Error 1  
  make: *** [Makefile:187: src/utils/FileRecordTools] Error 2*  
  </code></pre>
  
  <p>I tried downloading the <code>libz</code> package using the following command:</p>
  
  <pre><code>$ apt-cyg install libz-dev
  </code></pre>
  
  <p>but it didn't work. I got the following error:</p>
  
  <pre><code>Unable to locate package libz-dev
  </code></pre>
  
  <p>Note that I'm using Cygwin terminal on windows (64-bit machine). Your help is highly appreciated.</p>