标签:
1 官方教程:
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.
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.
For Cygwin licensing or commercial support, please visit the Red Hat Cygwin Product site.
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 the Cygwin mailing list.
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
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.
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.
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.
The setup*.exe installer is designed to be easy for new users to understand while remaining flexible for the experienced. The volunteer development team is constantly working on setup*.exe; before requesting a new feature, check the wishlist in the README.
A: Yes and no. The setup*.exe program understands command-line arguments which allow you to control its behavior and choose individual packages to install. While this provides some functionality similar to such tools as apt-get or yumit is not as full-featured as those packages.
The basic reason for not having a more full-featured package manager is that such a program would need full access to all of Cygwin‘s POSIX functionality. That is, however, difficult to provide in a Cygwin-free environment, such as exists on first installation. Additionally, Windows does not easily allow overwriting of in-use executables so installing a new version of the Cygwin DLL while a package manager is using the DLL is problematic.
A: You do not want to do this! This will install an enormous amount of packages that you will never use, including debuginfo and source for every package.
Clicking on the "Default" label next to the "All" category to change it to "Install" will mark every Cygwin package for installation. Be advised that this will download and install tens of gigabytes to your computer.
1
在可以使用 Cygwin 建立通道之前,必须先正确安装它。
安装 Cygwin 最重要的注意事项是创建正确的 Unix 文件夹。Cygwin 的网站提供了完整详细的说明;下面是一个缩略版。
@ECHO OFF
SET MAKE_MODE=Unix
SET CYGWIN=notty
SET HOME=C:\unix\HOME\[your home directory name]
SET TERM=VT100
CHDIR C:\Unix\HOME\[your home directory name]
SET PATH=C:\Unix\BIN;C:\Unix\USR\LOCAL\BIN;C:\CYGWIN\BIN;%PATH%
BASH
Cygwin 提供了一些更深入的限定,如果需要,您可以进一步限定配置。如果您对 Unix 命令和文件结构熟悉,您会发现这很容易;如果您不熟悉,Cygwin 也非常宽容,您很快就可以掌握。
根据站点的配置方式,您可以使用本地生成的密钥或站点管理员设置的公共密钥,通过 SSH 通道访问 CVS。如果您对站点使用的方法不确定,请咨询站点管理员。
在本地生成密钥:
每次希望访问 CVS 存储库时,都需要运行 Cygwin 或其它 UNIX 外壳程序并使用以下命令登录:
ssh -x -2 -L 2401:localhost:2401 tunnel@[project.domain]
其中 [project.domain] 相当于 CVS 服务器的名称。
您将收到一条信息,指出“未找到主机密钥,是否确实要继续”。键入“yes”。需要键入整个单词。您将收到另一行内容,且光标移到窗口的左侧,并闪烁。可以最小化窗口,但不要关闭它。关闭窗口将使通道中断。
如果您使用系统管理员生成的公共密钥访问通道,系统会提示您输入密码。请向站点管理员或项目所有者索要密码。
注意:如果您生成了自己的密钥但系统仍提示您输入密码,则您的密钥可能尚未正确添加到服务器。如果确实如此,请与技术支持代表联系。
只要该窗口保持运行,通道就会一直运行,但发生网络错误或其它连接问题时除外。要停止通道,请按 ctrl-break。
https://www.open.collab.net/scdocs/ddSSHGuideCygwin.html.zh-cn
1
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
标签:
原文地址:http://www.cnblogs.com/xgqfrms/p/4999319.html