I installed the latest version of Cygwin with a number of packages. I soon realised that I need more packages (such as wget, etc) and I coudln't find a way to install the new packages without running the set up again and reinstall everything from scratch.

What I'm looking for is the equivalent of apt-get on Cygwin (if such a thing exists).

Cheers, Mulone

link|improve this question

67% accept rate
feedback

migrated from stackoverflow.com Jun 30 '11 at 15:14

This question came from our site for professional and enthusiast programmers.

4 Answers

up vote 4 down vote accepted

There is no package management in Cygwin outside of the setup program. The setup only applies updates to your current installation, it does not overwrite packages that what you already have (unless you have explicitly said so).

link|improve this answer
feedback

This belongs on Superuser, but...

Re-run the setup program again. This is how you update Cygwin as well.

link|improve this answer
feedback

There is a package called apt-cyg that may be what you are looking for. It appears to be based upon apt-get.

apt-cyg is a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to apt-get.

An example command would be

$ apt-cyg install yourPackage
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.