Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

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

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

You must log in to answer this question.