So you have to close all Cygwin instances first and then you can use Cygwin’s native (which itself does the upgrade via “replace after reboot” method, when files are in use). There exists a lot of forks with some additional features.For example the kou1okada fork is one of improved versions. The only officially supported tool for downloading and updating Cygwin packages is the file you used for the initial install, although that can be invoked with command line arguments to help the process.: read package names from file --noupdate, -u : don't update from mirror --localdiskcache : Use local cache as source, if available. exit 1 fi function usage() function version() function findsetupexe() function findworkspace() function getsetup() function checkpackages() function apt-cyg-func-install() function main() main "[email protected]" I usually use the "download to local directory" option in the standard installer, and select the packages I want in a base installation.That downloads the packages I want but doesn't install, and I can copy that package directory to a network share or thumbdrive. 文件 “setup.ini” 不存在。Error updating setup.ini, reverting 或者Installing vim Found package vim –2013-08-11 – 正在解析主机 mirrors.163.com… Install cygwin Install wget and python wget 1.1 Edit the cygapt file: Change the default server to other than the one in it.There exists a couple of scripts, which can be used as simple package managers.
That is, however, difficult to provide in a Cygwin-free environment, such as exists on first installation.
When I attempt to download it the download gets stuck mid way though. $ apt-cyg install man --force Working directory is /cygdrive/c/archive/cygwin Mirror is ftp://ad.jp/pub/cygwin We are using the cache as package source. /bin/bash # apt-cyg: install tool for cygwin similar to debian apt-get # # Copyright (C) 2005-9, Stephen Jungels # Modified by Green Fox # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version.
Installing man Found package man DBG:pwd=[/cygdrive/c/archive/cygwin]pkg=[man]file=[man-1.6f-1bz2]mirror=[ftp://ad.jp/pub/cygwin]install=[release/man/ man-1.6f-1bz2] DBG:169:pwd=[/cygdrive/c/archive/cygwin/release/man]pkg=[man]file=[man-1.6f-1bz2]mirror=[ftp://ad.jp/pub/cygwin]insta ll=[release/man/man-1.6f-1bz2] Checking md5hash [9a34daa8d8dfbf9222035b4f1952ab1d] == [9a34daa8d8dfbf9222035b4f1952ab1d] Unpacking... # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Yes, it deals with "packages" or libraries, but it manages them on a per-project basis, installing them in a directory (e.g. Suppose: See the Basic usage chapter for more details on declaring dependencies. A few sensitive php settings and compile flags are also required, but when using the installer you will be warned about any incompatibilities.
To install packages from sources instead of simple zip archives, you will need git, svn, fossil or hg depending on how the package is version-controlled.