Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

So I'm making my own document of codes to run after a fresh install of Ubuntu 13.10 and I want to try and keep everything in the command line (as opposed to having to open a browser to download files).

So I've got

sudo dpkg -i google-chrome*.deb

for downloading google chrome and wanted to make something similar for Opera, so I have this link to download the opera browser .deb install file

and have tried a variety of different things with wget but I can't seem to get it to download the .deb file. I would really like to do this from the command line instead of opening a browser to download the file.


share|improve this question
It downloaded fine for me. You didn't describe what happened when you tried it, did you get an error? could you add that to your question? – roadmr Jan 10 '14 at 18:12
up vote 1 down vote accepted


wget -Oopera.deb ''

works for me. The -Oopera.deb option is requried otherwise the filename will be index.html?id=35889&location=360&nothanks=yes&sub=marine. It downloads it into a file called opera.deb

share|improve this answer

Well for me it worked.

But you can get the direct link if you want, the problem is how to have always the latest version.

I got the direct link using firebug in firefox. You need to install the add-on and then enable the net panel: enter image description here

Then you past the link you gave us in the browser and you will see all the details in firebug, from which you only need to copy the link (look at the one that has the correct size).

enter image description here

The result being:

share|improve this answer

Your Answer


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.