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.

I have downloaded opera from the website (deb package) and installed it. Now I want to remove it but I don't know how. I tried sudo apt-get remove opera but it didn't work.

share|improve this question

2 Answers 2

When you install via the downloaded .deb binaries/installer and not the opera repository for Opera, then it was installed with dpkg, and not apt-get.

Try using sudo dpkg --remove opera or sudo dpkg -r opera to remove it.

share|improve this answer
    
thanks alot it really works thank you –  user159082 May 16 '13 at 2:20
3  
You're welcome, @user159082! Don't forget to mark this as accepted if it helped! –  Thomas W. May 16 '13 at 2:28
    
Or equally use: sudo dpkg -r opera –  Farahmand Oct 7 at 16:07

@Thomas W.'s answer didn't work for me on Ubuntu 14.04. I had to use:

sudo dpkg -r opera-stable

And to remove the apt sources file added by Opera:

sudo rm -f /etc/apt/sources.list.d/opera-stable.list
share|improve this answer

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.