UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi,
I uninstalled Opera browser from my system (Ubuntu 11.10) via Synaptic and deleted the '.opera' folder on 'Home' directory but it is still showing on applications installed. When I click on it, it launches the browser and recreates the '.opera' folder on 'Home' directory, but there is no such Opera file in any 'usr' sub-directory.
Pls how can I completely remove this browser from my system?
Thanks.
They imitated Windows real good. If you remove a virus it also comes back
these are commands to get rid of Opera:
Code:
sudo apt-get remove opera
if that doesn't work:
Code:
dpkg -r opera
and if gawdforbid you installed it outside dpkg, apt or synaptic, find oper by
Code:
which opera
and delete it from that folder.
However, I don't see the need at all to remove Opera. If it doesn't run, it remains totally unnoticed. Ubuntu does not get slower with more applications installed. If you want to make a different browser default, there is an application in Ubuntu for managing alternatives and preferences, but I forgot its name.
I marked it for complete removal under Synaptic. It's now unmarked in Synaptic, which means 'not installed'.
I tried all those commands, but it is still there. Here are the results:
Quote:
abc123@abc123-ubuntu:~$ sudo apt-get remove opera
[sudo] password for abc123:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package opera is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
abc123@abc123-ubuntu:~$ sudo dpkg -r opera
dpkg: warning: there is no installed package that matches opera
abc123@abc123-ubuntu:~$ which opera
abc123@abc123-ubuntu:~$
Last edited by jay_pablo_69; 11-08-2011 at 08:29 PM.
It was installed in .local because you installed it in individual user mode via one of the tar packages rather than a deb. To uninstall Opera when it is installed that way simply issue uninstall-opera in a terminal window.
Last edited by ruario; 11-12-2011 at 01:02 PM.
Reason: s/single/individual/
@jlinkels Opera does not need to be in your path to appear in your applications menu because the Opera desktop file specifies the full path to the startup script and Gnome/Unity's application menu reads "~/.local/share/applications" (where the desktop file is found) in addition to "/usr/share/applications" and "/usr/local/share/applications".
I am guessing you are just joking around but I can't resist responding. He selected to use a non-native package and after Opera was installed this way, instructions are printed on the screen about how to remove Opera should you wish to in the future.
I was targeting Ubuntu, not Opera, and yes I was joking.
I don't know it Opera makes references as how to uninstall it, but I don't blame Opera. Opera provides decent .deb packages, which are easily installed and uninstalled using dpkg or apt. Installing packages beyond the distro's package manager should be discouraged if you are running an apt or yum distro.
That could be the only improvement to Opera's installer: have it sense the package manager and warn accordingly.
At the moment I joked, I could not have dreamed that the OP installed Opera beyond the package manager, hence my comment.
I don't just live in country of Opera's origin, I work for Opera in the Linux/FreeBSD desktop team as part of the QA/testing team and I am the main tester responsible for ensuring that the packages are up to scratch. Hence why I am probably a bit over protective.
Quote:
Originally Posted by jlinkels
That could be the only improvement to Opera's installer: have it sense the package manager and warn accordingly.
Actually we did used to do exactly that and stopped because it actually seemed to cause more confusion/annoyance. Obviously the tar packages are primarily provided for distros that don't use an rpm or dpkg based package manager. However those same distros often have rpm and/or dpkg installed to assist repackaging binaries (Slackware includes rpm in the default install for this very reason). Those users seemed to find it off putting or even offensive that our "cross-distro" install script suggest that they use rpm (or deb) on a non-rpm/dpkg based distro.
Since these packages where primarily for exactly those users and we expected that most users of rpm and dpkg distros to realise that their respective packages were the best choice, we decided to just drop the warning.
Having said all that, the tar packages can be useful even if you are using an rpm or dpkg based distro as they have an option called suffix installing, which renames components of the package on install and sets Opera to use a unique (suffixed) profile. This can be handy if you want to test two versions of Opera side by side (e.g. the stable and the beta version) without file and profile/settings from one overwriting the other.
@jay_pablo_69: Just a further thought. I am hoping that when you uninstalled the copy of Opera that was in '~/.local' you used the '~/.local/bin/uninstall-opera' command, which would have completely cleaned that installation. If you didn't do that and tried to clear it manually, you could use the following to remove any remenants that you might have left behind:
Note: This assumes you didn't do any kind of suffix install. If you did use an install suffix, let me know what it was an I'll give you an adjusted set of commands.
To install: download and say "yes" to the installer.
To uninstall: either run the uninstall widget or use Control Panel -> Add/Remove programs.
If the uninstaller just deletes the icons from the desktop and start menu, the average user is happy. Before he finds out there is 1 GB of trash left scattered over his hard disk it is time for the next re-install of Windows due to a registry grown to a size beyond processable (Windows is not scalable, in every aspect), or due to a virus which really messed up the installation.
In Dutch we have a saying, perhaps you can read it: Zalig zijn de eenvoudigen van geest. Literally translated that is "blessed are the simple minds". In other words: you are much happier if you are not aware of complications.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.