Download the program
http://www.cygwin.com/
installation program
After the download is complete, run the Setup.exe program and the installation screen appears.
Directly point to "next", the Installation Mode dialog box appears as shown in:
There are three types of installation modes that can be seen here:
- Install from the Internet, this mode is installed directly from the Internet, suitable for fast speed situation;
- Download without installing, this mode only downloads the Cygwin component package from the Internet, but does not install;
- Install from local Directory, this mode corresponds to the second mode above, and when your Cygwin component package has been downloaded locally, you can use this mode to install Cygwin locally.
Choose from the above three modes suitable for your installation mode, here we choose the first installation mode, directly from the Internet installation, of course, while downloading, Cygwin components are also saved to the local, so that later can be installed again. When selected, click "Next"
This step selects the installation directory for the Cygwin, as well as some parameter settings. The default installation location is C:\cygwin\, you can also choose your own installation directory, and then select "Next"
This step we can select the installation process from the Internet Download Cygwin component package saved location, after selecting, click "Next"
This step select the way to connect, select your connection, and then click Next, the Select Download Site dialog box appears, as shown in
Select the site in the list, choose Finish, click "Next", select the component package to download the installation
In order for us to install the Cygwin to compile the program, we need to install the GCC compiler, by default, GCC will not be installed, we need to select it to install. To install GCC, we use the mouse to click on the "Devel" branch in the component list, where there are many components that we need:
Binutils
Gcc
Gcc-mingw
Gdb
Mouse click on the front of the component of the loop button, the build date will appear, we choose the latest version of the installation, is selected after the four categories of components:
After the selection, we choose the next step, enter the installation process, as shown in
The time of installation depends on the components you select and the network conditions. After the installation is complete, the installer prompts you to create a Cygwin icon on the desktop, etc.
Click Finish to exit the Setup program.