From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id C58DF386197D for ; Thu, 8 Jul 2021 14:46:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C58DF386197D Received: by mail-wm1-x329.google.com with SMTP id g10so4272953wmh.2 for ; Thu, 08 Jul 2021 07:46:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3/kvpD7YOO7Osq/eAV0ibfzosS7YzGiLGFOgIiMNtg4=; b=lbcLOx8a4NRN2WCy5LXeh83GMQzgqurdCH0FiqdwH/V/8QQrYZmRRjhK+52t4e2reL tuw4xwZwU5ulEVZmifGAOoiyB1vr1bTt1FDvfxVl2cXE8pYAbIGLw9BTrpCisFv/0PR7 veWIPJMqfNkipJobawN4xGAYinBJPBNZLQ2N8QZRE2WT4+mg06a1uncR1pwDeHCZuo+p EhNr/T3aCpQtrbHm9AinmQnBobBlbCM5Brxni/WxAu0qd0RdQHaL0SDXv4Ie8vvWt3/d VizTvCWFr8sBwy1J9X0S/4k5SLVb4a8VMwCTQiYKjeteunt+oCP5inikDTx1HQ4gFITy u2hQ== X-Gm-Message-State: AOAM5319u5ujJw30JGgoPRD5OzV7Jf9SDEUrFFnA90vRhnDBTkndg45v UWx8XSQk99k6lbUsswVQyrWjghfkJKPllw== X-Google-Smtp-Source: ABdhPJzDlZybsylsVySu4bPFye5mTlq0sbEngK4Z9Ybbk3oTtnMGixf8zzrXcXDI5KRM46kxBLzM/Q== X-Received: by 2002:a7b:cc08:: with SMTP id f8mr33658371wmh.58.1625755568851; Thu, 08 Jul 2021 07:46:08 -0700 (PDT) Received: from ?IPv6:2003:cc:9f18:1ce2:804:930e:faaf:b1? (p200300cc9f181ce20804930efaaf00b1.dip0.t-ipconnect.de. [2003:cc:9f18:1ce2:804:930e:faaf:b1]) by smtp.gmail.com with ESMTPSA id j16sm2375914wrw.62.2021.07.08.07.46.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jul 2021 07:46:08 -0700 (PDT) Subject: Re: search and install packages via bash? To: cygwin@cygwin.com References: <20210708084556.GA7359@tik.uni-stuttgart.de> <20210708135324.GA20639@tik.uni-stuttgart.de> From: Marco Atzeri Message-ID: Date: Thu, 8 Jul 2021 16:46:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210708135324.GA20639@tik.uni-stuttgart.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2021 14:46:11 -0000 On 08.07.2021 15:53, Ulli Horlacher wrote: > On Thu 2021-07-08 (13:13), Jon Turney wrote: >> On 08/07/2021 09:45, Ulli Horlacher wrote: >> >>> Is it possible from an interactive bash to search for cygwin packages (by >>> substring match) and install them? >>> >>> I tried "/setup-x86_64.exe -h" but cannot see any options for it. >> >> This feature doesn't exist (yet). >> >> You could possibly build something equivalent using 'cygcheck -p' and >> then processing it's output > > This is the easy part, but how do I install a package via bash? > I tried it this way: > > > W10dev:/usr/local: /setup-x86_64.exe -M -B -R "$CYGWIN_ROOT" -l "$CYGWIN_ROOT/.pkg-cache" -s https://ftp.fau.de/cygwin -P mksh try without the -l "$CYGWIN_ROOT/.pkg-cache"