Daily Archives: May 22, 2013

Update Firefox 17 esr on Tiny Core Linux

If you install Firefox 17 from “Apps”, you can see that firefox version is not the current version from mozilla.

firefox17appsAnd if you use that version, you’ll get annoying pop-up window saying that you need to update your firefox. Fortunately, it is easy to update firefox in Tiny Core Linux. Here is what I have done:

1. Download the current firefox version (in this example version 17.0.6):

wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr/linux-i686/en-US/firefox-17.0.6esr.tar.bz2

2. Extract the newly downloaded firefox:

tar xjvf firefox-17.0.6.esr.tar.bz2

3. Move the original firefox tcz file to the current directory:

mv /mnt/sda1/tce/optional/firefox17.tcz .

4. Extract the tcz file:

unsquashfs firefox17.tcz

5. Delete all of the files and directories under “squashfs-root/usr/local/firefox17”:

sudo rm -R squashfs-root/usr/local/firefox17/*

6. Move all the files and directories in firefox folder:

mv firefox/* squashfs-root/usr/local/firefox17/.

7. Rename folder “squashfs-root” to “firefox17”:

mv squashfs-root firefox17

8. Create firefox17.tcz file:

mksquashfs firefox17 firefox17.tcz

9. Move the newly created tcz file to tce folder:

mv firefox17.tcz /mnt/sda1/tce/optional/.

10. Don’t forget to delete firefox folders:

rmdir firefox
sudo rm -R firefox17

11. Update the md5 checksum file:

cd /mnt/sda1/tce/optional
md5sum firefox17.tcz > firefox17.tcz.md5.txt

12. Restart computer, open firefox and check the version.

firefox17version

13. Enjoy!