How to install Git for Cygwin?

In the world of Cygwin, there is really no such thing as only installing a package AS you are installing Cygwin. Cygwin was inherently designed with a setup.exe to be run multiple times when necessary. There are thousands of packages available in the Cygwin repo mirrors. From what you are saying, it sounds as if … Read more

printf not printing to screen

Like @thejh said your stream seems to be buffered. Data is not yet written to the controlled sequence. Instead of fiddling with the buffer setting you could call fflush after each write to profit from the buffer and still enforce the desired behavior/display explicitly.

How can I change my Cygwin home folder after installation?

Starting with Cygwin 1.7.34, the recommended way to do this is to add a custom db_home setting to /etc/nsswitch.conf. A common wish when doing this is to make your Cygwin home directory equal to your Windows user profile directory. This setting will do that: Or, equivalently: You need to use the latter form if you … Read more

sudo command not found on Cygwin

Cygwin is not a full Linux distribution. Therefore you don’t have sudo or the Debian/Ubuntu package manager apt-get. There is a number of packages available from the Cygwin repository: http://cygwin.com/packages/ You have to chose these packages during setup.

how to uninstall MinGW and make cygwin ‘make’ as deafult make program with gcc 3.8.1

Answer 1: if you have used an installer, uninstall it through program manager Remove your MinGW folder (eg. C:/MinGW) Make sure there’s no MinGW path left in PATH environment variable If you haven’t used an installer, you can skip 1., but if you have, you should check 2. and 3. manually. Answer 2: Do you use an IDE? If yes you can specify your … Read more