← 返回命令列表

Linux command

cygcheck 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Generate full system

cygcheck -s

Check dependencies

cygcheck [program.exe]

Find which package

cygcheck -f [/usr/bin/bash.exe]

List files installed

cygcheck -l [coreutils]

Check for package problems

cygcheck -c

Show Cygwin version

cygcheck -V

Verbose dependency check

cygcheck -v [program.exe]

说明

cygcheck is a diagnostic utility for Cygwin, the Unix-like environment for Windows. It provides system information, checks executable dependencies, and manages package information. The system report (-s) is invaluable for troubleshooting Cygwin issues, collecting details about installed packages, DLL versions, mount points, environment variables, and Windows system information. This report is often requested when seeking support. Dependency checking helps identify missing DLLs that prevent programs from running. Package management queries help track file ownership and verify installation integrity.

参数

-s, --sysinfo
Generate comprehensive system information report.
-c _PACKAGE_, --check-setup
Check installed packages for problems.
-f _FILE_, --find-package
Find which package installed a file.
-l _PACKAGE_, --list-package
List files installed by a package.
-p _PATTERN_, --package-query
Search for packages by pattern.
-v, --verbose
Verbose output (show full paths).
-r, --registry
Include registry information in report.
-V, --version
Display version information.
-h, --help
Display help information.

FAQ

What is the cygcheck command used for?

cygcheck is a diagnostic utility for Cygwin, the Unix-like environment for Windows. It provides system information, checks executable dependencies, and manages package information. The system report (-s) is invaluable for troubleshooting Cygwin issues, collecting details about installed packages, DLL versions, mount points, environment variables, and Windows system information. This report is often requested when seeking support. Dependency checking helps identify missing DLLs that prevent programs from running. Package management queries help track file ownership and verify installation integrity.

How do I run a basic cygcheck example?

Run `cygcheck -s` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s, --sysinfo do in cygcheck?

Generate comprehensive system information report.