Apt-get doesn't work in Cygwin
I'm something of a Cygwin newbie so this might be a problem, but I'm trying to install a package using apt-get
and it tells me there is no such command. I installed it on Windows 7.
The best thing I got from looking for other questions here and on the net was that on the initial install, you need to install something specific (or run the setup file to update), but it's not clear to me what I need to install or run or something else.
How do I install or update my cygwin to be able to use apt-get
, or alternatively, how do I install the packages with the default base Cygwin installation I already have?
Thank.
You can use this: apt-cyg
It works the same way as apt-get
in terms of command line arguments, but you will use instead apt-cyg
.
Refer https://github.com/transcode-open/apt-cyg This helped me. To install the apt-cyg package.
Official Cygwin installer setup.exe . This is the "correct" way to install Cygwin packages. There's a project called cyg-apt , but it's not officially part of Cygwin.