Installing Opera 11 on Ubuntu 10.04

After setting up my Ubuntu 10.04 desktop through a VirtualBox appliance on my Macbook Pro 15″, I installed a couple of pieces of software through the Ubuntu Software Center which is under the Applications menu item. This consisted of Chromium – Google Chrome browser, VLC player, and Adobe Flash player.

I wanted to test out Opera on Ubuntu, but Opera does not appear in the list of available software.

I found these instructions on the Ubuntu help site, but wanted to clarify them here.

The reason is that I found the instructions at http://deb.opera.com/ to be confusing. Mainly, I didn’t know exactly which apt source I should add.

This assumes a fresh install of Ubuntu 10.04 desktop with all software updated – meaning that you have run the following which updates all software, security updates, and patches that have come out since the VirtualBox appliance image or CD/DVD that you used to install Ubuntu was created. This should be the first thing you do on any Ubuntu server or desktop install.

$ sudo apt-get update
$ sudo apt-get upgrade

Add this to the list of software sources:
System\Administration\Software sources, and then click the Other Software Tab and Add

deb http://deb.opera.com/opera/ stable non-free

NOTE: if you prefer to do things on the command line, the GUI menu item for this stores the sources in /etc/apt/sources.list. So you can manually edit that file to add your new source.

Issue this command from a terminal window to add the Opera GPG key

$ wget -qO - http://deb.opera.com/archive.key | sudo apt-key add -

Now that you have the source defined and the GPG key installed, you can install the software with these two commands.

$ sudo apt-get update
$ sudo apt-get install opera

Now you can go to the menu and start Opera.
Applications\Internet\Opera

Note, you can also install Opera by downloading it from another browser like you can with Windows or Mac OS X, and then running the downloaded installer.

By installing it through aptitude (sudo apt-get install), it will be upgraded automatically any time there is a newer stable release via Ubuntu’s normal software update mechanism, which by default runs daily. This is the Ubuntu way of doing things.

UPDATE: I found that after I installed this and ran sudo apt-get update or updated the Ubuntu software through Update Manager that I received the following error:

W: GPG error: http://deb.opera.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2019EA84E7532C8

I fixed this by running this command which I found at this source

$ gpg --keyserver pgpkeys.mit.edu --recv-key A2019EA84E7532C8

Leave a Reply

Consulting

I'm currently available
for Lotus Notes / Domino consulting engagements.

LinkedIn

Connect with me:

LinkedIn

Advertisement
Advertisement
Categories