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

Ubuntu Doc page says this:

It is advisable that you add the Opera GPG key.

wget -qO - | sudo apt-key add -

Where do I add that?

I want to take the advice but I don't know what part of software center to add gpg keys to.

share|improve this question
I believe that is a one line command to enter into terminal – Mateo May 5 '13 at 13:55
.msi in Ubuntu is called .deb. – Alvar May 5 '13 at 17:12
As a side note, adding keys you fetch over non-HTTPS breaks any security that signing packages added. Wherever possible, you should download keys over a secure channel (https://). – user304335 Jul 10 '14 at 18:00
up vote 34 down vote accepted

This a a one line command to enter in terminal, What is a terminal and how do I open and use it?

To use it you would paste the entire command in the terminal:

wget -qO - | sudo apt-key add -

But of course it is daunting just copying and pasting commands without knowing what they are doing an having no instructions on how to undo their actions.

Here is a basic breakdown of the commands,

wget , so this is a command to download something from a server.

| is a pipline, which takes the output of a command and runs it through another

apt-key add adds a key

So it basically downloads the key and then adds it in one command.

I tested the command and it should work.

Now to verify that it worked do from this answer

apt-key list

This will list the keys added and the key from opera should be listed on the bottom looking like this:

pub   1024D/30C18A2B 2012-10-29 [expires: 2014-10-29]
uid                  Opera Software Archive Automatic Signing Key 2013 <>
sub   4096g/C528FCA9 2012-10-29 [expires: 2014-10-29]

Also I that other answer it shows that you can remove the key if needed, using:

sudo apt-key del 30C18A2B

Using the key-id listed from apt-key list

After performing that command, and setting up the sources exactly like your screen-shot here: Adding repository

sudo apt-get update


sudo apt-get install opera

(note there are some random warnings, but nothing that affected the install or operation of software center)

And for the removal (just in case): What is the correct way to completely remove an application?

So check list:

  • Add repository enter image description here
  • Add key with command
  • Install in terminal
  • Search in dash enter image description here
share|improve this answer
thanks guntbert - that helps – bruce May 5 '13 at 18:25
"apt-key adv" allows one to download the key from a public keyserver. – jeremiah Mar 31 at 13:27

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.