在哪里可以下载Cygwin的离线安装程序? [英] Where can I download an offline installer of Cygwin?

查看:209
本文介绍了在哪里可以下载Cygwin的离线安装程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个离线安装程序,大多数常用的实用程序。不知何故默认安装程序困惑我所有的包选择。我安装Cygwin,但在安装后找不到 diff 实用程序。

I need an offline installer with most of the utilities commonly needed. Somehow the default installer confuses me with all its package selection. I installed Cygwin but I can't find the diff utility after the installation.

推荐答案

如果你想要的是UNIX命令行工具,我建议不要安装Cygwin。 Cygwin想把你的Windows PC变成一个UNIX工作站,这就是为什么它喜欢安装所有的软件包。

If all you want is the UNIX command line tools I'd suggest not installing Cygwin. Cygwin wants to turn your Windows PC into a UNIX Workstation which is why it likes to install all its packages.

看看 GnuWin32 。它是命令行工具的Windows端口,没有别的。这是 GnuWin32安装程序 diff.exe 。有所有常见工具的离线安装程序

Have a look at GnuWin32 instead. It's Windows ports of the command line tools and nothing else. Here is the installer for the GnuWin32 diff.exe. There are offline installers for all the common tools.

(您要求离线安装程序,但是如果您以后需要安装程序,则会出现下载并安装一切的工具。)

(You asked for offline installers but in case you ever want one later there is a tool which will download and install everything for you.)

方法2:为cygwin创建一个脱机安装zip文件。

Method 2: make an offline install zip file for cygwin.

不要搞乱保存软件包,因为cygwin安装的目录

Don't mess with saving packages because the installed directory for cygwin can be canned in a zip file and expanded whenever you need it on any computer.


  1. 下载Cygwin安装程序

  1. Download Cygwin installer

选择您要从gui安装的软件包。

pick packages you want installed from gui.

点击安装并等待很长时间下载。

hit install and wait a really long time for everything to download.

将C:\Cygwin文件夹压缩。现在你有你的离线zip文件
在任何机器上安装cygwin。

zip up the C:\Cygwin folder. Now you have your offline zip file for installing cygwin on any machine.

将此文件解压缩到您喜欢的任何计算机上。在Windows控制面板下设置cmd.exe路径指向cygwin bin目录。

Unzip this file on whatever computer you like. set cmd.exe paths appropriately to point to cygwin bin directory under windows control panel.

这篇关于在哪里可以下载Cygwin的离线安装程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