0

So I downloaded firefox-34.0.5.tar.bz2 manually from Firefox's website, knowing full well that I could've used the Software Updater to update from Firefox 30 to 34.

First, I searched for how to install the software from the tarball. Nothing worked. There were things like accessing README file, or INSTALL file but nothing worked

I downloaded the file from their website. No way to install.

Now, I used this guide from Libre-Software, which seemed trustworthy.

However, when I click on the launcher icon, nothing opens. It glows red for two seconds, but then nothing.

When I go to Terminal and type firefox-old because I backed up my current version to that file in /usr/bin, the old Firefox opens, which I'm using now.

Still, the Terminal keeps saying stuff I don't understand.

(process:6309): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
TypeError: external.getUnityObject is not a function
TypeError: external.getUnityObject is not a function
TypeError: external.getUnityObject is not a function
TypeError: external.getUnityObject is not a function
No permission to use the keyboard API for http://googleads.g.doubleclick.net

Although you can see what has happened if you open that guide, here's what I can make of the entire process:

  • Move extracted Firefox in /opt
  • Backup old app with sudo mv /usr/bin/firefox /usr/bin/firefox-old
  • Set up a symbolic link using sudo ln -s /opt/firefox34/firefox /usr/bin/firefox

This is really terrifying me and making me sick. Now, I don't want technical stuff, no symbolic links, no nothing.

I just want a peaceful INSTALL of Firefox that will save my data (or not - I got sync). Simple, Android or Windows-like execution, a process bar showing the installation, and poof: brand-new Firefox 34 opening in front of my eyes.

I want Ubuntu to remain the Linux for humans, so I would appreciate it if a little tweaking around (even command-based) can do the magic.

  • 1
    Try sudo apt-get install firefox – Rohith Madhavan Dec 21 '14 at 15:02
  • Would it be too much trouble to remove the Firefox 34 you manually installed, and then install the latest version of Firefox from the Ubuntu Software Center (currently Firefox 34) as Rohith Madhavan suggested? – karel Dec 21 '14 at 15:10
  • I have to admit I'm a little confused by your question: You say in the last section you want a 'peaceful install' and in the first section you admit you could have used Ubuntu's software center to upgrade. What caused you to go down this path? – Charles Green Dec 21 '14 at 15:32
  • this question is unrelated as op doesn't know what he's doing and commit thing that can compromise Ubuntu Security. This question should be remove per se. – Shaharil Ahmad Dec 21 '14 at 18:47
1

One thing you can do is back up your profile and then simply remove the manually installed Firefox 34. I don't know what steps you took to install Firefox manually, so I'm afraid I can't be much of a help with the removal step.


Step 1: Back up your Firefox profile:

First step you'll want to do is go into your .mozilla folder in the home directory. You may have to press Ctrl+H to show hidden files & folders:

.mozilla

Next, go into firefox within the .mozilla folder:

.mozilla -> firefox

The window that pops up should look similar to mine, albeit with only the Crash Reports and a ******.default (* = random numbers & letters used by Firefox) folder:

.mozilla -> firefox #2

Copy/paste all the files & folders to your desktop, we'll restore them later.


Step 2: Remove current installation:

Once again, I don't know how exactly you installed Firefox manually, so I'm not going to be much help in this step.

Just remove the current installation as best you can, making sure that you have a copy of the folders & file mentioned above.


Step 3: Install via apt-get:

You should now be able to install Firefox from the official repository via apt-get.

Simply run this in terminal (Ctrl+Alt+T):

sudo apt-get update && sudo apt-get install firefox

This should install Firefox in working order for you and will provide you with automatic updates too! Now, this method won't necessarily give you the most up to date version of Firefox, but it should keep you pretty close if not on the current version.


Step 4: Restore your profile:

Once you've installed Firefox you should be able to simply copy/paste those files you copied to your desktop earlier back to the ~/.mozilla/firefox directory.

The profiles.ini file is what tells Firefox what profile to look at for bookmarks and whatnot, so by backing it up we can simply replace the one that Firefox created when it was installed. This will make it so that Firefox looks at your profile from your previous installation and so you shouldn't lose anything!

Hope this helps!

2

Undo all the changes that you made and install Firefox using sudo apt-get install firefox. If you are using Ubuntu 14.04 this command will automatically upgrade your Firefox to version 34 which is the latest version.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.