This page describes how to install the cygwin tools you will need to compile, run, and submit programs in CS 101. These notes assume that you are installing on a Windows system.

Step 1: Go to http://cygwin.com/. Click the Install Cygwin tab in the left hand column and click the setup.exe to download the setup program. Run the setup program which you just downloaded.

You should see the following window:

resources/images/setup1.png

Click Next.

Step 2: You will see the "Choose Installation Type" window:

resources/images/setup2.png

Choose "Install from Internet" and click Next.

Step 3: You will see the "Choose Installation Directory" window:

resources/images/setup3.png

Keep the defaults (install to C:\cygwin, install for All Users.) Click Next.

Step 4: Next is the "Select Local Package Directory" window:

resources/images/setup4.png

Rather than accepting the default, create a directory within your Desktop directory, click Browse, and choose that directory as your local package directory. For example, I used:

resources/images/setup5.png

Click Next.

Step 5: Next is the "Select Connection Type" window:

resources/images/setup6.png

Choose "Direct Connection". Click Next.

Step 6: You should now see the "Choose Download Site(s)" window:

resources/images/setup7.png

You can choose any download site. An HTTP site might work better than an FTP site. Click Next.

Step 7: You will now see the "Select Packages" window:

resources/images/setup8.png

You will need to install the following packages:

Category Packages
Archive zip, unzip
Devel gcc-g++, libncurses-devel, make
Interpreters perl
Net curl, openssh

To choose a package, expand its category, then click on the word "Skip" to the left of the package name. The word "Skip" will be replaced by a version number. For example, after choosing the "curl" package in the "Net" category, my window looked like this:

resources/images/setup9.png

You may install additional packages if you would like to.

When you have selected the required packages, click Next. You will see a progress dialog. It may take a while for all of the packages to be downloaded and installed.

Step 8: You're done! You should see a window that looks like the following:

resources/images/setup10.png

Make sure that you add at least one icon (to the Desktop or Start Menu).

You can now start the Cygwin bash shell by clicking on the Cygwin icon on the Desktop or the Start->All Programs->Cygwin->Cywgin Bash Shell menu item.