Opera is one of the bests web browsers, and you can download it for your Linux Distro from its <a href=”http://www.opera.com/download/?platform=linux” target=”blank’>website</a>
But if you would like to be able to upgrade your opera using apt with your Debian or Ubuntu you better use repositories. Debian
You have to edit your /etc/apt/sources.list, and add this line.
For Etch
deb http://deb.opera.com/opera etch non-free
For Sid
deb http://deb.opera.com/opera sid non-free
For Lenny
deb http://deb.opera.com/opera lenny non-free
Now you need to import the gpg-key.
gpg –keyserver subkeys.pgp.net –recv-key 6A423791 gpg –fingerprint 6A423791 gpg –armor –export 6A423791| apt-key add -
and the update de database
apt-get update
Ubuntu
Just like with Debian you first need to edit the file
/etc/apt/sources.list
And add one of these two lines depending on which source you prefer, canonical or opera.
for canonical source
deb http://archive.canonical.com/ubuntu feisty-commercial main or deb http://archive.canonical.com/ubuntu edgy-commercial main or deb http://archive.canonical.com/ubuntu dapper-commercial main
depending if you are using Dapper, Edgy or Feisty
for opera source
deb http://deb.opera.com/opera/ stable non-free
Install the gpg-key
sudo gpg –keyserver subkeys.pgp.net –recv-key 6A423791 sudo gpg –fingerprint 6A423791 sudo gpg –armor –export 6A423791| sudo apt-key add -
update the database
sudo apt-get update
Debian or Ubuntu
Now you have your source installed and your database updated you can install opera.
sudo apt-get install opera