Firefox wouldn't load in Mint 11.How do I install Firefox

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Firefox wouldn't load in Mint 11.How do I install Firefox

Post by ecoalex »

I like my Mint 11. Firefox wouldn't load pages today, so I uninstalled it, the software manager wouldn't install it again.
is it possiable to install Firefox again,or am i doomed to install Mint 16?.

Thanks
Last edited by ecoalex on Fri Dec 20, 2013 9:38 pm, edited 1 time in total.
NuxNubkins
Level 1
Level 1
Posts: 36
Joined: Fri Oct 04, 2013 5:51 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by NuxNubkins »

Open a console, and issue:

Code: Select all

sudo apt-get purge firefox && sudo apt-get install firefox
Try those out and see if it helps.
bobafetthotmail
Level 4
Level 4
Posts: 361
Joined: Sat Aug 10, 2013 8:20 am

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by bobafetthotmail »

^the above terminal command will force a removal of current Firefox and or all the setting files, then install it again.

Just some info to let you know what you are doing. Terminal should not look like dark magic.

In general, i routinely use those terminal commands to install/remove stuff because the Software Manager is... mercurial to say the least. In Mint 15. I don't want to even know how bad it is in 11.

Synaptic package manager is another good thing that can help you once you know the name of the package (Software Manager usually tells the package name).
User avatar
Flemur
Level 18
Level 18
Posts: 8622
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by Flemur »

If you can't install with the apt-get command-lines (old - Mint 11 - repositories no longer exist or some such), you can get FF versions here:
https://ftp.mozilla.org/pub/mozilla.org ... /releases/

You'll get an archive that can be installed directly, no compiling.

How to install:

$ which firefox
/usr/bin/firefox
$ ls -al /usr/bin/firefox
lrwxrwxrwx 1 root root 25 Nov 15 04:59 /usr/bin/firefox -> ../lib/firefox/firefox.sh

Firefox is actually installed in /usr/lib/firefox. (it *might* be different on your machine - so check, as above).

Leave /usr/bin/firefox alone, delete everything from /usr/lib/firefox EXCEPT firefox.sh.

Extract the archive you downloaded above into /usr/lib/firefox/
Make sure you get /usr/lib/firefox/buncha-files, NOT /usr/lib/firefox/firefox/buncha-files.

(Need to be root/sudo for the last two)

Done.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

I tried all avenues within the synaptic, all D.O.A. I am left to try to install from a zip file.

I am puzzled in this process.Could you please step by step (ineptitude) how to install this Firefox 25 zip file in my download folder. I have :
Image
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

I found this, so will give it a try.

http://www.libre-software.net/how-to-in ... linux-mint

Thanks for the help :)
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

Well that didn't work, so I went back to the above instructions,but sudo didn't recognize the firefox .sh file

I extracted the firefox file using right click extract here, and tried the command mv, but sudo had problems with that, so tried the
../lib/firefox/firefox.sh , and got the error notice,.sh not recognized.

So I'm back to zero ,open to recommendations.
User avatar
gold_finger
Level 9
Level 9
Posts: 2885
Joined: Mon Mar 11, 2013 11:39 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by gold_finger »

ecoalex wrote:I like my Mint 11. Firefox wouldn't load pages today, so I uninstalled it, the software manager wouldn't install it again.
is it possiable to install Firefox again,or am i doomed to install Mint 16?.
Have you considered installing Mint 13? You don't have to go with the latest version 16. Mint 13 is a Long-Term Support version that will continue to be supported until April, 2017. The Mate or Xfce versions of 13 will probably give you the closest look and feel to that of the gnome 11 version. Burn a live DVD of each and try them both first to see which feels better to you.
Please add [SOLVED] to your thread if a solution is found. Go to your first post in the thread, hit "Edit" button and add [SOLVED] to the title of the post.

How To Format Your Forum Posts.

Try Linux Beginner Search Engine for Linux questions.
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by WharfRat »

