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

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • 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



[EDIT]

If you HAVEN'T already installed Firefox 4 by following the instructions AFTER this EDIT, the full instructions for the newer Firefox 6, can be found here:
http://linuxforums.org.uk/netbooks/install-firefox-6-on-an-acer-aspire-one-running-linpus-lite-linux/

If you HAVE already installed Firefox 4 following the instructions below, you can miss out most of the steps... all you should need to do to upgrade FF4 to FF5 is:

Code: [Select]
wget -O firefox-6.0.tar.bz2 "http://download.mozilla.org/?product=firefox-6.0&os=linux&lang=en-GB"
then:
Code: [Select]
sudo tar -jxvf firefox-6.0.tar.bz2 --directory /opt
then
Code: [Select]
sudo chown user -R /opt/firefox

Close all instances of Firefox 4, and restart it... it should now be Firefox 6

[END EDIT]

WARNING - DO NOT uninstall Firefox 2 prior to installing Firefox 4... 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 :)

[EDIT]
Instructions modified and updated to Firefox 4.0.1... thanks to gecko_03 :)
[END EDIT]

To install Firefox 4.0.1 on an Acer Aspire One that is running Linpus Lite Linux as it's operating system...

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.
(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 /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 4:
Code: [Select]
wget -O firefox-4.0.1.tar.bz2 "http://download.mozilla.org/?product=firefox-4.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 FF4 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 4
Code: [Select]
sudo tar -jxvf firefox-4.0.1.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

Next you need to put a copy of libstdc++.so.6 in the /opt/firefox directory... Firefox 4 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 FF4, and added the libstdc++.so.6 file (from fedora 10 32bit) which is needed by FF4.

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:48 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline bigbrown

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #1 on: April 29, 2011, 11:59:41 am »
 :) what a great and easy to follow step by step guide thanks. if a newb like me can follow it then it must be good

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #2 on: April 29, 2011, 01:54:56 pm »
Thanks for the feedback... it's always good to know these things helped someone. :)
« Last Edit: April 29, 2011, 02:01:20 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline caineunholy

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #3 on: April 30, 2011, 08:15:37 pm »
I try'd firefox 4 on windows XP.
and things that I use't to use are gone?
and it is acting up.
got look at the firefox forum.
it is still a Bata I think.
and Microsoft has there claws in to firefox!
god help us!
so if I was you I would wait till they fix it.
I am Staying with firefox 3.6.0

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #4 on: April 30, 2011, 08:31:32 pm »
Firefox 4 has been out of beta for a while now, and the final release seems every bit as stable as 3.6 and MUCH quicker...

Rather than being alarmist, it would be helpful if you told us what problems you DID have ?

If the issues were ONLY in the beta ?

If it was ONLY in Windows ?

If it was on an AA1 ?

and what you mean by -

"Microsoft has their claws in to firefox! .. god help us!" ?
and
"things that I used to use are gone" ?

Do you mean some of the plugins were incompatible with FF4 when you tried it ? .. if so, which ones? and how long ago?... so people can check to see if they have been updated yet.
Now Firefox 4 is a *final* release, most plugins will be quickly updated if they haven't been already.
« Last Edit: May 28, 2011, 11:13:02 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Joluco

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #5 on: May 01, 2011, 04:31:59 pm »
These instructions were brill.  I have 2 Aspire one netbooks for my kids which we've been unable to use since January as the browser was out of date.   We clicked on the icon and the wheel just turned and did nothing.  Using these instructions - I've now updated both machines and kids are able to get on the internet on their favourite sites once again.  Thanks so much for the step by step guide.. really really useful!

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #6 on: May 01, 2011, 07:53:21 pm »
I'm happy the guide was a help... there is a separate fix for Firefox 2 refusing to start:
http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-firefox-web-browser-wont-open/
But as Firefox 2 is a bit long in the tooth and has trouble with some sites now, you're probably better off with Firefox 4 anyway.

