LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2004, 09:25 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Uninstalling Mozilla


How do I uninstall Mozilla?

I just upgraded to Firefox and I want to get rid of Mozilla.

Btw, I don't even know the package name because it was installed with my distro. I'm sure that it's a package file but I cannot find out the name.

How do I find out where the Mozilla packages are installed and how do I cleanly uninstall (or erase) them?
 
Old 09-23-2004, 10:20 AM   #2
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
As the root user, type the following on the command line:

rpm -e mozilla

Simon
 
Old 09-23-2004, 10:43 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Tried that. Got the following error:

Code:
error: Failed dependencies:
        libmozjs.so is needed by (installed) mozilla-mail-1.4.1-17
        libxpcom.so is needed by (installed) mozilla-mail-1.4.1-17
        libxpcom.so is needed by (installed) openoffice.org-libs-1.1.0-6
        libxpcom_compat.so is needed by (installed) mozilla-mail-1.4.1-17
        mozilla = 37:1.4.1-17 is needed by (installed) mozilla-mail-1.4.1-17
        mozilla >= 1.4.1 is needed by (installed) vlc-0.7.0-1
 
Old 09-23-2004, 10:54 AM   #4
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
Oh yes, mozilla-mail is a separate package. So:

rpm -e --nodeps mozilla mozilla-mail

The --nodeps option is not necessarily a wise move because it causes RPM to ignore the dependencies. Normally packages are dependent on other packages and when those are removed, your programs might not function properly any more (in every aspect). So if you do it, take a note somewhere so you can install the missing packages again if things start to go wrong.

After removing Mozilla, you'll still have a ".mozilla/default" directory under your home directory. It holds all of your settings, e-mail and other personalisations. Firefox (the newest versions) has a similar directory, ".mozilla/firefox", so don't delete the whole "~/.mozilla". If you have installed some plug-ins, they'll likely still be somewhere, e.g. in "/usr/lib/mozilla-<version number>/plugins".

I use this kind of script to see what's installed on my system:
rpm -qa --qf "%-36{name} %{summary}\n"|sort|less -S

(The actual script is much longer, involving a file to hold the packet list so that it doesn't have to be pulled from the database every time.)

Regards
Simon
 
Old 09-24-2004, 08:41 PM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I think I won't uninstall Mozilla after all... Too many dependencies and I cannot take a risk. Too bad about the waste of disk space.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way of uninstalling Mozilla but keeping the email program? petercool General 8 06-15-2004 08:46 AM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 01:33 AM
Uninstalling Mozilla Van Gogh Linux - Newbie 8 01-07-2004 06:47 PM
Could use help on uninstalling mozilla cjnkns Linux - Software 10 03-17-2003 11:24 PM
Uninstalling Mozilla Crashed_Again Linux - Software 7 03-16-2003 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration