Where can I download an offline installer of Cygwin?

DownloadCygwinOffline

Download Problem Overview


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.

Download Solutions


Solution 1 - Download

Here are instructions assuming you want to install Cygwin on a computer with no Internet connection. I assume that you have access to another computer with an Internet connection. Start on the connected computer:

  • Get the Cygwin install program ("setup.exe"). Direct download URL: x86 or x86_64.

  • When the setup asks "Choose a download source", choose Download Without Installing

  • Go through the rest of the setup (choose download directory, mirrors, software packages you want, etc)

  • Now you have a Cygwin repository right there on your hard disk. Copy this directory, along with the "setup.exe" program, over to your target computer (it does not need to be on a network).

  • On the target computer, run "setup.exe"

  • When the setup asks "Choose a download source", choose Install From Local Directory

  • Complete setup as usual. No Internet access is required.

Solution 2 - Download

  1. Pick a mirror server closest to you from http://cygwin.com/mirrors.html

Choose any FTP or HTTP mirror.

  1. Download the whole mirror maintaining exact file tree structure of the cygwin directory in the mirror.

    Edit: How to download the whole mirror?

    wget -m <ftp-mirror-url>
    
  2. Execute setup.exe & choose source as local directory and browse to the release directory.

Now you have the Offline Cygwin Installer.

Update: Use Babun. It's based on cygwin and more user friendly. Get Babun

Update 2: Use cmder with git for windows.

Solution 3 - Download

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.

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.)

Method 2: make an offline install zip file for 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. Download Cygwin installer

  2. pick packages you want installed from gui.

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

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

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

Solution 4 - Download

Not a direct answer to your question, but you can get the most commonly used utilities from http://www.mingw.org/ without having to jump through the hoops with that horrible Cygwin installer.

Here is a slightly more informative link http://sourceforge.net/apps/mediawiki/cobcurses/index.php?title=Install-MSYS.

Solution 5 - Download

Perhaps this description helps you in your task.

http://www.cygwin.com/ml/cygwin/2003-09/msg00041.html

Solution 6 - Download

There is another solution to creating an offline Cygwin installer, which is using 'pmcyg' (http://www.sourceforge.net/projects/pmcyg). If you give pmcyg a list of Cygwin packages you'd like to have available, it will automatically download all of them, their dependencies, and the setup.exe into a folder that you can then burn onto a cdrom.

Solution 7 - Download

Install Babun instead -> https://babun.github.io/index.html It contains Cygwin ;)

Solution 8 - Download

You can download from below link. ftp://ftp.comtrol.com/dev_mstr/sdk/other/1800136.tar.gz After downloading just extract the image and install.

Solution 9 - Download

may this post can solve your problem

see Full Installation Answer on that: https://stackoverflow.com/questions/21230657/what-is-the-current-full-install-size-of-cygwin

Solution 10 - Download

I maintained rsync copy of the repository in the past.

It wasn't that big. To reduce the sync size I used rsync option --exclude (like I don't need texlive or ruby and they are not essential for base system).

Check:

Than you host this mirror via HTTP/FTP for local or organization installs:

setup.exe -p emacs --site http://localhost/cygwin

Solution 11 - Download

I'm not a big fan of Cygwin. It is good if you have some Unix code that requires a full POSIX system, I suppose. Even then, using it renders your programs GPL (due to the GPLed DLL), unless you pay Red Hat for a different license.

Most people should be using MinGW (and MSYS) instead. This gives you the Unix shell and utilities (even compilers, if you want them) without the purposely infectious DLL. Most of the folks using GNU compilers on Windows are using MinGW (although some don't realise it).

Just as importantly for your purposes, you can download the parts separately, rather than use the re-downloading installer.

The SourceForge download page is here. I'd suggest starting with the MSYS Base System package, which will give you the coreutils, Bash, make, tar, etc. If there's other stuff you need, you can pick and choose from the list of packages.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSrikanthView Question on Stackoverflow
Solution 1 - DownloadPaulView Answer on Stackoverflow
Solution 2 - DownloadabhisekpView Answer on Stackoverflow
Solution 3 - DownloadDave WebbView Answer on Stackoverflow
Solution 4 - DownloadanonView Answer on Stackoverflow
Solution 5 - DownloadTobias LangnerView Answer on Stackoverflow
Solution 6 - DownloadRWPView Answer on Stackoverflow
Solution 7 - DownloadzzartView Answer on Stackoverflow
Solution 8 - DownloadKiran.vanamView Answer on Stackoverflow
Solution 9 - DownloadIlPADlIView Answer on Stackoverflow
Solution 10 - DownloadgavenkoaView Answer on Stackoverflow
Solution 11 - DownloadT.E.D.View Answer on Stackoverflow