-1

i am not able to use wget in my ubuntu system.. whenever i try to download anything for example,

sudo wget http://www.cyberciti.biz/here/lsst.tar.gz

what i get is

–2009-09-18 10:15:15– hxxp://www.cyberciti.biz/here/lsst.tar.gz
Resolving http://www.cyberciti.biz... 74.86.48.99
Connecting to http://www.cyberciti.biz|74.86.48.99|:80… ^C

The above is same for any website. i am able to do sudo apt-get install and this is the evidence that i am connecting to the internet. But for wget case i am not able to. Is there any config settings that i need to do, like configuring the wgetrc file? Please help me...

migrated from stackoverflow.com Sep 20 '09 at 13:45

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

  • Any errors occur, or does it just hang? – Chazadanga Sep 20 '09 at 13:32
  • btw: why do you use sudo when calling wget? you don't need any superuser rights for downloading do you? – Kai Sep 20 '09 at 13:36
  • He may saving it to a dir where he needs Sufi to write to. – Josh Hunt Sep 20 '09 at 14:45
4

Try using cURL:

curl -O http://www.cyberciti.biz/here/lsst.tar.gz

As far as I know cURL is not installed in Ubuntu by default, so you will need to:

sudo apt-get install curl

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.