Cygwin64静默安装办法

Posted glc400

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cygwin64静默安装办法相关的知识,希望对你有一定的参考价值。

下载地址:

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:UsersLemonDownloads> .setup-x86_64.exe -h
PS C:UsersLemonDownloads> 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

  

以上是关于Cygwin64静默安装办法的主要内容,如果未能解决你的问题,请参考以下文章

Cygwin64 右键添加菜单, 在此处打开Cygwin64

inno setup静默安装的问题

你能在64位安装中运行32位Cygwin应用程序吗?

CentOS X64上64位Oracle 11gR2 静默安装

刚刚安装好cygwin,然后桌面上多了个cygwin64 terminal图标,打开却是下面的效果,求帮助

cygwin下安装NCL