Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Ubuntu Doc page says this:

It is advisable that you add the Opera GPG key.

wget -qO - http://deb.opera.com/archive.key | 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
2  
I believe that is a one line command to enter into terminal –  Mateo May 5 '13 at 13:55
1  
.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://). –  Michael Blaine Carlson Jul 10 at 18:00

1 Answer 1

up vote 7 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 - http://deb.opera.com/archive.key | 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 http://linux.die.net/man/1/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 http://askubuntu.com/a/107189/47291-

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 <packager@opera.com>
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
Do:

sudo apt-get update

and:

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

Your Answer

 
discard

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.