Can I put Cygwin on a DVD for offline installation?

Related to Server Fault issue Need help installing Cygwin on DVD for offline installation :


I am trying to put the whole Cygwin on a DVD, so I can use it with me for offline installation on a computer that does not have a network connection. I downloaded setup.exe , placed "download without installation" and selected "Current version", and under "Everyone" I selected "Install".

After he downloaded all this, I burned it to DVD.

Now when I try to install this thing, it reports some missing dependencies and throws a lot of "NULL" errors (and I mean "LOT").

Where am I wrong? I guess what I'm trying to do (put it on a DVD) using this technique?


Just to notice. I am not trying to create a live Cygwin drive, just install the installer on the DVD to install it on the hard drive.


+4
source share
3 answers

The easiest way to do this is to do the following:

1) Run the program Cygwin setup.exe

2) Select "Download without installation"

3) When prompted, specify "Local Package Directory" - this should be different from your root directory specified in the previous step.

4) Select all the packages you need

5) Let the download continue

Now you need to put the entire directory of the local package on your CD, including the parent. So, if you installed the local package directory in c: \ temp \ CygPack, copy the CygPack directory to your CD without changing anything inside it. Then:

1) Run the program Cygwin setup.exe

2) Select "Install from local directory"

3) Select the package directory (CygPack)

4) Continue the installation

The most important part of this is to change nothing in the package directory and select the same top level that you used at boot time. The installer expects to find directories / files in a specific layout.

+5
source

Now there is a tool called "pmcyg" to create a standalone standalone Cygwin distribution from a user-provided list of packages. The tool will download all the selected packages along with any one of them depending on them, and the Cygwin installer to create a directory tree that can be directly burned to DVD. pmcyg and is available through SourceForge.net .

+4
source

Are you sure you can! The first link I found: Cygwin Offline Install

0
source

Source: https://habr.com/ru/post/1285697/


All Articles