I'm a blind computer user that uses Cygwin. The installation program isn't very accessible, upgrading, installing, and removing specific packages is quite hard to do since you have to use simulated mouse keystrokes to click and scroll. Is there a way to either manually install/upgrade packages or install/upgrade them through the commandline?
|
Install apt-cyg:
After that you'll be able to install say the package "lynx" including dependencies by running:
|
|||
|
|
|
The official apt-cyg installation method is:
Two steps is better than three. ;-) Then:
By the way, to make it work you will need to install wget, tar, gawk and bzip2 in order to use apt-cyg. Apart from wget, the others come with default Cygwin installation. |
|||
|
|
|
Cygwin's setup.exe, at least in the 1.7 "beta" release, has an "unattended" mode built-in. Drag and drop your setup.exe shortcut into a command window (or otherwise prepare to run it with switches), and add -q for unattended mode followed by -P and comma-separated package names. So, for me, this installed lynx: "C:\Documents and Settings\martind\Desktop\setup-1.7.exe" -q -P lynx |
|||
|
|
Since some people correctly stated that Create a function like this in your mintty bash shell:
Now you can use it almost like wget:
|
|||
|
|
|
Old question, but for others that google and got here: Official setup.exe has command line arguments which allowed me to prepare simple *.bat script - just put following line in e.g. "install-pkg.bat" and put that file into your root directory (e.g. C:\cygwin):
You need to download and put http://www.cygwin.com/setup.exe into the same directory. Now all you have to do to install package is:
Positive: official setup.exe, should always work, for any package. Negative: current (june/2011) official setup.exe requires administrator rights even though it actually does not need one (e.g. root directory outside system folders). |
|||
|
|
Inspired by user17633 and peenut
This will install cURL, git, and make, with no shortcuts in quiet mode. |
||||
|
|
|
I found two 'apt like' package managers for cygwin. One is a python script called cyg-apt which you can download from http://www.lilypond.org/~janneke/software/cyg-apt and the other is apt-cyg which you can find at http://code.google.com/p/apt-cyg/ |
|||
|
|