Friday, December 07, 2007

cyg-apt: apt for Cygwin

If you are a fan of debian distros, you must be a fan of apt-get ( I think fedora uses something called yum).
Many a times we would like the same functionality on cygwin, and this is served by the very useful utility cyg-apt!

You can download the utility from
http://download.linuxaudio.org/lilypond/binaries/cygwin/cyg-apt-gub
or
from http://www.lilypond.org/~janneke/software/cyg-apt

Save this as cyg-apt in your /bin directory or whereever. You might have to manually modify the official mirror in the file to some other cygwin directory if you have issues with the default mirror (I had).

Another mirror you might want to use is
http://mirror.mcs.anl.gov/cygwin

Once you have this installed, you can type
cyg-apt install XXX
similar to apt-get!

cyg-apt setup will bring up the default cygwin setup GUI
cyg-apt upddate will update the repos.

You have to make the cyg-apt file executable for all this to work of course!

No comments: