Author Topic: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux  (Read 17647 times)

0 Members and 1 Guest are viewing this topic.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
This topic is now outdated... there are now instructions for installing Firefox 7 here:

Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux



For people who have ALREADY upgraded their version of Firefox 2 to Firefox 4 following the tutorial on THIS forum, see the EDIT here:
http://linuxforums.org.uk/netbooks/install-firefox-4-on-an-acer-aspire-one-running-linpus-lite-linux/



For those who HAVEN'T upgraded to Firefox 4, and are still on Firefox 2 ... read on.

WARNING - DO NOT uninstall Firefox 2 prior to installing Firefox 5... on Linpus Lite this will break your system, removing Firefox 2 will also remove a lot of necessary dependencies, including half of your desktop... simply reinstalling Firefox 2 will NOT fix this... so leave Firefox 2 alone, and just follow the instructions below... none of which are irreversible :)

To install Firefox 5.0.1 on an Acer Aspire One that is running Linpus Lite Linux as it's operating system, and Firefox 2 as the web browser...

All commands given need to be entered into a terminal... to open a terminal, hit Alt+F2 .. in the input field enter terminal and click the Run button... a terminal will open... When the terminal opens, enter the following commands (hitting Enter after each command to 'run' it)
(also remember Linux commands ARE case sensitive so enter exactly as shown, or even better copy and paste).

First, just in case you already have a newer version of Firefox installed than the version that came pre-installed on your AA1, run the following command to back it up:
Code: [Select]
sudo mv -v /opt/firefox /opt/firefox-backup
(don't worry if the above command fails, it just means you don't have a newer version)

Now use wget to download Firefox 5:
Code: [Select]
wget -O firefox-5.0.tar.bz2 "http://download.mozilla.org/?product=firefox-5.0.1&os=linux&lang=en-GB"
(you can change the en-GB language variable on the end to any of the other language codes for FF5 that can be found HERE)

Extract the just downloaded file to /opt .. create a plugins directory .. change the /opt/firefox directory owner .. rename the original firefox shell script (just in case you need to start the original firefox from the command line)... and add a symlink to point to Firefox 5:
Code: [Select]
sudo tar -jxvf firefox-5.0.tar.bz2 --directory /opt
then:
Code: [Select]
sudo mkdir /opt/firefox/plugins
then:
Code: [Select]
sudo chown user -R /opt/firefox
then:
Code: [Select]
sudo mv /usr/bin/firefox /usr/bin/original-firefox
then:
Code: [Select]
sudo ln -fs /opt/firefox/firefox /usr/bin/firefox

