Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
upgrading and installing packages through the cygwin command line?

I am new with Cygwin terminal. I am currently experiencing missing / unincluded packages such as the sudo command, svn command and other basic packages. My problem goes like this: how can I install the missing packages I am aiming? In what way will I determine if what package is the command I am looking for is included? Thanks in advance.

share|improve this question

marked as duplicate by Sathya Jul 14 '12 at 17:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer

By default, Cygwin only installs a partial subset of all available packages. To find the package that installs the command you want, execute:

cygcheck -p COMMAND

where COMMAND can be any word or a regular expression that is matched against the description of every package. This requires Internet access to work.

Once you know which new packages you want to install, simply run the install again (i.e., pretend you are installing for the first time), and when the installer displays the "Select Packages" screen, click on View once to switch to Full view. This lists every available package in alphabetical order, showing which are installed and which aren't. The ones that are not installed have the word Skip next to them. Scroll through the list, and click on Skip next to a package name to select that package to be installed — the Skip will change to a version number to indicate the package has been selected for install. When you have selected everything you want, click Next to continue the install.

You can do this anytime and you should to get updates to packages. The updates are automatically selected if they are available.

share|improve this answer
    
Also, you can search for packages at cygwin.com/packages. –  Fran Jul 14 '12 at 17:30
add comment

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