BTW, if anyone has problems with websites that contain flash video, let me know and I'll post instructions to install or update the flash player to the latest version.
« Last Edit: May 01, 2011, 08:02:24 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline peterworland

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #7 on: May 06, 2011, 09:41:45 pm »
I tried to upgrade from 3.6 to 4 simply pressing the upgrade key on the Firefox web site, result - disaster, web browser would not start and reported I/O Error. Being Linux ignorant, (my ferreting finished with CPM)  it was a case of  throw the Aspire away or find an expert. Found your solution via Google on my Windows desk top, copied the lines of code into a text file on a memory stick and plugged it  into the Aspire, executed the code line by line and it was fixed, wonderful. You  saved my bacon, many thanks keep up the good work.
PS I registered simply to be able to thank you.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #8 on: May 06, 2011, 09:45:45 pm »
You are more than welcome... and thanks for letting me know it helped :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline StigOTracey

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #9 on: May 09, 2011, 07:19:37 am »
Many thanks to you for the instructions. My wife's netbook is up and running and she has the Firefox 4 to work with. A great Mother's Day gift. 

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #10 on: May 10, 2011, 05:47:53 am »
Always happy to help a mom :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline gecko_03

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #11 on: May 10, 2011, 10:00:01 pm »
Also for me the instructions proved very helpful...thank you!

Just two small amendments:
  • the download link for Firefox does not work any more as the newest version currently is 4.0.1. I have used
Code: [Select]
wget -O firefox-4.0.1.tar.bz2 "http://download.mozilla.org/?product=firefox-4.0.1&os=linux&lang=de"
    to download the German version.
    [/li]
  • in order to be able to link all plugins to the new Firefox directory, I first had to manually create the /opt/firefox/plugins directory

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #12 on: May 10, 2011, 10:30:58 pm »
@ gecko_03

Thanks for the info... much appreciated  ;D .. instructions updated .. but with the GB (English - British) version of Firefox 4.0.1

Again, many thanks.
« Last Edit: May 10, 2011, 11:27:18 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Gregario

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #13 on: May 11, 2011, 04:08:51 pm »
Many thanks for the code to make this work. I copied and pasted as suggested by another member and it worked a treat. I had to do the same using Macles' code when moving from version 2.4 to 3.1. What is it with Linpus and/or Mozilla that makes a simple version change so complicated? I'd have been completely stuck without your help. Just as well I only use Linpus Linux for the netbook and had a Windows PC to find your site. Don't know what we newbies would do without experts like yourself willing to help. I guess the user unfriendliness of Linux is the price we pay for the excellent security of the Linux O/S that is so poor by comparison in Windows.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 4 on an Acer Aspire One running Linpus Lite Linux
« Reply #14 on: May 11, 2011, 04:36:41 pm »
Firstly... You're welcome :)

Secondly... It's NOT that Linux "as a whole" is unfriendly... IMHO, nowadays it's just as user friendly as Windows (more so if you take into account that you don't spend half your time wrestling with malware), just different... but Linpus Lite is based on a very old version of Fedora (FC8 which is no longer under active development or support) so software moves on, but Linpus Lite doesn't.

Installing FF4 on most other distro's such as Ubuntu or Mint, or even Fedora 14 is as simple as a few mouse clicks.

Linpus Lite has Fireefox 2 intertwined with the desktop as it uses a custom desktop, which means if you remove it, you will also remove half of your desktop... not clever ;) .. so Firefox 4 has to be installed somewhere else, then have all the links pointed to the new FF4 directory rather than the old FF2 directory .. that way you don't loose your desktop.

It wasn't overly clever of the Linpus Lite devs to build it this way, but it is NOT a Linux issue, it's a Linpus issue :)

Please don't think for one minute that Linux = Linpus Lite.

I'm not really sure why Acer decided on Linpus Lite when their are MUCH better Linux distributions available.  ::)
« Last Edit: May 11, 2011, 04:54:48 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal