In cygwin, how do I:
- List all installed packages
- List files belonging to a package
- Tell which package a file belongs to
- Install a new package
- Uninstall a package
- Get info about an installed package (deps, version, etc)
In cygwin, how do I:
cygcheck --check-setup --dump-only
--dump-only
the command will take few minutes to complete because it will TEST all packages. You should see an OK for each package if everything is fine ;)For package bash
do:
cygcheck --list-package bash
For file /usr/bin/bash.exe
cygcheck --find-package /usr/bin/bash.exe
Considering you already run setup GUI and have valid mirror(s), local package directory and other options set, you could run to install abook
:
/path/to/setup-1.7.exe --quiet-mode --download --local-install --packages abook
/path/to/setup-1.7.exe --help
As far as I know, only the GUI supports this option.
@
and deps preceded by requires:
. If, for any reason, the mirror you are using is outdated, setup displays a warning message when downloading info.I have found apt-cyg useful for command line installation of packages without updating all my other packages but it does not everything you need to do.
Here is the best fork right now for apt-cyg. https://github.com/kou1okada/apt-cyg
Run setup.exe. It will give you a GUI with checkboxes for various packages.
It is now possible to uninstall packages as well:
/path/to/setup.exe -x yourpackagename
Allow me to introduce you to the Cygwin FAQ
- List installed
- How do I uninstall individual packages
- How do I uninstall individual packages
- Get info about an installed package
Run Cygwin Setup
- List files belonging to a package
- Tell which package a file belongs to
Search at http://cygwin.com/packages/