Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.

I 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.

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)

Assuming that it is a complete emulation of bash (which i am doubting), you could also try:

firstly see if the package is installed:

sudo -s wget

If it's not installed:

sudo apt-get install wget

I hope one of these solutions works, I'd hedge my bets with the first 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.