Now, link all old plugins to the new firefox/plugins directory:
Code: [Select]
sudo ln -s /usr/lib/mozilla/plugins/* /opt/firefox/plugins

Ok that's Firefox 5 installed, but if you attempt to start it now you will get an error similar to:

Quote
firefox/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by firefox/libxul.so)


So next you need to put a copy of libstdc++.so.6 in the /opt/firefox directory... Firefox 5 requires this file to be installed on your system but it isn't available in the linpus lite repos... so use wget to download it from my dropbox:
Code: [Select]
wget http://dl.dropbox.com/u/11876059/libstdc++6.tar.bz2

and unpack it directly into the /opt/firefox directory:
Code: [Select]
sudo tar -jxvf libstdc++6.tar.bz2 --directory /opt/firefox

Launch Firefox's profile manager:
Code: [Select]
firefox -profilemanager -no-remote
Create a new profile... you can name it anything you like... and select it.

As a bonus you can also change the icon to the official Firefox icon. (though this *isn't* necessary)
Code: [Select]
sudo sed '/Icon/ s/acs_//' -i /usr/share/applications/linpus-web.desktop

Finally reboot the AA1 to make the desktop aware of the new icon and browser location.



Most of the credit must go to macles.blogspot:
http://macles.blogspot.com/2008/07/installing-firefox-3-on-acer-aspire-one.html
I've just modified the instruction slightly for FF5, and added the libstdc++.so.6 file (from fedora 10 32bit) which is needed by FF4 / FF5 / FF6.

For instructions on how to upgrade the flashplayer plugin, see here:
http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-flash-player/msg62581/#msg62581

Also see:
http://linuxforums.org.uk/netbooks/acer-aspire-one-netbook-running-linux-can-i-update-to-the-latest-firefox/
« Last Edit: November 03, 2011, 02:13:15 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline gecko_03

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #1 on: June 23, 2011, 12:28:38 pm »
Hi Mark,

updating from Firefox 4 to Firefox 5 worked like a charm for my AAO.
Thank your for your continuing support!

Cheers,
gecko_03

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #2 on: June 23, 2011, 04:04:28 pm »
You're welcome, and thanks for the feedback/input :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline gecko_03

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #3 on: June 30, 2011, 10:46:31 am »
This is not about Firefox but closely related.

Today, I have not been able to successfully update Thunderbird on my Acer Aspire One. The software performed an auto update from version 3.1.11 to 5.0 but would not start up again. This is very similar to when I first installed Firefox 5 without reading your instructions before  ;)

Probably, a library is also missing here.

If you have any hints, it would be much appreciated!
Thank you!

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #4 on: June 30, 2011, 10:50:49 am »
If you try to open thunderbird from the command line, what is returned ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline gecko_03

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #5 on: June 30, 2011, 10:57:01 am »
I have already re-installed the functioning version (3.1.11). So cannot check this at the moment...sorry.

As I can see from the Thunderbird 5 requirements website
https://www.mozilla.org/en-US/thunderbird/5.0/system-requirements/
there should be not problem running this version on Linpus, especially after the libstdc++ installation for Firefox 4.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #6 on: June 30, 2011, 11:02:29 am »
NO... libstdc++.so.6 wasn't installed systemwide... it was only installed to the firefox directory, so only firefox can use it.

if Thunderbird ALSO requires libstdc++.so.6 then you'll have to also place a copy (or symlink) in the thunderbird directory... but you can only do this if Thunderbird was installed to a separate directory of its own rather than systemwide.

How  did you install Thunderbird 3 ?

[EDIT]

From the system requirements on the mozilla site, it seems you only need libstdc++ 4.3 or higher... so it probably isn't the same problem... Linpus has libstdc++5 by default (I think)

I'll see if I can work out what's missing and if anything can be done about it... but it may take some time... I don't have an AA1 to test it on, and Linpus refuses to run in a VM
« Last Edit: July 18, 2011, 08:44:16 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline gecko_03

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #7 on: June 30, 2011, 11:20:12 am »
Thank you for your hint...should have seen that from your above post  ;)

I had originally downloaded an archive (tar.bz) of Thunderbird. Instructions where from
http://macles.blogspot.com/2008/11/installing-thunderbird-on-aspire-one.html

This worked fine (including all updates) until today.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #8 on: June 30, 2011, 11:49:37 am »
Hmm... you may be right about libstdc++6, as the ONLY requirement that appears to have changed for Thunderbird 5 is the need to have libstdc++4.3 or higher -

Thunderbird 3 requirements here:
http://mozillamessaging.com/en-US/thunderbird/system-requirements/prerelease.html

Quote from: Thunderbird 3
Thunderbird 3 will not run at all without the following libraries or packages:
GTK+2.10 or higher
GLib 2.12 or higher
Pango 1.14 or higher
X.Org 1.0 or higher

For optimal functionality, we recommend the following libraries or packages:
NetworkManager 0.7 or higher
DBUS 1.0 or higher
HAL 0.5.8 or higher
GNOME 2.16 or higher


Thunderbird 5 requirements here:
https://www.mozilla.org/en-US/thunderbird/5.0/system-requirements/

Quote from: Thunderbird 5
Thunderbird 5 will not run at all without the following libraries or packages:
GTK+ 2.10 or higher
GLib 2.12 or higher
Pango 1.14 or higher
X.Org 1.0 or higher (1.7 or higher is recommended)
libstdc++ 4.3 or higher

For optimal functionality, we recommend the following libraries or packages:
NetworkManager 0.7 or higher
DBus 1.0 or higher
HAL 0.5.8 or higher
GNOME 2.16 or higher

So maybe you could test it by downloading Thunderbird 5 to your home directory... unpacking it (in your home directory)... then dropping the libstdc++6 file from here:
http://dl.dropbox.com/u/11876059/libstdc++6.tar.bz2
into the new thunderbird directory... then running it from the command line with:
Code: [Select]
~/thunderbird/thunderbird

and letting me know if it works... if it DOES work, updating Thunderbird 3 should be easy, if it DOESN'T work it may give us a clue why.

as long as you unpack it in your home directory, and run it from there, it shouldn't interfere with Thunderbird 3 you have in /opt/thunderbird



If it DOES work... I'll explain how to upgrade Thunderbird 3
« Last Edit: June 30, 2011, 12:06:38 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline gecko_03

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #9 on: July 01, 2011, 06:31:13 am »
Thanks for your detailed suggestions.

It is indeed just the libstdc++6 file again. I have dropped it into the existing thunderbird folder and updating just worked fine.
Hope this helps other AAO users, too.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #10 on: July 01, 2011, 01:24:38 pm »
Thanks geko_03... yet again... for the info. :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline dareed51

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #11 on: July 09, 2011, 06:52:02 pm »
Mark:

Trying to upgrade to Firefox 5.  When I execute the "sudo tar ..." command you provide, I get "bzip2: (stdin) is not a bzip2 file".  I don't see why tar think its input is from stdin.

Thanks in advance.
Dave

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13779
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #12 on: July 09, 2011, 07:01:58 pm »
Hi, and welcome to the forum :)

I reckon the file you downloaded with wget is corrupt... try downloading it again.

What command did you use to get it ?

stdin = standard input stream

which in this case just means the input file... bzip2 is telling you the file you are trying to input/untar isn't a standard .bz2 archive, so is probably corrupt.

As the location in your forum profile says US, use this wget command:

Code: [Select]
wget -O firefox-5.0.tar.bz2 "http://download.mozilla.org/?product=firefox-5.0&os=linux&lang=en-US"
then untar with:
Code: [Select]
sudo tar -jxvf firefox-5.0.tar.bz2 --directory /opt
« Last Edit: July 09, 2011, 07:29:33 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline bec456

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #13 on: July 10, 2011, 01:05:24 pm »
Hi.

Theses instructions don't work for me! I have firefox 3.6.17 by creating a firefox 2 backup. I followed these instructions and it installed like a dream.  http://www.aspireoneuser.com/forum/viewtopic.php?f=39&t=5592. However, I can't download any programmes. I have to go to a different pc and save programmes to usb flash drive and then transfer it to my acer, linux lite running fedora 5 redhat. This is probably not a bad thing. I've also done a yum fedora release update and have a new version although I there is no visual difference.  However, the check upates on firefox now stays checked, which was refused in 2, but I have a system block to install updates on 3.  Even using yum it comes up with block 1866. no idea what that is.  yum says I've got lib++6 library thing that it told me was missing and it has unpacked the firefox 5.0 tar ball and copy and pasted the ln link command but still no upgrade. I've done a yum clean up to keep my system tidy.

The only thing I can think of that was also mentioned was gck I think it was called but there was an issue that yum also installed gck2 which caused problems, so I haven't done either. 

What ever it needs to do, I wish it would just do its thing that it needs to do to be happy and just work.
I'm stuck.
Can you help please?

Offline bec456

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 5 on an Acer Aspire One running Linpus Lite Linux
« Reply #14 on: July 10, 2011, 01:43:40 pm »
Hi all

The only instructions that worked for me to install firefox 3.6.17 from 2 was found here http://www.aspireoneuser.com/forum/viewtopic.php?f=39&t=5592

Would like new instructions to upgrade to firefox 4 5 or 6 please as although firefox now tells me that there are updates available, it won't install them.  Yum tells me I have the new lib++6 thing installed which it told me I needed so I got.  I have got firefox tar ball 5 and I have unpacked it, but the ln sym link won't connect firefox 1 2 and 3 to 5.  I have an acer, linpus linux lite running fedora redhat 5 and I ran the yum update fedora-release which tells me that I have an upgraded version but visually there is no change.  Whether there is a difference between Ther instructions from the abve link saidt to just change the number of firefox to install any version, but that hasn't worked now.

I wish it would just be happy by quietly doing it's thing so that it works. That would make me really happy too.  I don't know what it needs to make it happy. It has what it has asked for. I don't know how to tell it that it has what it asked for and I don't want to feel like this any more.

Can anyone help me please?

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal