Firefox 3.6.12

Browsers, email, chat, etc.
Post Reply
Message
Author
User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

Firefox 3.6.12

#1 Post by chrome307 »

This does not create a *.desktop file as it assumes that you already have Firefox installed.

It's approx 11mb:

http://www.mediafire.com/?6jsvziri6f213qk
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#2 Post by Geoffrey »

I don't see why a pet is needed, Firefox can be updated from it's check for updates tab, or if you need the latest version download the firefox-3.6.12.tar.bz2 extract it, then copy the firefox folder and paste it in /usr/lib and when it asks if you want to replace existing files, tell it all, thats the way I've always done it , works just as well as there is nothing to compile.

Here is the downloadhttp://www.mozilla.com/products/downloa ... lang=en-US

Edit:

As you say, this is if you already have firefox installed, but if you don't and you wish it install it all manually then you will need to create a FireFox.desktop file in /usr/share/applications and create a system link to /usr/lib/firefox/firefox and place it in /usr/bin, this is my FireFox.desktop

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=FireFox web browser
Icon=www48.png
Comment=FireFox web browser
Exec=firefox
Terminal=false
Type=Application
Categories=WebBrowser
GenericName=FireFox web browser
MimeType=text/html;
If you wish to change the icon edit the FireFox.desktop to either create a path [ Icon=/where/ever/the/icon/is/icon.png ] or [ Icon=icon.png ] and place the icon you wish to use in /usr/local/lib/X11/pixmaps/icon.png "

Who needs pets, this is more fun and you will get to know your file system.
User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#3 Post by chrome307 »

Geoffrey the reason I have compiled a *.PET file was that I am using a cut down version of Puppy Linux which had Firefox 3.5.4 installed. When I attempted to update it, it failed to do so and informed me that I needed to download the application to install.
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#4 Post by Geoffrey »

chrome307
I see, yes that version of firefox was quite old, I guess that the update for it is possibly no longer available.

I just thought it was a good opportunity to mention that there were other ways to update and create installations without the need to use a pet package, it could possibly help a little those who are new to linux get their heads around how some of the file system is constructed and functions.

Geoffrey
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#5 Post by sc0ttman »

Geoffrey wrote:it could possibly help a little those who are new to linux get their heads around how some of the file system is constructed and functions.

Geoffrey
plus it means people dont need an old firefox to get a new one, and this pet could go in a repo somewhere... also bonuses of pets..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

Firefox updater

#6 Post by Geoffrey »

I wrote a script that will update Firefox to Firefox en-US 3.6.13, this will work to update older versions.

Code: Select all

#!/bin/bash
yaf-splash -placement center -bg yellow -fontsize x-large -text "Downloading Firefox...Please Wait!" &
wget -P /tmp/firefox_install http://pv-mirror01.mozilla.org/pub/mozilla.org/firefox/releases/latest-3.6/linux-i686/en-US/firefox-3.6.13.tar.bz2
killall yaf-splash
cd /tmp/firefox_install
tar xjf firefox-3.6.13.tar.bz2
yaf-splash -timeout 3 -placement center -bg yellow -fontsize x-large -text "Installing Firefox en-US 3.6.13"
rm -r /usr/lib/firefox
mv firefox /usr/lib/
yaf-splash -timeout 3 -placement center -bg yellow -fontsize x-large -text "Firefox is now Installed"
rm -r /tmp/firefox_install 
The script can be changed to suit any newer versions as they are released.

I tried making it as a pet with a menu entry as a full install, this does work but if uninstalled with the package manager it doesn't remove the firefox directory from /usr/lib, this is due to the file txt in .packages not having a full listing of firefox's files and sub directories, I can't seem to find a solution to that as it is expecting to find a empty directory, anyway someone might find this useful.


Edit:

I had another look at this script, it will now download all firefox 3.6 en-US new releases as they are updated on the mozilla web site.

The new code for the script

Code: Select all

#!/bin/bash
yaf-splash -placement center -bg yellow -fontsize x-large -text "  Downloading The Latest Firefox-3.6.xx Please Wait!" &
wget -P /tmp/firefox_install http://pv-mirror01.mozilla.org/pub/mozilla.org/firefox/releases/latest-3.6/linux-i686/en-US/ -r -l1 --no-parent -A.tar.bz2
killall yaf-splash
cd /tmp/firefox_install/pv-mirror01.mozilla.org/pub/mozilla.org/firefox/releases/latest-3.6/linux-i686/en-US/
for i in *.tar.bz2; do tar -xvjf "$i"; 
yaf-splash -timeout 5 -placement center -bg yellow -fontsize x-large -text "Installing $i" ;done 
rm -r /usr/lib/firefox
mv firefox /usr/lib/
yaf-splash -timeout 3 -placement center -bg yellow -fontsize x-large -text "Firefox is now Updated"
rm -r /tmp/firefox_install 
This maybe more useful than the previous script as it only has a short life span before the next update.
Attachments
firefox-3.6-updater.tar.gz
updated see next post
(502 Bytes) Downloaded 504 times
Last edited by Geoffrey on Wed 05 Jan 2011, 14:02, edited 2 times in total.
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#7 Post by Geoffrey »

I have changed the script once again, just can't help myself, just needed to make it a little better in how the messaging performed, now tells which version is installing without the "tar.bz2" on the file name and confirms that it is the correct version that has been installed.

Code: Select all

#!/bin/bash
yaf-splash -placement center -bg yellow -fontsize x-large -text "  Downloading The Latest Firefox-3.6.xx Please Wait!" &
wget -P /tmp/firefox_install http://pv-mirror01.mozilla.org/pub/mozilla.org/firefox/releases/latest-3.6/linux-i686/en-US/ -r -l1 --no-parent -A.tar.bz2
killall yaf-splash
cd /tmp/firefox_install/pv-mirror01.mozilla.org/pub/mozilla.org/firefox/releases/latest-3.6/linux-i686/en-US/
for i in *.tar.bz2; do tar -xvjf "$i";
file="$i"
yaf-splash -timeout 5 -placement center -bg yellow -fontsize x-large -text "Installing ${file%%.tar.bz2*}" ;done
rm -r /usr/lib/firefox
mv firefox /usr/lib/
version=`/usr/lib/firefox/firefox --version ` 
yaf-splash -timeout 5 -placement center -bg yellow -fontsize x-large -text "   Firefox is now updated to...    $version"
rm -r /tmp/firefox_install  
uploaded this version to previous post
Post Reply