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 hxxp://www.cyberciti.biz... 74.86.48.99
Connecting to hxxp://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...

link|improve this question
Any errors occur, or does it just hang? – Chazadanga Sep 20 '09 at 13:32
3  
Does it really say "hxxp"?? – innaM Sep 20 '09 at 13:47
feedback

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

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

2 Answers

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
link|improve this answer
feedback

btw: why do you use sudo when calling wget? you don't need any superuser rights for downloading do you?

link|improve this answer
He may saving it to a dir where he needs Sufi to write to. – David Pearce Sep 20 '09 at 14:45
feedback

Your Answer

 
or
required, but never shown