0

I'm not a regular Cygwin user. I installed Cygwin and Cygwin64 for testing proposed patches. I tried to perform a git clone, but it failed with -bash: git: command not found. So I need to install Git, which should be a relatively simple operation.

Cygwin does not appear to supply documentation related to packages and their management:

$ man -k package
package: nothing appropriate.

In the terminal, I tried install git and cygwin install git. The former failed with install: missing destination file operand after ‘git’. The latter failed with -bash: cygwin: command not found. (For completeness, I also tried apt-get (Ubuntu), yum (Red Hat/Fedora), and pkg_add (BSDs) with the same results. I even tried just pkg and package with the same result).

What is the name of the Cygwin package manager?

7
  • 1
    sad face
    – Ramhound
    Jun 30, 2015 at 23:39
  • @jww Is Cygwin even considered a linux distribution though? ;)
    – Xupicor
    Jul 1, 2015 at 0:06
  • @jww - Cygwin isn't a Unix nor Linux shell. Its just a collection of tools....
    – Ramhound
    Jul 1, 2015 at 0:14
  • @Ramhound - forgive my ignorance. Are you claiming Cygwin is not providing the shell I am using (that icon they place on the desktop called Cygwin Terminal)?
    – jww
    Jul 1, 2015 at 11:14
  • @jww - I will bite. I actually am saying that Cgywin isn't a Unix or Linux shell. it is a Windows application which supports ported GNU tools, which runs in a shell with similar commands, Cygwin specifically is a terminal application for that capability and those tools. The Cygwin website itself describes Cgywin as the following "Cygwin is a distribution of popular GNU and other Open Source tools running on Microsoft Windows. The core part is the Cygwin library which provides the POSIX system calls and environment these programs expect." Proof.
    – Ramhound
    Jul 1, 2015 at 14:21

1 Answer 1

0

There is no default package manager, but there should be either an apt-cyg or a cyg-apt available to you as packaged by the installer.

2

Not the answer you're looking for? Browse other questions tagged or ask your own question.