Download Cygwin For Windows 10

Cygwin has a nice setup program that downloads and installsthe necessary Cygwin packages for you.

Install Cygwin, which gives us a Unix-like environment running on Windows. Install a set of Cygwin packages required for building GCC. From within Cygwin, download the GCC source code, build and install it. Test the new GCC compiler in C14 mode using the -std=c14 option. How to compile redis 5 for windows 10 using cygwin gcc. This is for testing redis on windows 10 only. Not for Production!! Use it on your own risk, your anti virus may detect it as a virus its not! Motivation: I was looking for redis windows build to test some redis c client and to my surprise i havent found one so quickly i complied one. Cygwin generally used to run Linux tools like ssh, SCP, bash, X11, GCC in the Windows environment. Cygwin support following operating systems. Windows XP; Windows Vista; Windows 7; Windows 8; Windows 10; Windows Server 2003; Windows Server 2008; Windows Server 2012; Windows Server 2016; Installation Download Installation Files. We will download.

Download cygwin for windows 10 installer

Open the Cygwin, http://cygwin.com/ page in your webbrowser

Click on the'setup-x86_64.exe' (64-bit installation) or'setup-x86.exe' (32-bit installation) linkto download the appropriate setup program from the primary Cygwin server.Save it to the directory that you would like to store the downloaded packages in(e.g. c:download). Do notsave to c:cygwin, as that is the defaultdirectory for the extraction and installation of the downloaded packages.

Run the Cygwin setup program and you will see the welcomescreen:

Click Next to proceed to the nextscreen.

Windows

Choose, Install from Internet, this willstill save the package files to your download directory so that youcan install Cygwin on any number of machines:

Click Next to proceed to the nextscreen.

The default Install Root is c:cygwin which should be fine for mostinstallations. Leave Default Text File Type asUNIX. Leave Install For set to All unless you lack local administrative privileges.

Click Next to proceed to the nextscreen.

Local Package Directory should default tothe directory that you ran the setup program from:

Click Next to proceed to the nextscreen.

Download Cygwin For Windows 10 Installer

Choose your proxy setup, or, just choose DirectConnection if no proxy is needed:

Click Next to proceed to the nextscreen.

Select your nearest mirror for downloading:

Click Next to proceed to the next screen;setup will download a list of available packages as it moves to thenext screen.

On the next screen you will select the packages that will bedownloaded and installed. A listing of the Cygwin/X packages isgiven below; a listing of the general Cygwin packages would bebeyond the scope of this document.

Cygwin/X packages are located in the X11category.

  • xorg-server (required, the Cygwin/X X Server)

  • xinit (required, scripts for starting the X server: xinit, startx, startwin (and a shortcuton the Start Menu to run it), startxdmcp.bat )

  • xorg-docs (optional, man pages)

  • xlaunch (optional, a wizard for starting X sessions)

  • You may also select any X client programs you wantto use, and any fonts you would like to have available.

  • You may also want to ensure thatthe opensshpackage is selected if you wish to usessh connections to run remote X clients.

  • You may also want to ensure thatthe inetutils or rshpackages are selected if you wish to use telnet orrsh connections to run remote X clients. (not recommended)

You can run setup again in the future to add more packages.

Click Next to begin the download process,you may want to try another mirror if you see a'Connecting' message on this screen for a long period oftime:

After the packages are downloaded, setup will automaticallybegin to install them:

I highly recommend allowing Cygwin Setup to create Desktop andStart Menu icons for you; these icons simply launch abash shell:

Download Cygwin For Windows 10

Click Finish to close the setup program.

(optional but recommended) Install the cygserver service. See the instructions in the Section called Shared memory support in Chapter 3).

You have now successfully installed Cygwin/X.

PrevHomeNextWindowing modeUsing Cygwin/X

This guide was tested under Windows 10. It should be work with other supported Windows Versions too.

Install Cygwin (without admin rights)¶

This documentation is based on Oliver Doepner's IT blog. Thank you for your work Oliver.

  1. Download setup-x86_64.exe.
  2. Open command line window (WIN+R and type cmd).
  3. Go to the download directory, e. g.:
  4. Run setup-x86_64.exe with the --no-admin option:
  5. During installation select the wget package.
  6. After installation open a Cygwin Terminal via Windows desktop shortcut.
  7. If you are behind an internet proxy (for example on a company environment) create /etc/profile.d/proxy.sh for internet access:
  8. Now you need a file called /usr/local/bin/cyg-get. Downlaod it viaAlternatively, you can also create the file yourself.
  9. Make the script executable:
  10. On the Windows desktop create a copy of the Cygwin terminal shortcut, rename it Cygwin Setup.
  11. Edit the shortcut target, replace:with
  12. Now test it and execute the desktop shortcut or run cyg-get from the Cygwin commandprompt.

Cygwin Package Management¶

With the created script /usr/local/bin/cyg-get you can do package management on command line like in a linux environment. Alternatively, you could also use the pure command-line tool apt-cyg.

Install packages¶

Remove packages¶

Download Cygwin For Windows 10 32-bit

Update all packages¶

Download Cygwin For Windows 10

Note

Download Cygwin For Windows 10 64

The update option will first download a new version of setup-x86_64.exe and after that all packages will be updated.