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