Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Moderator: Forum moderators

Post Reply
User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by fredx181 »

Hi All,

Two scripts, ffportable-inst and ff-esr-portable-inst, to install (portable) latest firefox (or firefox-ESR)
Requirements: gtk3 (install from PPM libgtk-3.0*) , and (depends on if it's installed or not): "libatomic1"

After removing the, fake .gz extension and making executable, run the attached script from terminal, e.g.:

Code: Select all

./ffportable-inst
After succesful run: click on the "ff" file inside new created directory (e.g. "firefox_78.0.2_32") to run Firefox portable.

It will download, extract latest Firefox and add some files to the portable folder (e.g. ff script, apulse etc...) so that the result wil be a folder named: firefox_<version>_<arch>, e.g. firefox_78.0.2_32 (version 78.0.2 is latest now) (32 bit) or firefox_78.0.2_64, (64bit) (according to running the script from 64bit OS or from 32bit OS) , rename as you wish.
Run the script from terminal standing in the directory where you want the portable folder to be created.
If preferred, move the folder e.g. firefox_78.0.2_32 to /opt and create a .desktop launcher in /usr/share/applications (so it will appear in the menu), e.g.:
EDIT: or to /mnt/home, then change /opt to /mnt/home

Code: Select all

[Desktop Entry]
Version=1.0
Name=Firefox
Comment=Firefox with apulse
GenericName=Web Browser
Exec=/opt/firefox_78.0.2_32/ff
Terminal=false
Type=Application
Icon=/opt/firefox_78.0.2_32/browser/chrome/icons/default/default48.png
Categories=X-Internet-browser
And run:

Code: Select all

fixmenus
One of the advantages is that the language can be set by making a simple edit on top of the script, default it is en-US, change it to e.g. French:

Code: Select all

FFLANG=fr

Or e.g. German:

Code: Select all

FFLANG=de


Complete list of available languages, see here:
https://ftp.mozilla.org/pub/firefox/rel ... README.txt

Attached ffportable-inst.gz and ff-esr-portable-inst.gz, remove fake .gz extension and make executable.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EDIT: Another way is to download newest firefox from Here or Here in your language
Unpack it, firefox directory will appear, then download: 32bit-additions or 64bit-additions and extract in the new firefox folder (contains "ff" script and "extralibs" folder)
EDIT: Added url links above to 32bit-additions and 64bit-additions
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Fred

ff-esr-portable-inst.gz
Remove fake .gz extension, make executable and run from terminal
(2.02 KiB) Downloaded 169 times
ffportable-inst.gz
Remove fake .gz extension, make executable and run from terminal
(1.85 KiB) Downloaded 176 times
darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Re: Portable Firefox Quantum and Firefox-ESR (including apulse, for sound)

Post by darry19662018 »

Thank you Fred - will try out in my Pups..

P.S. Briefly tested on fossapup and it worked well script downloaded ff and worked well. Youtube had sound and good playback.
User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by fredx181 »

Updating can be done through > Help > About
However, I think standard is that it updates itself when a new version is available.
But if you don't want that, it can be prevented by adding "disribution" folder (with content) in the portable firefox folder.
Extract attached distribution.tar.gz into e.g firefox_78.0.2_32 folder.

Fred

EDIT: @Darren Thanks for testing!

distribution.tar.gz
Extract in portable folder to prevent upgrading
(179 Bytes) Downloaded 183 times
gabtech
Posts: 62
Joined: Sun Jul 19, 2020 12:29 pm
Been thanked: 2 times

Re: Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by gabtech »

Hi,
The link to the 64bit addition is pointing to download link for 32bit.

gabtech :thumbup2:

User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by fredx181 »

Thanks, fixed now.
s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by s243a »

I did a fresh install of Firefox-ESR via this script a day or two ago. Everything was working. Today, firefox updated on me in the the background and now I get the error "Couldn't find the application directory". If I rerun the script to install firefox I get the same error.

wanderer
Posts: 760
Joined: Mon Jul 13, 2020 7:15 pm
Been thanked: 138 times

Re: Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by wanderer »

hi fredx

would like to thank you for ff portable
works great in corepup

you have to add some libs from their ff and alsa downloads
so if anyone is interested in putting it in corepup
post on my thread and i will tell you how

and thanks again fredx

william

User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: Portable Firefox Quantum and Firefox-ESR (including apulse libs, for sound)

Post by fredx181 »

Here are appimages for Firefox version 89.0.2:

32-bit:
https://drive.google.com/uc?export=down ... yo7Pb0eWxV
64-bit:
https://drive.google.com/uc?export=down ... _ldwxdeC2s
Make it executable before running.
EDIT: download links replaced, fixed that it didn't show in Menu (should appear now in category "Internet")

Created as described here:
viewtopic.php?p=29851#p29851
(should add a menu entry, .desktop launcher created in ~/.local/share/applications)

EDIT: Firefox-ESR appimages here: viewtopic.php?p=30817#p30817

Fred

Post Reply

Return to “Browsers and Internet”