If you’ve ever used Opera in Linux, then you most likely installed it by manually downloading the install file.
Now I’m going to show you how to add the Opera repository so that it automatically updates when you check for normal updates in Linux.
There are some directions listed at deb.opera.com, but they don’t make it very clear in my opinion for Ubuntu.
-
Open: System -> Administration -> Software Sources -> Third-Party Software

-
Click Add, copy and paste the following
deb http://deb.opera.com/opera/ sid non-freeThis can be confusing if you’re using Ubuntu, however, I’m using Ubuntu Jaunty and the above source worked great for me.
*If you want to use the latest stable version of Opera, then the above line will be just fine. However, if you prefer to use Betas or Snapshots then you can replace the “/opera/” with “/opera-beta/” and “/opera-snapshot/” respectively.
*If you’re using Debian or maybe even an older version of Ubuntu then you may need to use a different release name than “sid” in the source above, so you can use any of the following: potato, woody, sarge, etch, lenny, sid
-
After adding the correct repository, you will need to add the repository key. You can do that by running the following line in a terminal window:
Debian users:
wget -O – http://deb.opera.com/archive.key | apt-key add -Ubuntu users:
sudo wget -O – http://deb.opera.com/archive.key | sudo apt-key add - -
Now, if you have any version(s) of Opera already installed, you will likely need to remove it:
sudo apt-get remove opera -
Now you need to update apt before Opera will be available via the newly added repository:
sudo apt-get update -
All that is left is to install Opera again:
sudo apt-get install opera
You may be wondering why you need to remove Opera only to install it again. This is because, the first time that it was installed, it was installed as a “local or obsolete” package and is not “maintained” by any package manager or update application. After you update apt and install Opera, it is maintained with the rest of the applications that you install and update directly through a package manager.
Related posts:
- Installing Pidgin in Linux from Source As many Linux users know by now, Gaim has been...
- Opera Tab Count in Conky (for Linux) Have you ever wanted to keep an eye on the...
- Opera 10: Remove ‘Click to activate’ on flash in Linux! I’ve been working with d.i.z. as he’s found a way...
- Identify Opera With Your Linux Distro! If you’ve ever noticed your user agent string before, then...
- Linux: Two Scripts to Help Debug Opera Are you an Opera user and a Linux user at...
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1) Gecko/20090622 Ubuntu/9.04 (jaunty) Shiretoko/3.5
I’m using ubunt 9.04. Which Debian version should I use? Or I should back up and ask, can a ubuntu 9.04 use one of the deb repos?
Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.00
@ubuntu904
Use “sid”. All recent Ubuntu versions will use “sid”.