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

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Those who have ALREADY upgraded your version of Firefox 2 to Firefox 4, 5, or 6 by following the instructions here:
http://linuxforums.org.uk/netbooks/install-firefox-4-on-an-acer-aspire-one-running-linpus-lite-linux/
or
http://linuxforums.org.uk/netbooks/install-firefox-5-on-an-acer-aspire-one-running-linpus-lite-linux/
or
http://linuxforums.org.uk/netbooks/install-firefox-6-on-an-acer-aspire-one-running-linpus-lite-linux/
see the "How to UPGRADE FF4, FF5, or FF6 to Firefox 7" section at the bottom of this posting.

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

WARNING - DO NOT uninstall Firefox 2 prior to installing Firefox 7.0.1 .. on Linpus Lite this will break your system, uninstalling Firefox 2 also removes 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 7.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 7.0.1:
Code: [Select]
wget "https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/7.0.1/linux-i686/en-GB/firefox-7.0.1.tar.bz2"
(Non en-GB versions can be found here:
https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/7.0.1/linux-i686
but you'll have to adjust the wget command accordingly .. if you're unsure how, just ask)

Extract the just downloaded file to /opt:
Code: [Select]
sudo tar -jxvf firefox-7.0.1.tar.bz2 --directory /opt

Create a plugins directory:
Code: [Select]
sudo mkdir /opt/firefox/plugins

[EDIT]
Skip the next command, and continue after the "END EDIT" if you don't want Firefox to automatically update itself .. most people have reported major issues with Firefox 8 and above in Linpus Lite.

Change the /opt/firefox directory owner to user:
Code: [Select]
sudo chown user -R /opt/firefox
[END EDIT]

Rename the original firefox shell script (just in case you ever want to replace it):
Code: [Select]
sudo mv /usr/bin/firefox /usr/bin/original-firefox

Add a symlink to point to Firefox 7.0.1:
Code: [Select]
sudo ln -fs /opt/firefox/firefox /usr/bin/firefox

Finally , 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 7.0.1 installed :)

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.

Don't forget to upgrade the flashplayer following the link below or pages that contain flash may take forever to load.



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



How to UPGRADE FF4, FF5, or FF6 to Firefox 7

First try this .. In Firefox, go to Help > About Firefox and see if you are offered an automatic Update .. if not, read on.

If you already have a working Firefox 4, Firefox 5, or Firefox 6 installation at /opt/firefox .. All you need to do to upgrade it to Firefox 7 is to open a terminal and run these 3 commands:

Code: [Select]
wget "https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/7.0.1/linux-i686/en-GB/firefox-7.0.1.tar.bz2"
then
Code: [Select]
sudo tar -jxvf firefox-7.0.1.tar.bz2 --directory /opt

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



By FAR the best piece of advice I can give AA1 users who are still using the Linpus Lite operating system would be ..

It would be a good idea for readers of this topic to give seriously consideration to switching from the AA1's default OS (Linpus Lite) to something like PeppermintOS (Three), which is a more up-to-date OS that is still (unlike Linpus Lite) receiving security and software updates .. it also has access to ALL the latest software (as it's based on the Ubuntu 12.04 Long Term Support release) and will receive automatic updates for 5 years, it also has a desktop environment more like the Windows one.

Click the following link for further information, and an installation tutorial:
Tutorial - Installing PeppermintOS Three on an Acer Aspire One AOA110L ZG5

It's my OS of choice for an AA1, and beats Linpus Lite "hands down".



This tutorial was written and tested on an AA1 kindly donated by Kath C so it could be used to help other AA1 users .. thanks Kath :)
« Last Edit: January 17, 2013, 12:46:44 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 pmpbw

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #1 on: November 08, 2011, 12:39:15 am »
Hello Mark
Your step by step instructions on upgrading firefox seemed to be the godsend I have been praying for these past 5 or 6 months.
After the prompt
[user@localhost ~]$
I typed in the code, checking carefully to make sure I made no errors. However, when I pressed ENTER after sudo tar -jxvf firefox-7.0.tar.bz2 --directory /opt I got this message:
audit_log_user_command():  Connection  refused
However, a lot of lines followed, starting with 
firefox/ 
and ending with
firefox/crashreporter
I typed in the next line, after the prompt sudo mkdir /opt/firefox/plugins  and I got the reply
auit_log_user_command():  Connection  refused

What am I doing wrong? What does this Connection refused mean?

Pmpbw

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #2 on: November 08, 2011, 12:42:57 am »
You are doing nothing wrong .. this is a well known bug in the version of sudo used in some versions of Linpus Lite (as used on the AA1).

The good news is that for the vast majority of people the "Connection  refused" error can be ignored, as the command is carried out anyway .. so just carry on with the instructions.

