Cygwin installation tutorial illustration _ Step by Step teach you how to install and set cygwin

Source: Internet
Author: User
Cygwin is a unix simulated environment on windows platform. It is mainly used to re-compile the software on the posix system to windows. I believe many of my friends want to install cygwin, but I don't know how to install cygwin. Because they are all in English, it is a pain for people who don't catch a cold in English, the following green tea editor will share with you the installation steps of cygwin.

Cygwin is a unix simulated environment on windows platform. It is mainly used to re-compile the software on the posix system to windows. I believe many of my friends want to install cygwin, but I don't know how to install cygwin. Because they are all in English, it is a pain for people who don't catch a cold in English, the following green tea editor will share with you the installation steps of cygwin.

 

First download the cygwin installer. After the download is complete, run the setup.exe program. The installation screen is displayed. Click "Next" to display the installation mode dialog box, as shown in:
 

We can see three installation modes:

Install from Internet. This mode is directly installed from the Internet, which is suitable for fast network speed;

Download Without Installing. In this mode, only the Cygwin package is downloaded from the Internet, but not installed;

Install from Local Directory. This mode corresponds to the second mode above. When your Cygwin package has been downloaded to the Local machine, Cygwin can be installed locally in this mode.

 

Select the appropriate installation mode from the above three modes. Here we select the first installation mode, which is directly installed on the Internet. Of course, when downloading the Cygwin component, it is also saved to the local device, so that you can install it again later. Select and click "Next"

 

In this step, select the installation directory of Cygwin and set some parameters. The default installation path is C:/cygwin/. You can also select your own installation directory and then select "Next ",

 

In this step, you can select the location where the Cygwin package downloaded from the internet is saved during the installation process. After selecting it, click "Next"

 

In this step, select the connection method, select your connection method, and click Next. The Select Download Site dialog box is displayed, as shown in

 

In this step, you need to pay attention, in order to get the fastest download speed, we first in the list to find the location of the Cygwin China image: http://www.cygwin.cn, if found, select this address; if you cannot find this address, enter the address of the Chinese Image: http: // www.cygwin.cn/pub/and click "add#". Then, select" China. After the selection is complete, click "Next"

 

In this step, we select the component package to be downloaded. To enable Cygwin to compile the program, we need to install the gcc compiler. By default, gcc will not be installed, we need to select it for installation. To install gcc, click the "Devel" branch in the component list. There are many components under this branch. What we need is:

Binutils

Gcc

Gcc-mingw

Gdb

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.