What is the name of the Cygwin package manager?

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?

jww

Posted 2015-06-30T23:37:30.137

Reputation: 1

Question was closed 2015-06-30T23:53:22.770

1sad face – Ramhound – 2015-06-30T23:39:15.780

@jww Is Cygwin even considered a linux distribution though? ;) – Xupicor – 2015-07-01T00:06:43.743

@jww - Cygwin isn't a Unix nor Linux shell. Its just a collection of tools.... – Ramhound – 2015-07-01T00:14:31.350

@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 – 2015-07-01T11:14:32.680

@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 – 2015-07-01T14:21:37.747

The linked question isn't a duplicate. It answers a different question than that being asked in this question. The name of the Cygwin package manager is setup.exe. It's the same file you used to install Cygwin. It's used to install, remove, and downgrade packages. It can also be used to install the source for any packages. There isn't much documentation for it because Cygwin's package management is pretty simple and bare-bones.

– Starfish – 2016-02-14T22:20:41.530

@Starfish - Thanks. The question's handling is due to a fellow named Ramhound. He and I have had problem for a couple of years now. Just about anytime I ask a question, he follows me casting down votes and providing argumentative comments. I've observed his behavior with others, and its probably best to avoid him with comments like "The linked question isn't a duplicate...". – jww – 2016-02-14T23:38:16.270

Answers

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.

oldmud0

Posted 2015-06-30T23:37:30.137

Reputation: 3 858

It looks like its apt-cyg, but its broken for me. I can't get it to install anything due to MD5 checksum issues. Shrug... Others have the same problem: md5sum failure results in packages not being installed.

– jww – 2015-07-01T11:09:21.413

That's not correct. setup.exe is the default package manager.

– Starfish – 2016-02-14T22:21:49.747