Search code examples
windowscygwin

apt-get not working in Cygwin


I'm something of a Cygwin newbie, so that might be the problem, but I'm trying to install a package using apt-get and it's telling me there's no such command. I installed it on Windows 7.

The best I got from searching other questions here and across the net was that you need to install something specific (or run the setup file to update) when initially installing, but it's not clear to me what I need to install or run or whatever.

How do I install or update my cygwin to be able to use apt-get or, alternatively, how would I install packages with the basic, default installation of Cygwin that I already have?

Thank you.


Solution

  • You can use this : apt-cyg

    It works just like apt-get in terms of command line arguments, but you will be using apt-cyg instead.