Cygwin installation process

xiaoxiao2021-03-06  16

1 2. CYGWIN installation 1.1 2.1. Cygwin is the Linux runtime that can be performed under Windows. I have installed Linux10, but I still need to return to Windows frequently in the process of use. Copy some files, too annoying So, or decide to get Cygwin, so it is more convenient to work under Windows. There are two ways to install Cygwin: one is to install directly online, which is downloaded by configuration, but the downloaded thing will be a lot, about 400M, and it takes longer. The second is to download a installation package in Macraigor, more than 60 M, and the download speed is very fast. The installation option is also simple. Then perform an online installation, you can install NCurses Libraries. I started to use the first method, I have been in a few days, I repeated many times, I always install it, and finally use the second method. 1.2 2.2. Download 1.2.1 2.2.1. Cygwin (2.0.0) See Document:

http://www.macraigor.com/full_gnu.htm

<

http://www.macraigor.com/full_gnu.htm

> 60m. Download speed is very fast, I use ADSL download speed to more than 70 K, more than usual download, but I downloaded in the middle of the night. :) 1.3 2.3. Installing the Cygwin 2.0 download from Macraigor can be directly installed, and the installation process is simple. However, it seems that one component NCURSS Libraries will report an error while Make MenuConfig, and the step of performing an online installation is required to add this component. 1.4 2.4. Online installation 1.4.1 2.4.1. Download Setup.exesee Document:

Www.cygwin.com

<

Outbind: //1/www.cygwin.com

> Login

Www.cygwin.com

There is an install cygwin now on the page. It is a setup.exe file, which can be opened directly. It is recommended to download it. Save to a directory, so you can download the file, it is convenient. 1.4.2 2.4.2. Sub category (SUB Category): ("Default" next to the subdirectory Until "install" ArchiveBaseDevel: including GCC, Make, etc. Libsnetdeshellsutils : Including a PWIP2 such as BZIP2 If you have installed Cygwin from Macraigor, you can choose to install the libncurses-wevel installed under the installation. You can choose a fast download address, I am using it.

mirrors.rcn.net

, Download speed is around 20K. The installation must be installed through the setup.exe provided by Cygwin, and can be performed step by step according to the installation prompt, providing through the Internet installation or local installation. It is recommended to download the entire installation package of the Cygwin to the local installation. If there is no special need, you can simply install the minimum number of packages in its default installation. It is recommended not to install to C: /. Cygwin's questions and answers can refer to Cygwin FAQ. 1.5 Setting 1.5.1 Batch File First before you have a concise cross-compiler, you will first set the Cygwin. Suppose Cygwin is installed in the e directory, go to the E: \Cygwin directory before opening the Cygwin window. In this directory, there is a file name Cygwin. Batch batch file, edit the file, add set cygwin = Title Ntea after the first line, because Cygwin's startup batch file needs to start UNIX file system simulation. After the modification is completed, exit after saving. 1.5.2 SH link runs Cygwin, entered in the root directory, CD bin mv sh.exe sh-original.exe ln -s bash.exe sh.exe is now customized to Cygwin's modification. (For the question, you can see a document given in that script, www.uclinux.org / pub / uclinux / archive / 8306.html, helpful, because this document has made a very detailed description of some places, Let's take a closer look, you can do it accordingly, but some steps can be implemented because of our current patches, you can do not have to modify it, automatically complete by the patch.

1.6 2.5. Run from the program group or desktop to start Cygwin. Enter: CD / LS can list the directory instructions OK.

转载请注明原文地址:https://www.9cbs.com/read-45571.html

New Post(0)