15

I can install a cygwin package when I first install cygwin, but is there something like:

cyginstall git

kind of like apt-get?

yazz.com
  • 6,743
  • 14
  • 37
  • 38

3 Answers3

19

You should be able to use setup.exe w/o the GUI:

setup.exe -q -n -N -d -R c:\cygwin -s http://yourFavoriteMirror \ 
-l c:\localPackageDir -P  <comma-separated list of packages to install>

This is from cygwin mailing list (and follow up post)

Dan Andreatta
  • 5,384
  • 2
  • 23
  • 14
13

This question was already asked here. Answer:

wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
chmod +x apt-cyg
mv apt-cyg /usr/local/bin/
apt-cyg install bc
hellomynameisjoel
  • 2,170
  • 1
  • 18
  • 23
2

You can run setup.exe again and add/remove package, as well as the first time ;)

Gk.
  • 708
  • 12
  • 20