7

Installed Cygwin a few years ago for things like grep, git and basically anything that works well in the bash commandline. installed the Bash on Ubuntu on Windows 10 program recently and it's basically a Linux distro operating on top of windows 10. It does everything that I used to use Cygwin for.

Maybe I don't know Cygwin well enough, but at the moment I don't see any reason to keep it installed on my system. Does Cygwin have any advantages over Bash on Ubuntu on Windows?

  • 2
    You are asking an opinion, as such everyone one has a different view and not exact answer exists. see as example discussion on cygwin.com/ml/cygwin/2016-08/msg00570.html – matzeri Sep 1 '16 at 16:49
  • @matzeri Maybe the question was formulated badly. Basically, I am wondering what the advantages are of Cygwin over 'Bash on Ubuntu on Window' program. There are plenty of similar questions, like the classic 'programming language 1 vs programming language 2' type questions. From your link, I could make out that 'Bash on Ubuntu on Windows' is like a Linux VM, while Cygwin is more of a native approach. – oddRaven Sep 1 '16 at 18:49
9

There are some practical advantages of Cygwin at this time: (1)you can execute .exe files; (2)you can access files which are prohibited to WSL/Bash due to Windows 10 security.

  • 2
    Also cygwin toolchain will build you a windows executable, whereas bash toolchaing will build you an linux executable. And sometimes the resulting linux executable (depending on how your make process is defined) won't run on WSL properly. – Andrew Savinykh Nov 12 '16 at 21:09
  • Do the above remarks still hold true? I have heard that one can get around each of these now... – ylluminate Dec 12 '17 at 19:08
  • 2
    Main reason for me is to build windows executables so this is a perfect answer. Also, I highly recommend setting up your cygwin with this article: guysherman.com/2013/11/02/my-ultimate-cygwin-setup – Salvador Valencia Feb 1 '18 at 0:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.