ecoalex,

To unpack that file, change to /usr/lib and do it there.

Code: Select all

cd /usr/lib

Code: Select all

sudo cp -v /path/to/firefox-25.0.tar.bz2 .

Code: Select all

sudo tar xvjf firefox-25.0.tar.bz2
That will unpack it to /usr/lib/firefox

Good luck :wink:
ImageImage
NuxNubkins
Level 1
Level 1
Posts: 36
Joined: Fri Oct 04, 2013 5:51 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by NuxNubkins »

Also, if you're having trouble with .sh files, be sure that they are marked as executable.

Code: Select all

chmod +x myShFile.sh
Then to execute the file, if you have to do so,

Code: Select all

./myShFile.sh
Be sure to note the period and the slash preceding the file. It is necessary for being able to run the SH.
User avatar
Flemur
Level 18
Level 18
Posts: 8622
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by Flemur »

Well that didn't work, so I went back to the above instructions,but sudo didn't recognize the firefox .sh file

I'm not sure what you mean; the only thing you have to do with firefox.sh is leave it in /usr/lib/firefox when you replace the other files there with the files from the archive (because /usr/bin/firefox is a link to it). You could also make /usr/bin/firefox point to the firefox executable in /usr/lib/firefox/ - (I'm not sure if it's "firefox" or "firefox.bin"...), since the download/install doesn't have a firefox.sh file (at least for FF 18).

Try this:
- put the firefox...bz2 file in some local directory (that you own as a user), say "/home/yourname/firefoxtemp".
- open a file browser (nemo, thunar, pcmanfm, etc) and rt-click on the archive, "open with [your archive manager]"
- extract the files into that local directory; IIRC, by default it'll put them into /home/yourname/firefoxtemp/firefox/bunchafiles
(it creates the "firefox" directory which holds all the files you need...IIRC).

