当前位置:首页 > Windows程序 > 正文

cygwin 的正确安装教程

2021-03-22 Windows程序

1 官方教程:

This is the home of the Cygwin project

Cygwin is :


Cygwin is not:

a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.

a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, starting with Windows XP SP3.

For more information see the FAQ.

Current Cygwin DLL version

The most recent version of the Cygwin DLL is 2.3.0. Install it by running setup-x86.exe (32-bit installation) orsetup-x86_64.exe (64-bit installation).

Use the setup program to perform a fresh install or to update an existing installation.

Note that individual packages in the distribution are updated separately from the DLL so the Cygwin DLL version is not useful as a general Cygwin release number.

Commercial Support for Cygwin

For Cygwin licensing or commercial support, please visit the Red Hat Cygwin Product site.

Community Support for Cygwin

For all non-commercial Cygwin-related questions and observations, please check the resources available at this site, such as the FAQ, the User‘s Guide and the mailing list archives. If you‘ve exhausted these resources then please send email to an appropriate mailing list . This includes observations about web pages, setup questions, questions about where to find things, questions about why things are done a certain way, questions about the color preferences of Cygwin developers, questions about the meaning of the number 42, etc.

Please send notification of technical problems (bad html, broken links) concerning these web pages to .

Please do not send personal email with "quick questions" to individual Cygwin contributors. The Cygwin mailing lists are the places for all questions. Really. I mean it.

1

1

https://cygwin.com/install.html

Installing and Updating Cygwin Packages

Installing and Updating Cygwin for 32-bit versions of Windows

Run setup-x86.exe any time you want to update or install a Cygwin package for 32-bit windows. The signature forsetup-x86.exe can be used to verify the validity of this binary using this public key.

Installing and Updating Cygwin for 64-bit versions of Windows

Run setup-x86_64.exe any time you want to update or install a Cygwin package for 64-bit windows. The signature forsetup-x86_64.exe can be used to verify the validity of this binary using this public key.

General installation notes

When installing packages for the first time, setup*.exe does not install every package. Only the minimal base packages from the Cygwin distribution are installed by default, which takes up about 100 MB.

Clicking on categories and packages in the setup*.exe package installation screen allows you to select what is installed or updated.

Individual packages like bash, gcc, less, etc. are released independently of the Cygwin DLL, so the Cygwin DLL version is not useful as a general Cygwin release number. The setup*.exe utility tracks the versions of all installed components and provides the mechanism for installing or updating everything available from this site for Cygwin.

Once you‘ve installed your desired subset of the Cygwin distribution, setup*.exe will remember what you selected so rerunning the program will update your system with any new package releases.

On Windows Vista and later, setup*.exe will check by default if it runs with administrative privileges and, if not, will try to elevate the process. If you want to avoid this behaviour and install under an unprivileged account just for your own usage, run setup*.exe with the --no-admin option.

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/65437.html