Installation guide for Cygwin

This document presents the step by step process of installing cygwin with the following programs:

-          Emacs

-          GCC C compiler

-          GDB

-          DDD

-          Open ssh

 

Run >setup.exe

Choose “next”

1 copy.jpg

Select “Install from Internet”

2 copy.jpg

 

Root directory is where you will have your cygwin files, your home folder will also be within this folder.

Other options can be kept as default if you don’t have other preference.

3 copy.jpg

 

Local Package Directory is where you store your installation files. Downloaded packages will be stored in this folder before installation.

4 copy.jpg

 

Choose “Direct Connection”

5 copy.jpg

 

Choose “ftp://ftp.cise.ufl.edu”

Note: If you feel the connection quality is poor, you can choose another server. In most times CISE ftp should provide reasonable connection speed.

6 copy.jpg

Under “Editors”, choose “emacs” and “emacs-X11”

Note:  You should make sure both packages are selected. Selecting one may automatically include the other.

7 copy.jpg

Under “Devel”, choose “ddd”, “gcc-core:C compiler”, and “gdb”

8 copy.jpg

 

The selection is displayed here:

 

9 copy.jpg

 

Under “Net”, choose “openssh”, “openssl”

 

10 copy.jpg

 

Choose “next” until you hit “finish”.

Once you are finished installing, you need to locate “startxwin.bat” (See Note [2] below) to start the application (this is not the only way, but we strongly recommend you to do that).

It will be in “ROOTDIRECTORY \usr\X11R6\bin”.  You can create a shortcut to this file and double click it to start.

Notes:

[1] ROOTDIRECTORY is the installation root directory. See the window titled “Choose Installation Directory”, it is the 3rd window.

[2] Creating shortcut to the startxwin.bat  part is also shown in the following link on page 13:

http://www.cs.dartmouth.edu/~campbell/cs23/putty-cygwin-tutorial.pdf