[Home] [Downloads] [Search] [Help/forum]

How to install Cygwin

This page shows a step-by-step example of installing Cygwin - a version of Unix that runs under Windows. With it you can do many of the things that can be done with Linux under Windows. My example PC was running Windows NT 4, however it should work with minor differences under Windows 95/98/ME/2000/XP.

Requirements

I found the install required about 100 Mb to hold the downloaded files, plus a further 400 Mb for the uncompressed Cygwin directory. In other words, have at least 500 Mb free. You would also need extra disk space to actually do something useful (eg. compiling), so probably at least 600 Mb would be useful.

Steps

  1. Go to the site http://www.cygwin.com/ ...
  2. Click on the "install Cygwin now" button (circled) ...

    Cygwin web site - 39K

  3. Choose to run the program (setup.exe) from its current location ...

    Running setup.exe - 13K

  4. You may get a warning about a certificate - you can ignore that ...

    Certificate warning - 11K

  5. Click on Next to start the ball rolling ...

    Start installing - 9K

  6. Install from Internet ...

    Install from Internet - 9K

  7. Choose an install directory. I chose D:\Cygwin however the default of C:\Cygwin may be suitable, providing you have around 400 Mb free on C: ...

    Install directory - 9K

  8. Choose where the downloaded files are to go. I chose D:\Cygwin_Install because I had more disk space free on D: ...

    Downloaded files directory - 9K

  9. Select your connection type ...

    Connection type - 9K

  10. Choose a site for downloading from - preferably one near to you ...

    Choose site - 9K

  11. There will be a pause while it reads the available packages from this site - then you will see the ones it is offering you. To do compiles you need a few extras, so click on the "+Devel" tree (circled) ...

    Expand development branch - 9K

  12. Click (once) on the word "Skip" for each item in the Devel branch to select it (some will select others, so only click on them if they still show "Skip".

    I checked them all, however this made quite a big download. You may want to get a subset, and if that doesn't work, do it again to get some more. At the very least you would want:

    • binutils
    • gcc
    • gdb
    • make
    • mktemp

    There is more than a screenfull, so scroll down until you have done them all ...

    Select all development items - 9K

  13. I also chose the cygwin-doc under the "Doc" branch ...

    Select documentation - 9K

  14. I also chose some editors ...

    Select editors - 9K

  15. And some extra shells ...

    Choose shells - 9K

  16. When you have done selecting things, click Next and the downloading will start - this might take quite a while, depending on the speed of your Internet connection ...

    Downloading - 9K

  17. After everything is downloaded (ie. about 100 Mb) then it starts decompressing the files into your Cygwin directory - this can take quite a while also, maybe half an hour or more ...

    Installing - 9K

  18. This shows the size of my download directory ...

    Download directory size - 8K

  19. And this is the size of the Cygwin directory ...

    Cygwin directory size - 8K

  20. Create icons on the desktop and Start menu, and Finish up ...

    Create icons - 9K

  21. All done - you will probably need to restart Windows to use the latest files ...

    Installation complete - 2K

  22. Once you have done that you can double-click the "Cygwin" icon on your destktop to start up the Cygwin shell ...

    Cygwin icon - 1K


[Back] [Home]
Written by Nick Gammon - 5K

Comments to Gammon Software support

[Best viewed with any browser - 2K]    Internet Contents Rating Association (ICRA) - 2K    [Web site powered by FutureQuest.Net]

Page updated on Wednesday, 15 December 2004