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.

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

share|improve this question
    
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. –  David Pearce Sep 20 '09 at 14:45
add comment

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

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

1 Answer

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
share|improve this answer
add comment

Your Answer

 
discard

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