title: how to install apt-cyg for Cygwin?
body: <p>taken form <a href="http://www.contrib.andrew.cmu.edu/~adbenson/setup.html" rel="noreferrer">here</a> - explaining how to install <code>apt-cyg</code> </p>
  
  <blockquote>
    <p>Install apt-cyg</p>
    
    <p>You may have heard of programs like apt-get (Ubuntu), yum/dnf (Fedora), pacman (Arch), or brew (Mac OS X)... .. .The analogous program for Cygwin is called apt-cyg.</p>
    
    <p>Installing apt-cyg is simple. First, save this file: <a href="https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg" rel="noreferrer">https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg</a> . Then, use File Explorer to find the file in your Downloads folder and move it into C:\cygwin\bin. Then, open Cygwin and enter "chmod +x /bin/apt-cyg". This tells Cygwin that you want to be able to execute the apt-cyg command. Lastly, enter "apt-cyg mirror <a href="ftp://sourceware.org/pub/cygwin" rel="noreferrer">ftp://sourceware.org/pub/cygwin</a>". This sets up apt-cyg to use the official repository when downloading programs. </p>
  </blockquote>
  
  <p>Sounds simple enough. But i have an error.</p>
  
  <p>This tutorial does not specify <strong>with what name and what extension to save that file</strong>. </p>
  
  <p>I save it as <code>apt-cyg.txt</code>, and move it into <code>C:\cygwin64\bin</code></p>
  
  <p>This does not work. When running <code>apt-cyg</code>, I get the error: <code>bad interpreter: No such file or directory</code></p>
  
  <p><a href="https://i.stack.imgur.com/k3r0N.png" rel="noreferrer"><img src="https://i.stack.imgur.com/k3r0N.png" alt="how to install apt-cyg for Cygwin? - error "></a></p>
  
  <p>My guess is that extension or filenames are bad. What name and extension should i use? </p>
  
  <p>Are there any more steps to this process?</p>
  
  <p><strong>Note:</strong> I just installed cygwin on a windows 10. Please don't assume i have  other tools already installed. </p>