The Linux Community Forum

Support => Netbooks => Topic started by: Mark Greaves (PCNetSpec) on August 17, 2011, 11:21:53 pm

Title: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 17, 2011, 11:21:53 pm
This topic is now outdated... there are now instructions for installing Firefox 7 here:
(click the link below)
Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux (http://linuxforums.org.uk/index.php?topic=9707.0)



Those who have ALREADY upgraded your version of Firefox 2 to Firefox 4 or 5 by following the instructions here:
http://linuxforums.org.uk/netbooks/install-firefox-4-on-an-acer-aspire-one-running-linpus-lite-linux/ (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/ (http://linuxforums.org.uk/netbooks/install-firefox-5-on-an-acer-aspire-one-running-linpus-lite-linux/)
see the "How to UPGRADE FF4 or FF5 to Firefox 6" section at the bottom of this posting.


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

WARNING - DO NOT uninstall Firefox 2 prior to installing Firefox 6... 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 6.0.2 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 6:
Code: [Select]
wget -O firefox-6.0.tar.bz2 "http://download.mozilla.org/?product=firefox-6.0.2&os=linux&lang=en-GB"
(you can change the en-GB language variable on the end to any of the other language codes for FF6 that can be found HERE (http://www.mozilla.com/en-US/firefox/all.html#languages))

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

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

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

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 6:
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 6 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 6 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 (http://macles.blogspot.com/2008/07/installing-firefox-3-on-acer-aspire-one.html)
I've just modified the instruction slightly for FF6, added the libstdc++.so.6 file (from fedora 10 32bit) which is needed by FF4 / FF5 / FF6, and made it slightly easier to undo.

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 (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/ (http://linuxforums.org.uk/netbooks/acer-aspire-one-netbook-running-linux-can-i-update-to-the-latest-firefox/)



How to UPGRADE FF4 or FF5 to Firefox 6

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

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, and restart it... it should now be Firefox 6
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: gecko_03 on August 18, 2011, 04:43:33 pm
Hi and thanks again for the update. Upgrading from FF5 to FF6 worked for me.

The only funny thing is that the Firefox Icon in the uppermost menu (above the menu bar) is not being displayed any more. It has obviously been replaced by a Linux standard icon (see attached desktop picture).

This is of course not grave, but do you have any ideas how this could have happened?
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 18, 2011, 04:58:31 pm
I take it you mean the little cube symbol in the title bar, next to where it says Google - Mozilla Firefox ?

If so, I've no idea, but if you want to try a "clean" install of Firefox 6 (rather than over the top of FF5) to see if that makes a difference, let me know and I'll post instructions.

If you want, I'll see if I can discover where it gets that graphic from.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: gecko_03 on August 18, 2011, 10:28:58 pm
Thanks, Mark. This is quite embarassing, but I had made a mistake while extracting the firefox tar.gz file. As a consequence the chrome folder with the icon info was missing. I have extracted the files again and that solved the problem.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 18, 2011, 10:42:48 pm
No worries... thanks for the update, so others won't think it's a Firefox 6 issue :)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: mako6 on August 22, 2011, 08:11:44 pm
Thanks for this but sorry- I can't figure out what FF version I have- the about says: 
version 3.0.3, Firefox/ 5.0 (x11; U: LinuxI687. En—US rv: 1903  Gecko/2008102718 Fedora 3.0.3-3.fc8 Acer Firefox/ 3.0. GTB 7.1

I only updated it once from the original, I think with a package from official ASPIRE ONE programs, so think I have 3, but not sure- maybe I did some update from my Firefox. I downloaded the 6.0, is that solid + better, as is the 5.0?? I do have intermittent freezes on this version, but with only 512M Ram, worried the newer versions suck much more resources. Is that true?  You recommend 5 or 6.0? Any chance this'll permenantly break browser?

Lastly, I did your flash update (got corrupted download first, stop any other programs or web activity first), I presume this will have to be redone if I update the FF, or is it separate?????   Thanks again- people like you are a godsend, esp when the Aspire group sometimes ignores requests, and this OS is so marginal. Is there an Opera or other browser that will work well with it (and detailed instructions)?

 How does one permenantly lock a folder onto the left panel of Thunar? I've read much pompous advice to replace Linpus, but only thing that seems to actually run all the hardware is Mint 10 . Is that more reliable, and not a glutton for resources?
Michael
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 22, 2011, 08:54:06 pm
OK, first, are you running Linpus Lite... does your desktop look like this ? :

(http://linuxforums.org.uk/MGalleryItem.php?id=1421)

If so, start up Firefox, then in the menu, click Help > About Firefox, you should see a screen similar to this:

(http://linuxforums.org.uk/MGalleryItem.php?id=1211)

Which will tell you which version of Firefox you are currently running... Which version does it say ?

Firefox 5 or 6 shouldn't really be any more system resource hungry than Firefox 3.

Changing the version of Firefox will NOT effect the Flash version in /home/user/.mozilla/plugins so it will not need to be reinstalled.

At a guess (but it *is* a guess) I'd say it probably is possible to install Opera... I recently recieved a personal message from someone who had Opera on an AA1... but you then have to modify an Opera config file to point it at the Firefox flashplayer plugin.

I haven't actually got an AA1, so I'd rather not go into how to install Opera... at least not in this topic, but I'll look into it if you post the question as a separate topic.

Adding a folder to Thunar... again, I'm not 100% sure, I take it you've tried dragging and dropping... have you tried adding it to bookmarks (if there are boookmarks in Thunar ?).

Though Mint 10 (main GNOME edition) will definitely be easier to configure, and will give you easy access to more up-to-date software... it will definitely be more resource hungry, and will slow your system... so if you decide to give another OS a try, I'd suggest trying something like Mint LXDE, or Lubuntu (both of which use the lighter LXDE desktop), or Xubuntu (which uses the XFCE desktop which is a light desktop too).
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: alphabravox on August 25, 2011, 07:40:10 pm
I'm attempting to install Firefox 6 on a Linpus Aspire One, starting from the original Version 2.  Following Macles instructions as far as linking in the plugins - gets an error "ln: target '/opt/firefox/plugins' is not a directory".  In /opt/firefox I can see firefox, firefox-bin,plugin-container but no plugins. 

Suggestions on how to proceed welcomed!
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 25, 2011, 07:52:33 pm
You must have missed out the:
Code: [Select]
sudo mkdir /opt/firefox/plugins
command.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: alphabravox on August 25, 2011, 08:39:55 pm
Absolutely!  Macles unaccountably missed out that bit in his instructions  but I see it in yours.  All now successful and FF6 is running.  Many thanks.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 25, 2011, 09:32:07 pm
:) glad you're up and running now.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: mako6 on August 26, 2011, 06:14:46 pm
Linpus Light, right.  So the instructions for FF3.0.3 are the same as for FF 2?   Only I've already created the /opt/firefox/plugins directory for flash so dont have to do that again, right?

Know any AUDIO RECORDING program for this beast? or Webpage Editor? Or a way to customize the desktop?
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 26, 2011, 06:31:12 pm
Firstly, the flashplayer isn't in /opt/firefox/plugins .. it's in /home/user/.mozilla/plugins (or should be).

If you follow the instructions at the top of this topic... they should work, no matter which version of FF you have installed... if you have FF3 installed at /opt/firefox  the first command will back that directory up, so in a worst case scenario, you could just rename it back, and you'd be back to FF3.

Once Firefox is installed, follow the instructions for installing the flashplayer plugin here:
http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-flash-player/msg62581/#msg62581 (http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-flash-player/msg62581/#msg62581)

Quote
Know any AUDIO RECORDING program for this beast? or Webpage Editor? Or a way to customize the desktop?


No, but if you post the question as a separate topic, I'll see what I can find... may take a while though, as I don't own an AA1, and Linpus will NOT load as a virtual machine, so I'm kinda working in the dark here ;)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: mako6 on August 27, 2011, 08:37:14 pm
what does this mean? I don't have an opt directory, that I can find- does your instruction create it? Your flash instructions included a ~ (tilde?) in front of directories- does it need that? Did ff6 download about a week ago- its not the newest file in Downloads, but why would it even find it without specific direction? This leaves the old installation too, right, so you can start that if you wish? Idiot Linpus gives everyone owner priviledges, right, why you don't need sudo su?

[user@localhost ~]$ sudo mv -v /opt/firefox /opt/firefox-backup
mv: cannot stat `/opt/firefox': No such file or directory
[user@localhost ~]$ sudo tar -jxvf firefox-6.0.tar.bz2 --directory /opt
tar: firefox-6.0.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[user@localhost ~]$ sudo tar -jxvf /Downloads/firefox-6.0.tar.bz2 --directory /opt
tar: /Downloads/firefox-6.0.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

On another issue, I can't search for a file in the file manager, and it's impossible that I've gone 2 years withot noticing this. Am I retarded, or is there not any way to search? How can you answer any of these questions w/o an AAO w Linpus?
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 27, 2011, 10:13:56 pm
Jeez, there's a few question there ;) .....

Before you do anything else, can you answer my questions at the end of this post, and I'll then be able to tell you what you need to do to get FF6 installed.

Quote
I don't have an opt directory,


I'd be VERY surprised if you don't have an /opt directory, if there isn't one you must have deleted it at some stage... in a terminal enter:
Code: [Select]
thunar /
hit enter... can you see an opt directory ?

If there ISN'T an opt directory, you can create one with:
Code: [Select]
sudo mkdir /opt

Quote
Your flash instructions included a ~ (tilde?) in front of directories- does it need that?


A tilde (~) means, start in the currect users home directory... it saves having to type /home/<username> and also means I don't need to know if you've changed from the default Linpus username (user)... if you wish, you can replace the tilde with the FULL path to your home directory.

Quote
Did ff6 download about a week ago- its not the newest file in Downloads, but why would it even find it without specific direction?


Nowhere in my instructions does it say to download Firefox 6 to the Downloads directory... the wget command will download it to the current directory, which if you'd followed the instructions would be your home directory... but it doesn't really matter which directory you are in when you run the wget command, because the next command unpacks the downloaded archive to /opt

Quote
This leaves the old installation too, right, so you can start that if you wish?


If you mean do these instructions remove anything from you system... NO they do not... the original Firefox will still be there, though if you follow them to completion, you would need to start the old copy of FF from the command line as the shortcut will now point to Firefox 6.

Quote
Linpus gives everyone owner priviledges, right, why you don't need sudo su?


Erm, NO it doesn't... that's why you need sudo, to gain root privileges... sudo su effectively makes you the root user, whereas sudo just (temporarily) gives your user account root privileges.... I'm not going to go into the differences between sudo and su here, that's what Google is for ;) .. see here:
http://kb.iu.edu/data/amyi.html (http://kb.iu.edu/data/amyi.html)

Also, though I see sudo su all over the internet, I'm no longer convinced this is the best way to switch to a root prompt, in most cases (if mot all) sudo -s is probably a better way of doing it.

Quote
[user@localhost ~]$ sudo mv -v /opt/firefox /opt/firefox-backup
mv: cannot stat `/opt/firefox': No such file or directory
[user@localhost ~]$ sudo tar -jxvf firefox-6.0.tar.bz2 --directory /opt
tar: firefox-6.0.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[user@localhost ~]$ sudo tar -jxvf /Downloads/firefox-6.0.tar.bz2 --directory /opt
tar: /Downloads/firefox-6.0.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors


These errors could mean one of 2 things.... either you don't have a file called firefox-6.0.tar.bz2 in either your home folder, or your Downloads folder... OR... as you say, you don't have an /opt directory (you would definitely have an opt directory by default, so if it doesn't exist, it must have been deleted at some point).

Quote
On another issue, I can't search for a file in the file manager, and it's impossible that I've gone 2 years withot noticing this.


Can't really help you with the search function (other than maybe explaining how to search from the command line), as I don't have an AA1.

Quote
How can you answer any of these questions w/o an AAO w Linpus?


Under the skin, most Linux distro's are *fairly* similar, certainly as far as the directory structure is concerned.



OK, now can you answer some questions for me, so we can sort out the FF6 installation for you....

Open a terminal and enter:
Code: [Select]
ls ~/
hit enter, and post the output back here.

Back in the terminal enter:
Code: [Select]
ls ~/Downloads
hit enter, and post the output back here.

Back in the termina enter:
Code: [Select]
ls /
hit enter, and post the output back here.

Back in the terminal enter:
Code: [Select]
ls /opt
hit enter, and post the output back here.

Some of the above may fail, but post what's returned anyway.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 10:16:18 pm
Nice guide, very helpful probably, but what if i "accidentaly" deleted my firefox 2 directory?  :'(
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 10:20:05 pm
If all you did was delete the Firefox 2 directory .. You should be OK if you follow the instructions above.

Just DON'T uninstall it through your package manager... it's the act of UNINSTALLING FF2 that will kill Linpus Lite, as it also uninstalls other dependencies that are needed for Linpus Lite to work properly.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 10:23:37 pm
Seriously? cause i got in the /usr/lib directory and deleted the firefox directory that was there, well it actually didnt let me delete few files that are in there but i deleted all it left me to and renamed the directory, i can probably restore the files i deleted but i dont remember the previous name of the firefox directory, meanwhile i'll try the guide.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 10:28:04 pm
The Friefox 2 directory won't be used any more after following the instructions for installing Firefox 6... but if you want to restore it, it won't hurt either ;)

Do you need to know the Firefox 2 directory name ?

[EDIT]

The original Firefox 2 directory was

/usr/lib/firefox-2.0.0.14

on an Acer Aspire One running Linpus Lite :)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 10:36:39 pm
Would appreciate it  ;D btw, any idea on why when i click on the icons in the desktop nothing happens? like i click on documents, it reacts to the mouse position but not on the click, same with all other icons. i'll try to reboot meanwhile.

EDIT: reboot worked lolz

EDIT 2: Im confused. i tried to open the browser from the default browser icon and it acutally opened firefox 6. but i wasnt done with the install yet. i had just moved the firefox directory to /opt and rebooted. is that enough or i have to finish following the guide instructions? xD
thanks for the help anyways. never used a linux before and my XP died few days ago, using my sisters netbook, which has broken monitor so its plugged to an external one, its odd with all this stuff attached lolz by the way, any chance i can install games on it? kinda finished all my xbox stuff lol Thanks :D
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 10:42:57 pm
See the [EDIT] above ;)

Sorry, no idea about the icons... has this only started happening since you deleted the Firefox 2 directory ? .. though I can't see how just deleting the FF2 directory would cause that.

Did you delete or uninstall anything else ?

BTW, I've just updated the Firefox 6 instructions to Firefox 6.0.1

If you want the Italian version, replace the wget command with:
Code: [Select]
wget -O firefox-6.0.tar.bz2 "http://download.mozilla.org/?product=firefox-6.0.1&os=linux&lang=it"
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 11:05:15 pm
See the EDIT's above xD

Thanks but how do you know im in italy? xD and anyways no thanks the version i somehow got to work is in italian xD Btw it actually did download the 6.0.1 before too, to me atleast xD
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 11:06:46 pm
Was this the last command you entered ?:
sudo tar -jxvf libstdc++6.tar.bz2 --directory /opt/firefox

If so, you can leave the other stuff... and if it isn't, I'm VERY surprised firefox is working.

Games... there ARE some games available that will work on the AA1, but they aren't (normally) easy to install.

I haven't actually got an AA1, so I can't really help you there... I DID know od a site, but it's down now... sorry.

[EDIT]

I know you're in Italy from your IP address :)

BTW, you might want to follow the link for updating the Flash Player too.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 11:11:23 pm
the last thing i entered in your guide is the download thing but the things i entered from the other guide were
 cd ~/Downloads/

tar xjf firefox-6.0.tar.bz2

sudo mv firefox /opt/firefox6

EDIT: yeh i suspected so xD
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 11:13:57 pm
OK, I'm lost... what other guide ?
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 11:16:48 pm
Sorry xD another guide i found on another site, it was easy but didnt work till now, maybe it needed the reboot to work. do you want the link? if so i'll edit it here

http://www.libre-software.net/how-to-install-firefox-on-ubuntu-linux-mint (http://www.libre-software.net/how-to-install-firefox-on-ubuntu-linux-mint) 
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 11:18:43 pm
Please :)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 11:26:54 pm
Are you sure you're running Linpus Lite ? .. because those instructions are for Ubuntu/Mint and SHOULDN'T work in Linpus Lite ?

[EDIT]

Deos your desktop look like this ?:

(http://linuxforums.org.uk/MGalleryItem.php?id=1421)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: kalash on August 31, 2011, 11:39:04 pm
totally sure, yeh same desktop but for the mobile thing icon, i have the MSN icon there, by the way, after the flash player update it returned to firefox 2.0 .___. following your guide to the last now on
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on August 31, 2011, 11:42:07 pm
Remember to change the wget line to:
Code: [Select]
wget -O firefox-6.0.tar.bz2 "http://download.mozilla.org/?product=firefox-6.0.1&os=linux&lang=it"

If you want FF6 in Italian

[EDIT]

Well I'm totally baffled how Firefox 6 started, as Linpus Lite doesn't contain libstdc++.so.6 which is needed by Firefox 6, so needs to be installed during my instructions.

VERY ODD  :o
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite LinuxRE: NO OPT
Post by: mako6 on September 01, 2011, 06:19:18 pm
   Thanks. No I have the FF6 in Downloads. Found the /opt, but it doesn't show up in shortcut view at all, only in tree view- really don't understand their directory structure- it seems to be a mess compared to Ubuntu. In OPT only have directories: Adobe  GKxdatacard

I don't have a user name- I recovered this beast, and when I try to do a password it wants an old one- anyone know what the default one was (00000?), so the folder in home directory is USER. It is funky- had some SSD problem and it wasn't booting up for 6 months, when I rapped it on the sides it worked, Was going to dissemble it, but problem hasn't returned in a few weeks.

Kind of scared to try this- what is terminal command to open old FF (mine's 3 but not in /opt) if 6 doesn't work well.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on September 01, 2011, 06:25:32 pm
You say you don't know the "user" password... as far as I'm aware it doesn't ask for one

what happens if you enter:
Code: [Select]
sudo mousepad
and hit enter.

does it ask for a password ? .. if so try leaving it blank .. does mousepad open ?

[EDIT]

We'd have to find where Firefox 3 got installed... do you know where on the system it is installed ?

If not, can you post the output from:
sudo find / -name firefo*
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: flyfly2011 on September 02, 2011, 03:08:05 am
The password is 111111
And you can execute "sudo su -", then you can be the super user.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on September 02, 2011, 01:32:00 pm
The default password will no doubt be a very handy piece of info for a lot of users... Thanks :)

I still contend that using sudo -s (for CLI commands and NON-GUI apps, see the WARNING and CAVEAT below) is better than using both sudo and su in the same command... though you'd probably get away with it 99.99999% of the time, you are effectively stacking 2 sets of PAM (Pluggable Authentication Modules) rules... Now I know that pam is supposed to be able to stack rules:
http://linux.about.com/library/cmd/blcmdl8_pam.htm (http://linux.about.com/library/cmd/blcmdl8_pam.htm)
But I still contend using sudo -s to achieve an interactive root shell "as user" and using the "user" password (and therefore a single pam authentication rule) is a better idea ;)

Not to mention the fact that if ~ is used in a path as part of a command (to represent your home directory), it will still represent your "user" home directory.... whereas with sudo su, ~ will represent the /root directory. :) .. though I suppose I *should* add a warning and caveat here:

WARNING - Creating, or editing and saving anything in your "home" directory whilst running as root (by any method, eg. sudo, sudo su, or sudo -s) will cause it to be created/saved with root as the owner and group... ie. it will NOT (or no longer) be owned by the "user" account... so use with caution.
(if you intend to make any changes in your home directory, it's best done from a normal user $ prompt, rather than a root # prompt)

CAVEAT
- If you intend to run any GUI (grapical) applications from the command line "as root", getting to the root prompt with sudo su would probably be a better idea, as graphical applications may save their configuration files in the "home" directory, and you don't want the permissions to have changed in your "user" home directory.
(*similar* to the sudo Vs gksudo argument for running GUI apps in GNOME)

I think my point is... be aware of the difference(s), and what can happen.  :o
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: mako6 on September 04, 2011, 07:59:34 pm
Well, I did it with ~/Downloads/FF and it worked OK. I followed your instructions exactly + it put it in Downloads (my default dir for, ah, DOWNLOADS!!! ha ha). That's what I was asking- how can it know where that file is- you have to tell it. But the lib6 file went into /home. Shoulda downloaded 6.1 (any important fixes in that?), but why be current- more fun to do the same thing over and over. Actually once it was running, did it (6.0.1) off the website- hope that doesn't bung up the Linpus version.  It wants to update the flash player too- will it understand + do the LINPUS version... or break it. Did this initially offline, and it opens OK without asking for that last file in your dropbox (6.0). Already redirecting from main icon so not sure what creating new profile is for.  But I'll dutifully install it- I don't know enough to alter your edicts, and who knows what its online behavior is.  Will there be an option for the old FF3.0.3 in the right click advanced menu, or can I make that? Did the find /firefox* search but it found nothing (you need name?) Actually the new profile was annoying, losing all my bookmarks, windows, add-ons; so I went back to default, which also uses 6.0.1. Couldn't find an import profile or settings tab.

 I think the default behavior for Linpus is some crazy loop that gave everyone su priviledges and defeated all security provisions of the Linux password. Read some post on it and several people concurred, inc my roommate who was just snapped up from Ukraine by Google NYC. It would ask for password on petty stuff, but allow one (or any hacker) to do major changes without it!  Please do explain more what each of these arcane instructions do (great that you do)- most of us understand general principles so can tweak things, so we don't have to ask you dumb questions. First you said you don't have to reinstall new Flashplayer, then you said you should- actually it wasn't playing Daily Show anyway, but never tested it properly.  Good- can set a real good password so next time I dont use it for 4 months, it's a doorstop.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on September 04, 2011, 08:22:27 pm
Quote from: mako6
how can it know where that file is

If you'd followed the instructions (using wget) rather than "manually" downloading the Firefox archive from the Mozilla website... the location of the Firefox archive would have been irrelevant as the wget command would have downloaded it to the current directory, and the next command would have unpacked it from the current directory to /opt :)

If you "manually" download it from the Mozilla website, you would either have to cd into the directory that you downloaded it to, or amend the path in the tar command.

There is no special Linpus version of FF6... the wget command just downloads the normal Linux version from the Mozilla website, to the current directory.

I'm guessing either Mozilla have changed the libstdc++ version requirement for FF6, or Linpus have sent the newer version through as an OS update, because you are the second person to say they didn't need that file... I'll leave it in the instructions because it won't hurt to have a copy in the /opt/firefox directory, and if I take it out you can guarantee someone will need it :)

The ONLY reason for creating a new profile, is because the FIRST  time you start FF6 it will update the databases in the current profile... meaning you would no longer be able to use that profile in the old version of Firefox (if you ever needed to).

I said IF YOU'D ALREADY INSTALLED THE NEW VERSION OF FLASHPLAYER... there was no need to RE-install it ;)

Anyway... glad it worked out for you :)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on September 08, 2011, 07:24:09 pm
Instructions updated to Firefox 6.0.2
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on September 17, 2011, 10:00:59 pm
Topic split at this point, because it went a little off topic, and wasn't "really" related to (or caused by) the instructions in this topic.

Split to here:
http://linuxforums.org.uk/netbooks/linpus-lite-messed-up-file-system/ (http://linuxforums.org.uk/netbooks/linpus-lite-messed-up-file-system/)

@ teebee .. go to the above link.

ANY other postings related to installing Firefox 6 using the instructions in the first posting of this topic... post them here :)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: sharpo on October 17, 2011, 08:50:13 pm
I'm using Firefox 2.0.014 & am trying to install Firefox 6 following the instructions. Using terminal, what exactly does "connection refused" mean? Is something not working properly?

I know wget has worked as I can see the firefox-6 bz2 file listed in file manager.

The extract comes up with "Connection refused" followed by
firefox/
firefox/mozilla-xremote-client
etc.etc

Create plugins seems to have worked without a problem

Change group to user just says "Connection refused"

Is something going wrong or is it normal??

I'm usually good with computers but linux is new to me.

Thanks.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on October 17, 2011, 08:58:19 pm
The "connection refused" error is a known bug in sudo on Linpus Lite.

You can either safely ignore it and continue regardless of the error (works for most people).

Or

For every command that starts with sudo .. change to a root prompt with:
Code: [Select]
sudo su

the prompt should then change from an $ to an #

then enter the same command, but leave off the sudo from the beginning.

you can exit the root prompt (for commands that DON'T start with sudo), by entering
Code: [Select]
exit
in the terminal and hitting enter.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: sharpo on October 17, 2011, 09:40:20 pm
Thanks Mark, I'll give that a try & let you know what happens (maybe not tonight though)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: sharpo on October 17, 2011, 10:12:54 pm
Pleased to say it worked!

Just ignored "connection refused" and continued to the end.

After re-booting it even automatically updated to Firefox 7.0.1

Thanks again.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on October 17, 2011, 10:19:50 pm
You're welcome :) .. you might want to follow the instructions for updating the flashplayer though.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: freddie on October 28, 2011, 05:10:25 pm
Mark

You are totally amazing

I have just done the Firefox upgrade (and even almost understood what I was doing thanks to your excellent instructions)
And like Sharpo I got the automatic update to Firefox 7.0.1

Then I did the Flashplayer upggrade (Your instructions* Oct 07). I now have version 10.3.183.7 installed and working so we can watch iPlayer again (they upgraded it recently and I couldn't watch it ) - so my wife will be thrilled!

BUT why have I got the wrong Flashplayer? Going to Tools>Addons>Plugins there is only that one ShockwaveFlash.
And when I click 'Check to see if your plugins are up to date' it says it is up to date. Have I done something wrong?

* BTW When you have a moment (ha ha) you could add annotation to Flash like the Firefox instructions

Thanks again for all your skill - you saved this Acer from going to landfill!
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: freddie on October 28, 2011, 05:41:34 pm
Oops!
I see what I have done - must have used the wrong set of instructions after all
Sorry!
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on October 28, 2011, 06:50:04 pm
Your welcome, I'm glad you got it all working .. even after the small flashplayer hiccup :)

I'll add annotation to the flash 11 instructions in a bit .. I'm about to rewrite the Firefox instructions for version 7.01, I'll point the flash link directly at the flash 11 posting rather than the flash 10 posting :)

Watch out for more AA1 software installation tutorials in  the near future, now that Kath C has kindly donated an AA1 :)

[EDIT]

Annotation added to the flashplayer 11 posting here:
http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-flash-player/msg68331/#msg68331 (http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-flash-player/msg68331/#msg68331)

and new instructions for Firefox 7 (for an AA1) here:
Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux (http://linuxforums.org.uk/index.php?topic=9707.msg69236#msg69236)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Leonbidet on November 02, 2011, 05:43:16 pm
Hi,

I've only just discovered this site.

I updated Firefox on my Acer Aspire One (Limpus Lite) using http://macles.blogspot.com/2008/07/installing-firefox-3-on-acer-aspire-one.html (http://macles.blogspot.com/2008/07/installing-firefox-3-on-acer-aspire-one.html) (perfect!), and am now running FF 3.6.23

It seems OK but there are a few sites which aren't supported, so I'm thinking of updating (good idea?)

If so,, the instructions here are for FF2 to FF6, or FF4 or FF5 to FF6. But I suppose what I want to do now is go from FF3 to FF7. Which route should I take?

Cheers
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on November 03, 2011, 01:13:40 pm
The instructions at the macles link should have installed Firefox 3 to /opt so the instructions for Firefox 6 or Firefox 7 should be OK for you too

If you follow the instructions for Firefox 6 here:
http://linuxforums.org.uk/index.php?topic=9481.0 (http://linuxforums.org.uk/index.php?topic=9481.0)

when Firefox 6 is installed, start Firefox then go to Help > About Firefox (in the Firefox menu's) it will automagically offer to update to Firefox 7.0.1

[EDIT]

or even better, see here:
Install Firefox 7 on an Acer Aspire One running Linpus Lite Linux (http://linuxforums.org.uk/index.php?topic=9707.0)
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Leonbidet on May 16, 2012, 01:08:00 am
Sorry it's taken me so long to reply, but thanks anyway. Very helpful.
Title: Re: Install Firefox 6 on an Acer Aspire One running Linpus Lite Linux
Post by: Mark Greaves (PCNetSpec) on May 16, 2012, 01:41:50 am
No problem :) .. I hope you're sorted now.

Have you considered moving from Linpus Lite (which is based on Fedora core 8 which reached "end of life" some time ago, so no longer receives any security or software updates) to something more up-to-date like PeppermintOS which will run all the latest software ?

Full tutorial here:
http://linuxforums.org.uk/index.php?topic=9782.0 (http://linuxforums.org.uk/index.php?topic=9782.0)
if you're interested.

Bear in mind, PeppermintOS Three will be released in the next few weeks so if you are considering a change, it may be worth waiting till then.
SimplePortal 2.3.3 © 2008-2010, SimplePortal