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.
No. The only officially supported tool for downloading and updating Cygwin packages is the setup.exe file you used for the initial install, although that can be invoked with command line arguments to help the process.
Installing apt-cyg is simple. First, save this file: https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg . Then, use File Explorer to find the file in your Downloads folder and move it into C:\cygwin\bin. Then, open Cygwin and enter "chmod +x /bin/apt-cyg".
Click next to complete the installation and run wget using the Cygwin Terminal or Cygwin64 Terminal (if you have installed the 64-bit version). As of Windows 10 (version 1803), if you need a HTTP client, curl is now installed by default. On PowerShell, wget is also an alias for Invoke-WebRequest.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With