0
I've just downloaded and installed Cygwin on Windows 7. It seems to have installed successfully, with the C:\Cygwin64
folder comprising 1.2GB of data when the installation folder I installed it from was just under 300MB. However, clicking the desktop shortcut opens mintty.exe
, which then displays the error:
Failed to run '/bin/bash': No such file or directory
This is despite the fact I installed all of the base files, of which bash
was supposedly part of - and even if it wasn't, the installer later showed it as a required package and installed it itself. So does anyone have any idea what's happening here? This might be my fourth attempt in the last day trying to get a successful install of Cygwin working; I'm starting to think I'm just not meant to have it.
Navigate to
C:\Cygwin64
, do you see there a filecygwin.bat
? Try to double click on it and let us know what happened – Alex – 2017-01-29T05:24:34.213The .bat file was there, but clicking it made
cmd
flash for a fraction of a second and did nothing else. Still, I've managed to sort this now, as detailed in my answer. Thanks anyway, @Alex. – Hashim – 2017-01-29T05:55:59.630In your case, where a batch file closes too fast, you can always edit the .bat by adding a
PAUSE
as a last command. (Sometimes the batch is more complex, containingif, elseif, else
branches, so the end of the batch might be somewhere inbetween. In those cases you would need to add aPAUSE
within the conditions) – PythoNic – 2020-01-15T17:03:40.210