If they don't work, come back here and I'll help you through it ;)
« Last Edit: November 08, 2011, 12:46:56 am 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 pmpbw

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #3 on: November 08, 2011, 01:00:26 am »
Hi Mark.
I ignored the Connection refused comments, and carried on, and to my utter delight Version 7 of Firefox has been successfully installed. Thank you so much. I was beginning to despair of ever getting my favourite apps back working on my AA1. I'm really grateful to you.
Pmpbw

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #4 on: November 08, 2011, 01:05:30 am »
You're most welcome :) .. be sure to upgrade the flashplayer to version 11 too .. instructions linked to in the Firefox 7 tutorial .. or here:
http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-flash-player/msg68331/#msg68331

Then things like Youtube videos, BBC iPlayer, and Flash games (Facebook etc.) should work in Firefox too :)
« Last Edit: November 08, 2011, 01:11:43 am 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 Catg

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #5 on: November 18, 2011, 12:29:04 am »
Oh my goodness, thank you so much for this! I thought I was going to have to throw my much loved & elderly aspire one in the bin after FF8 & my attempts to get rid of it very nearly killed it!!!

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #6 on: November 18, 2011, 12:36:50 am »
Yuo're very 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 scrants

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #7 on: November 20, 2011, 04:53:40 pm »
Hi,

Thanks for your brilliant instructions.  I have installed Firefox 7 and Flash Player but now my shutdown won't work.  When I click on the icon, nothing happens.  Please help.

I've solved the problem!  I used the shutdown command in terminal and re-booted.  I now works!

Thanks
« Last Edit: November 20, 2011, 05:51:21 pm by scrants »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #8 on: November 20, 2011, 05:24:40 pm »
Have you got any room left on your SSD ?

open a terminal and enter:
Code: [Select]
df
hit enter, and post back what is returned in the terminal:

also send the output from
Code: [Select]
df -i

and the output from:
Code: [Select]
ls ~/
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline scrants

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #9 on: November 20, 2011, 06:02:14 pm »
[user@localhost ~]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1            152799040   3130988 141906252   3% /
none                    252364         0    252364   0% /dev/shm
none                 152799040   3130988 141906252   3% /mnt/home
[user@localhost ~]$ df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1            19415040   87502 19327538    1% /
none                   63091       1   63090    1% /dev/shm
none                 19415040   87502 19327538    1% /mnt/home
[user@localhost ~]$ ls ~/
? ??              Downloads                   libfreebl3.so  libsmime3.so
amsn_received     ff.tar.bz2                  libnspr4.so    libsoftokn3.so
beas picture.png  firefox-7.0.tar.bz2         libnss3.so     libssl3.so
DataCardGKU       flashplayer11-32bit.tar.gz  libnssckbi.so  Music
Desktop           Image_00000.jpg             libplc4.so     Pictures
Documents         Image_00001.jpg             libplds4.so    Videos
[user@localhost ~]$

Although I think I've solved the problem, this is what came up after your instructions.


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #10 on: November 20, 2011, 06:04:33 pm »
So is the problem solved ? .. what was it ? .. just in case it helps others in the future :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline scrants

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #11 on: November 20, 2011, 06:17:57 pm »
The shutdown icon wouldn't respond after the installations.  I searched for a solution and found the shutdown command shown below.

I copied it into the terminal and it shutdown.

I re-booted and all was normal again.

Thanks anyway for your swift response.,


sudo shutdown -h now



Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #12 on: November 20, 2011, 07:04:23 pm »
Oddly enough I was going to suggest that next .. believe it or not ;)

Thanks for that though .. even though I'm confident the Firefox 7 installation and your shutdown issue are unconnected, it's worth having the solution here *just in case* it helps any future readers who find themselves in the same boat :)
« Last Edit: November 21, 2011, 07:48:49 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 freddie

  • Jr. Member
  • **
  • Posts: 81
  • Karma: 0
  • Gender: Male
  • Greybeard programmer but Linux virgin
    • View Profile
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #13 on: November 23, 2011, 04:14:58 pm »
Hello again Mark

As you say ... THERE ARE MAJOR ISSUES WITH FIREFOX 8 on  Linpus Lite
- like it has completely screwed up my browsing experience
- which is such a shame after all the help you gave me to rescue my Acer from the bin!

Will your instructions work for a fool like me who upgraded to 8?

(Pity the Forum won't let you search for 'Firefox 8' - it insists in a min of two characters in a search item)
AA1 with SSD. Running Peppermint 3 (formerly on Linpus). Really grateful to Mark for keeping me going!

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux
« Reply #14 on: November 23, 2011, 07:12:53 pm »
The forum will search for the TERM "Firefox 8" if you surround it with quotation marks, otherwise it searches for two separate words, 'Firefox' and '8' and the word '8' is too short ;)

Yes, just follow these instructions again and Firefox 8 will be replaced with Firefox 7 .. and if you skip the "chown" command it will not auto update in the future :)
« Last Edit: December 02, 2011, 04:02:41 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