From:http://www.cnblogs.com/killerlegend/p/3904478.html
Author:killerlegend
date:2014.8.11
First of all, just want to say a word, not easy ah, not easy AH! It's not easy! It took a day and a half to finish the installation!
The most pregnant feeling is this picture:
Open the interface is good ha! as follows:
5G Full package installation, let me from 6:20 to start to install to 12 o'clock noon, I dare not move the computer to open other programs, afraid of the impact of installation, so the morning has been that book look algorithm ... Sometimes worry about a computer screen, see how many installed, the most worry is installed to these parts of textlive-collection-xxx, the slow, the most exciting I was in the running stage from 30% brush to run to 90%, that feeling cool burst, And then met the textlive-collection-xxx has been waiting for two hours, I went, really a bit unbearable. After the installation, I looked at the installation directory and startled me:
The goods accounted for 20G of space, fortunately I left the D-disk enough space! Otherwise.. and have to tinker with ....
Install to the end there are some unpleasant, there is a small error:
This can be solved:
cd/etc/postinstall/. /-cygwin-post-install. sh. Done . /bash. SH
Some points to note:
1: Please go to http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/before installation Download Libusb-win32-devel-filter-1.2.6.0.exe, then install all drivers
2: Your offline package installation directory should look like this D:\cygwin_packages\cygwin_packages\http%3a%2f%2fmirror.its.uidaho.edu%2fpub%2fcygwin%2f\ X86_64\release
The middle of the \cygwin_packages\http%3a%2f%2fmirror.its.uidaho.edu%2fpub%2fcygwin%2f\ is particularly important, and then all of the installation packages are placed under release, Install using Setup-x86_64.exe on the Cygwin website, and be aware that you want to run with administrator privileges.
3: After the installation is complete, add the D:\Cygwin\bin to the PATH environment variable.
4:mintty.exe is a console window, probably the abbreviation of mini terminal type writer (this is a personal hobby, it has to give it what meaning, just good memory.) haha
5: The last point is, I wish you a smooth installation! ^-^
Add: If you have previously installed Cygwin, make sure to clear it up by deleting all the installation files, and then using Dll-fixer,tuneup or other registry optimizer tools to clean up the registry thoroughly! And then the Cygwin installation, If you want to CYGWIN-5GB completely offline to install the package classmate, give me a message ....