下载地址:

http://www.cygwin.com/setup-x86_64.exe

静默安装办法:

.\setup-x86_64.exe --no-shortcuts --root D:\\Cygwin64 --packages gcc-core,gcc-g++,make,cmake,gdb,binutils --quiet-mode --upgrade-also --site http://mirrors.163.com/cygwin/

--no-shortcuts 禁止创建桌面和开始菜单快捷方式

--root D:\\Cygwin64 安装的根目录(D:\\Cygwin64为指定的安装目录)

--packages gcc-core,gcc-g++,make,cmake,gdb,binutils 指定安装的软件包,多个使用逗号分隔

--upgrade-also 更新已经安装的包

--site http://mirrors.163.com/cygwin/ 指定下载的镜像站

PS C:\Users\Lemon\Downloads> .\setup-x86_64.exe -h
PS C:\Users\Lemon\Downloads> Cygwin setup 2.897 Command Line Options: --allow-unsupported-windows Allow old, unsupported Windows versions
-a --arch Architecture to install (x86_64 or x86)
-C --categories Specify entire categories to install
-o --delete-orphans Remove orphaned packages
-A --disable-buggy-antivirus Disable known or suspected buggy anti virus
software packages during execution.
-D --download Download packages from internet only
-f --force-current Select the current version for all packages
-h --help Print help
-I --include-source Automatically install source for every
package installed
-i --ini-basename Use a different basename, e.g. "foo",
instead of "setup"
-U --keep-untrusted-keys Use untrusted keys and retain all
-L --local-install Install packages from local directory only
-l --local-package-dir Local package directory
-m --mirror-mode Skip package availability check when
installing from local directory (requires
local directory to be clean mirror!)
-B --no-admin Do not check for and enforce running as
Administrator
-d --no-desktop Disable creation of desktop shortcut
-r --no-replaceonreboot Disable replacing in-use files on next
reboot.
-n --no-shortcuts Disable creation of desktop and start menu
shortcuts
-N --no-startmenu Disable creation of start menu shortcut
-X --no-verify Don't verify setup.ini signatures
--no-version-check Suppress checking if a newer version of
setup is available
-O --only-site Do not download mirror list. Only use sites
specified with -s.
-M --package-manager Semi-attended chooser-only mode
-P --packages Specify packages to install
-p --proxy HTTP/FTP proxy (host:port)
-Y --prune-install Prune the installation to only the requested
packages
-K --pubkey URL of extra public key file (gpg format)
-q --quiet-mode Unattended setup mode
-c --remove-categories Specify categories to uninstall
-x --remove-packages Specify packages to uninstall
-R --root Root installation directory
-S --sexpr-pubkey Extra public key in s-expr format
-s --site Download site URL
-u --untrusted-keys Use untrusted saved extra keys
-g --upgrade-also Also upgrade installed packages
--user-agent User agent string for HTTP requests
-v --verbose Verbose output
-V --version Show version
-W --wait When elevating, wait for elevated child
process

  

最新文章

  1. LINQ系列:LINQ to DataSet的DataTable操作
  2. nodejs与javascript中的aes加密
  3. Java核心思想
  4. 【原创】我所理解的自动更新-APP发布与后台发布
  5. Solr页面查询各个字段参数解释
  6. D3.js 插入元素,删除元素
  7. 程序员书单_J2EE专题
  8. android:照片涂画功能实现过程及原理
  9. HDU 4237 The Rascal Triangle
  10. 理解CRC校验
  11. Xutils 源码解析【转】
  12. 如何用angularjs制作一个完整的表格之五__完整的案例
  13. 关于php判断中文字符的问题
  14. vj1011:记忆化搜索
  15. ansible实践4- 管理配置文件
  16. Redis Eval Script
  17. pyspider安装完启动报错【connect to scheduler rpc error: error(111, 'Connection refused')】
  18. java构造代码块详解
  19. ajax缓存和编码问题
  20. 炸!分享美团面试关于selenium的面试题

热门文章

  1. 【LeetCode】三数之和+四数之和(双指针)
  2. 高精度计算模板 -感谢acwing
  3. 线程基础知识14 ReentrantLock和ReentrantReadWriteLock
  4. 在Mariadb中创建数据库-九五小庞
  5. 2021级《JAVA语言程序设计》上机考试试题10
  6. 与TNF拮抗剂治疗AS临床和MRI疗效相关的血清生物标记物
  7. PostgreSQL事务隔离级别
  8. 一文吃透 Go 内置 RPC 原理
  9. [C#]为debug添加DebuggerDisplay属性
  10. docker 安装 jFrog