search and install packages via bash?

Marco Atzeri
Thu Jul 8 14:46:06 GMT 2021

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 -P mksh

try without the
    -l "$CYGWIN_ROOT/.pkg-cache"

More information about the Cygwin mailing list