public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Dale Lobb <Dale.Lobb@bryanhealth.org>
To: 'JEROME GALLIERE' <jerome.galliere@atos.net>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: RE: EXTERNAL SENDER: offline installation of cygwin is impossible
Date: Mon, 26 Sep 2022 15:46:45 +0000	[thread overview]
Message-ID: <df387610d0b645128805257b3e7547f4@bryanhealth.org> (raw)
In-Reply-To: <AS8PR02MB866452FE8E1B39692A098D2D8B529@AS8PR02MB8664.eurprd02.prod.outlook.com>

  This works for me to make a local installation repository:

  All of the following assumes you have a working cygwin install on a machine that has internet access.

1. Create a Cygwin install directory and cd into it.  Download the latest Cygwin installer to this directory:

# mkdir Cygwin
# cd Cygwin
# wget --no-check-certificate https://www.cygwin.com/setup-x86_64.exe

2. Create an exclusions file.  This file should exclude any file types and whatever else you do not want in the new local repository. The following excludes source code and debug symbols:

# echo *-src.tar.*>  rsync_copy.exclusions
# echo *-debuginfo*>> rsync_copy.exclusions

3. Create a local repository mirror directory with syntax that matches one of the methods used for accessing an internet based Cygwin repository.  This should be under your Cygwin install directory.  Cd into the new directory. E.g.:

# mkdir ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
# cd ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f

4. Use the rsync protocol (Actual rsync, not ssh) to download the data to your new local repository:

# rsync -av --progress rsync://mirrors.kernel.org/sourceware/cygwin/unsupported ./
# rsync -av --delete --exclude-from=../rsync_copy.exclusions --progress rsync://mirrors.kernel.org/sourceware/cygwin/noarch  ./
# rsync -av --delete --exclude-from=../rsync_copy.exclusions --progress rsync://mirrors.kernel.org/sourceware/cygwin/x86_64  ./

5. Copy the entire Cygwin tree you just created to a CD ISO or flash drive.  You now have a portable Cygwin installation.

Best Regards,

Dale Lobb


> -----Original Message-----
> From: Cygwin <cygwin-bounces+dale.lobb=bryanhealth.org@cygwin.com>
> On Behalf Of JEROME GALLIERE via Cygwin
> Sent: Monday, September 26, 2022 3:31 AM
> To: cygwin@cygwin.com
> Subject: EXTERNAL SENDER: offline installation of cygwin is impossible
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender.
>
>
> Hello,
>
>
>
> I need to install cygwin on some machine not connected to internet so I
> did everything I found over the internet on the subject.
>
> But despite I "download without installing" ALL packages from a normal
> machine (I got almost 20G) despite I transfert that to the non connected
> machines when trying to "Install from local directory" install it is just
> telling: "nothing to install/update" I tried any options and still the same.
>
> Does that really works recently? I asked recently because any articles I
> found on subject are years ago...
>
> Jérôme
>
> Ce message et toutes les pièces jointes (ci-après le "message") sont établis
> à l’intention exclusive des destinataires désignés. Il contient des
> informations confidentielles et pouvant être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de détruire le message. Toute utilisation
> de ce message non conforme à sa destination, toute diffusion ou toute
> publication, totale ou partielle, est interdite, sauf autorisation expresse de
> l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de
> son acheminement, Atos (et ses filiales) décline(nt) toute responsabilité
> au titre de son contenu. Bien que ce message ait fait l’objet d’un
> traitement anti-virus lors de son envoi, l’émetteur ne peut garantir
> l’absence totale de logiciels malveillants dans son contenu et ne pourrait
> être tenu pour responsable des dommages engendrés par la transmission
> de l’un d’eux.
>
> This message and any attachments (the "message") are intended solely for
> the addressee(s). It contains confidential information, that may be
> privileged. If you receive this message in error, please notify the sender
> immediately and delete the message. Any use of the message in violation
> of its purpose, any dissemination or disclosure, either wholly or partially is
> strictly prohibited, unless it has been explicitly authorized by the sender.
> As its integrity cannot be secured on the internet, Atos and its subsidiaries
> decline any liability for the content of this message. Although the sender
> endeavors to maintain a computer virus-free network, the sender does
> not warrant that this transmission is virus-free and will not be liable for
> any damages resulting from any virus transmitted.
>
> --
> Problem reports:
> https://urldefense.com/v3/__https://cygwin.com/problems.html__;!!PI4dZ
> uVR!lRiD-
> jvIGag0KyqZ8FVrkWA_Br0opC6trO8MH5VfX65x9E2tJg3ttKmRhhEkfqGmEro
> aVfv85tUSnl5j$
> FAQ:
> https://urldefense.com/v3/__https://cygwin.com/faq/__;!!PI4dZuVR!lRiD-
> jvIGag0KyqZ8FVrkWA_Br0opC6trO8MH5VfX65x9E2tJg3ttKmRhhEkfqGmEro
> aVfv85kmpsgbB$
> Documentation:
> https://urldefense.com/v3/__https://cygwin.com/docs.html__;!!PI4dZuVR!
> lRiD-
> jvIGag0KyqZ8FVrkWA_Br0opC6trO8MH5VfX65x9E2tJg3ttKmRhhEkfqGmEro
> aVfv85iwQgVfF$
> Unsubscribe info:
> https://urldefense.com/v3/__https://cygwin.com/ml/*unsubscribe-
> simple__;Iw!!PI4dZuVR!lRiD-
> jvIGag0KyqZ8FVrkWA_Br0opC6trO8MH5VfX65x9E2tJg3ttKmRhhEkfqGmEro
> aVfv85lcqniI9$
>
> ________________________________
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,
> is for the sole use of the intended recipients and may contain confidential
> and privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.

________________________________

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

       reply	other threads:[~2022-09-26 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AS8PR02MB866452FE8E1B39692A098D2D8B529@AS8PR02MB8664.eurprd02.prod.outlook.com>
2022-09-26 15:46 ` Dale Lobb [this message]
2022-09-26 15:57   ` Dale Lobb
2022-09-27 18:07   ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df387610d0b645128805257b3e7547f4@bryanhealth.org \
    --to=dale.lobb@bryanhealth.org \
    --cc=cygwin@cygwin.com \
    --cc=jerome.galliere@atos.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).