How do I install Opera for Linux in Ubuntu?

I have downloaded Opera for Linux 64-bit version, but when I try to install via Ubuntu Software Center it tells me it is the wrong architecture. What can I do?


Solution 1:

I'd recommend installing Opera using the Opera repository. That way it will install the version that is needed and run the updates automatically.

To add the Opera repository, run the following in the terminal:

sudo add-apt-repository "deb https://deb.opera.com/opera/ stable non-free"
wget -O - https://deb.opera.com/archive.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install opera-stable

(if you prefer beta releases, use deb https://deb.opera.com/opera-beta/ stable non-free in the first line above).

For more details see the guide on manual setup of the Opera apt repository.