Cygwin is a Linux-like environment for Windows. It consists of two parts:
- A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
- A collection of tools which provide Linux look and feel.
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.
Note that the official support for Windows 95, Windows 98, and Windows Me will be discontinued with the next major version (1.7.0) of Cygwin.
安装Cygwin比较简单,到Cygwin的官方主页下载setup.exe运行,
Next->选Install from Internet,
Next->填写Root Directory,如X:/cygwin,下面两个选择分别选“All Users”和“DOS”;
Next->填写Local Package Directory,如X:/cygwin/ftp;
Next->选Direct Connection;
Next->选一个较快的ftp;
Next->到了关键步骤,如果仅想安装基本系统,直接Next;如果想完全安装,点击All旁边的旋转状图标,将Default切换至Install;如果和我一样,仅想在命令行下写写程序,则只要将 gcc、make等开发工具选上,还有openssh等;选好后,
Next->开始下载,Take a coffee break。回来后,
Next->选择需不需要创建快捷方式。->END
点击快捷方式或X:/cygwin/cygwin.bat打开控制台,如果是域用户,按照提示makepasswd和makegroup即可。
这样基本上就大功告成了,除了丑陋的命令行窗口。解决办法就是使用putty或者SecureCRT或者Poderosa。
因为putty功能比较简单,而SecureCRT是收费的,所以选择Poderosa。
具体如何配置,下回分解~