Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I open MSYS from the OSGEO4W and type wget and I get 'command not found'. I'm using Windows 7.

enter image description here

Does anyone know how to solve this?

Thank you!

share|improve this question

2 Answers 2

Unless you absolutely need to use "wget", you may want to have look at "curl" which is included.

curl --help

share|improve this answer

I'm not using msys, but I imagine that the package is not installed. Assuming that it is a complete emulation of bash (which i am doubting), you could try:

firstly see if the package is installed:

sudo -s wget

If it's not installed:

sudo apt-get install wget

Failing that, I found this tutorial for installing wget manually: http://www.transana.org/developers/setup/AudioExtract/MSYS-Win.htm (see the second half in particular)

I also found this site (http://ingar.satgnu.net/devenv/mingw32/base.html) that seems to suggest you can install wget through the command line with the command

mingw-get install msys-wget

although i get the impression this would only work on full blown mingw commandline.

I hope one of these solutions works, I'd hedge my bets with the second one.

share|improve this answer
1  
apt-get is not part of bash. MSYS comes with a complete bash (which is a shell) but no package manager (such as APT, which includes apt-get). –  dancek Apr 22 '13 at 12:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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