Cygwin Package Management

Опубликовано: 17 Март 2026
на канале: Michael Chu
3,665
36

Three methods to handle package management in Cygwin, and how to get information about packages and tools.

Topic Index and External Links
------------------------------------------------
0:00 Intro
0:50 Using Cygwin's Setup Programme
Available from the Cygwin website: https://cygwin.com/install.html
StackOverflow link: http://stackoverflow.com/questions/92...

4:42 Running Cygwin's Setup Programme from the Command Line
Install: setup-x86_64.exe --quiet-mode --packages "packages"
Remove: setup-x86_64.exe --quiet-mode --remove-packages "packages"
Upgrade: add --upgrade-also
Suggestion: add "&& exit" so the terminal closes ASAP
Full listing of command-line options: https://cygwin.com/faq-nochunks.html#...
Sample batch file: https://github.com/michaelgchu/Cygwin...

9:34 Using apt-cyg
Install: apt-cyg install "packages"
Remove : apt-cyg remove "packages"
Installation instructions at: https://github.com/transcode-open/apt...

11:24 Package and Tool Information
12:00 Identify the package that an installed tool is part of
cygcheck --find-package "filePath"
apt-cyg search "name"
13:00 List contents of a package
cygcheck --list-package "packageName"
apt-cyg listfiles "packageName"
14:00 Searching online for a tool you want to install
cygcheck --package-query "filepathPattern"
apt-cyg searchall "filename"

15:48 Checking DLL requirements for an executable binary
cygcheck "binaryName"