- In a terminal:
$ sudo cp /usr/lib/firefox/firefox.sh /home/yourname/firefoxtemp/firefox/.
(the above will save a copy of firefox.sh, which you'll copy back in a minute.)
$ sudo rm -r /usr/lib/firefox/*
(careful with that one! NO TYPOS!)
$ sudo cp -r /home/yourname/firefoxtemp/firefox/* /usr/lib/firefox/.
(The above will copy the entire new install - plus the original firefox.sh - into /usr/lib/firefox)
(For whatever reason I don't like typing archive commands and always open them from a file browser).

You could also do the deleting/copying as root from a file browser:
$ sudo filebrowsername (nemo, thunar, etc)
and then open/rt-click on the archive, and extract directly into the /usr/lib/firefox directory. I don't think it'll hurt anything If you don't delete any of the original files there first, at worst you might have some old ones that aren't overwritten because they're no longer used. Check to make sure it didn't put them into /usr/lib/firefox/firefox...

Or you could keep the firefox install in your local directory and change the /usr/bin/firefox link to point to it.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Flemur
Level 18
Level 18
Posts: 8622
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by Flemur »

I found this, so will give it a try.
http://www.libre-software.net/how-to-in ... linux-mint
That link says:
External programs like LibreOffice, Google Chrome, Adobe reader, ... are all installed in the /opt directory. If you want more info about why /opt, check out these two links:

which is WRONG. Firefox is installed in /usr/lib. That's why I had the
$ which firefox (answer: /usr/bin/firefox)
$ ls -al `which firefox` (answer: /usr/bin/firefox --> ../lib/firefox.sh)
(`=backwards single quotes, under the ~ key) in my first post.

Edit: installing it in /usr/lib doesn't seem right to me, but that's where it was (is).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

No success.I wasn't sure of the steps. I highlighted the Firefox 25 file in downloads, then entered in terminal:
Code: Select all
cd /usr/lib


Code: Select all
sudo cp -v /path/to/firefox-25.0.tar.bz2 .

And got this:

https://dl.dropboxusercontent.com/u/220 ... usrlib.png

It is a tiny image file,yet the forum won't allow me to post it, too large? why the link.

Wish I could copy the terminal text.
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

I admit my ineptitude and need basic instructions such as I found , but they didn't work.I need steps listed #1, #2, #3 as I show below.Could replies be in explicit form, thanks. Example, but it didn't work:

A. Install Firefox 25 in 5 easy steps
1. Download



This how-to supposes that the downloaded file is saved in the “Downloads” directory situated in your home directory.
2. Extract

The downloaded file is a compressed .tar.bz2 archive. In case you want to Learn more on these extensions: tar, bzip2. To extract this juicy archive, open the Downloads directory. Look for a file named firefox-25.0.tar.bz2, right-click on it and select “extract here”.


The firefox-245.0.tar.bz2 archive can now be deleted.
3. Move to /opt

External programs like LibreOffice, Google Chrome, Adobe reader, ... are all installed in the /opt directory. If you want more info about why /opt, check out these two links:
Where to install my products on linux?
Filesystem Hierarchy Standard

If you already had a previous Firefox version installed in the /opt directory, remove it with the following command:
sudo rm -r /opt/firefox

Now move the firefox directory (which was created in your Downloads folder during extraction) to /opt:
sudo mv firefox /opt/firefox25
4. Set up symbolic links

Depending on you usage pattern, follow the instructions for case 1 OR for case 2.
Case 1: you want to use Firefox 25 as you default browser:

“Backup” the old Firefox launcher:
sudo mv /usr/bin/firefox /usr/bin/firefox-old

Create a symbolic link pointing to the new Firefox version:
sudo ln -s /opt/firefox25/firefox /usr/bin/firefox

No need to update your icons/shortcuts, they should now launch the new version of Firefox.

Your old Firefox version is still installed. If you want to use it, run firefox-old in a terminal or create shortcuts/icons referring to firefox-old.
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by WharfRat »

ecoalex wrote:Code: Select all
sudo cp -v /path/to/firefox-25.0.tar.bz2 .
This wasn't intended to be entered verbatim, it's a placeholder for the location of firefox-25.0.tar.bz2.

So if it's in ~/Downloads then you want to use

Code: Select all

sudo cp -v ~/Downloads//firefox-25.0.tar.bz2 .
or if you're in a root terminal

Code: Select all

cp -v /home/yourname/Downloads//firefox-25.0.tar.bz2 .
but change 'yourname' to your account name.
ImageImage
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

Thanks for your reply.Unless I get instruction for the clueless (me), I cannot just get one code line and have Firefox install.I tried the 3 steps posted above,for the inept,but they didn't work.I don't have the knowledge to know what I need,what is right.

I would need;
From the zip file in the download folder:
Step #1
Step #2
Step #3


Thanks
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by WharfRat »

1.

Code: Select all

sudo -i
2.

Code: Select all

cd /usr/lib
3.

Code: Select all

[[ -e /home/$SUDO_USER/Downloads/firefox-25.0.tar.bz2 ]] && cp -v /home/$SUDO_USER/Downloads/firefox-25.0.tar.bz2 . || echo "No such file"
paste back the results of #3
ImageImage
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

Instructions:
1.

Code: Select all
sudo -i


In terminal I entered:
sudo -i

Results:

`sudo :i command not found

What did I do wrong?
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by WharfRat »

Take a screen shot of the terminal with that error and attach it.
ImageImage
ecoalex
Level 3
Level 3
Posts: 134
Joined: Thu Aug 18, 2011 8:36 pm

Re: Firefox wouldn't load in Mint 11.How do I install Firef

Post by ecoalex »

Ok, this time Terminal would allow sudo -i
Entered the next text , got this:
https://dl.dropboxusercontent.com/u/220 ... ectory.png


Too bad you can't embed images of any size now,used to be able to.
Post Reply

Return to “Newbie Questions”