Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having some problems using cygwin. I am trying to use the dos2unix utility and cygwin is throwing -bash: dos2unix: command not found When I go back into the installer and look through the packages I can't even find dos2unix, yet when I look at cygwin's package list it is clearly there.

Any help would be much appreciated!

share|improve this question
up vote 19 down vote accepted

You should find dos2unix in the category Utils, Base, or Text. It's easiest to use the search function. If the package is not listed at all, try to use a different mirror.

If you installed this package while your cygwin terminal is still open, do a rehash (depends on you shell) or simply start a new terminal.

enter image description here

share|improve this answer
I tried a different mirror and it looks like the one I was previously downloading from simply didn't provide all of the packages. Thanks! – Nolski Jun 26 '13 at 19:05
it is now in "text" rather than in Utils. – user307279 Mar 12 '14 at 22:58
@user307279 : Thanks, I included it in my answer. With my current setup.exe the dos2unix is located in Base, so it might differ, which version one is using. – mpy Mar 13 '14 at 18:18

I had a similar problem that was due to me being extra stupid. In my case, I have both 32 and 64 bits builds of Cygwin installed. I had installed "dos2unix" on the 32 bit version, but not installed it on the 64 bit version. I couldn't understand why the installer seemed to work, but I still couldn't run it!

Advice - don't install both versions of Cygwin. :)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .