You are not logged in.
Would someone will be so kind and give me instruction how to install FIREFOX 60 ESR POLISH VERSION it step by step.
After update I will receive updates ?
Offline
Download the tarball from Mozilla then unpack it and run the firefox-esr binary from your $HOME folder, it will update itself.
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
To elaborate...
Replace Debian's firefox-esr with a version from mozilla.org, step by step.
Visit mozilla.org and download the version and language of Firefox you'd like to use...
Current (Quantum)...
https://www.mozilla.org/en-US/firefox/all/
Current ESR (60)...
https://www.mozilla.org/en-US/firefox/o … tions/all/
Extract the *.tar.bz2 tarbell (example using the Polish 64-bit ESR link)...
https://download.mozilla.org/?product=f … 64&lang=pl
By default it downloads to ~/Downloads
Open your file manager, right click the file and choose "Extract Here"
To test and/or use...
You now have the folder ~/Downloads/firefox. Open it and, after closing any running firefox windows, double-click the file "firefox".
Twoje zdrowie!!!
To check what version you're running and/or manually update to the newest release, Press "Alt" to bring up the Firefox main-menu and navigate to "Help>About Firefox"
To replace Debian firefox with your new version...
The method I'll describe uses Thunar to make it n00b friendly...
Open your file manager. From its main-menu, choose "File>Open as root" and enter your password. You now have 2 file manager windows open, one as user (pretty!) and one as root (intentionally ugly!) Be careful now...
In the root folder, copy move (copy will not create the necessary permissions) ~/Downloads/firefox to /opt/firefox
If you prefer, save it somewhere in your Home folder, maybe in a hidden folder, and then you don't need to worry about permissions. Just alter the paths in the following instructions to point to the new location.
In the user folder, navigate to /opt/firefox/firefox, right-click the file and choose "Send To>Desktop (Create Link)"
In the root folder, copy the new shortcut in your Home folder to /usr/local/bin. Make sure the shortcut is named "firefox", NOT "firefox-esr".
You can again test that it's working. Close firefox and open dmenu (Alt+F3) and type "fire" without quotes. You should see entries for firefox and firefox-esr. Choose firefox and hit enter. Your new, upgraded Firefox will open, check your version or manually check for updates at any time via "Help>About Firefox".
To set your new version to the default, right-click your BunsenLabs desktop to open the Main Menu and choose "System>Edit Debian Alternatives" and enter your password.
In the left pane, scroll to the bottom and click "x-www-browser"
In the main pane, click "+Add" and input the path (adjust as necessary) /usr/local/bin/firefox and set the priority to 70 and save.
Launch your new default browser (Super/Window key+w). Firefox will report that it's not the default browser but that setting is overriden by the one we just set, so just uncheck the "Check default on startup" box and choose "Not now" (I can't remember the exact text, but you'll see what I mean).
If all is working, you can safely remove the Debian firefox-esr packages...
sudo apt purge --autoremove firefox-esr*
You can also delete the Firefox shortcut and downloads from your Home folder.
Please post back if it works, doesn't work, or if I have made mistakes. Thanks! Today I learned that "New tab" in Polish is "Nowa karta". :D
I'll add a step for creating a desktop file in /usr/share/applications later.
******
-note to hhh- I'll update the tutorial when I'm sure the new instructions here are solid...
Offline
Alternative for people who would like to run both side by side would be unofficial flatpack version
https://firefox-flatpak.mojefedora.cz/
Last edited by brontosaurusrex (2018-05-16 20:15:41)
Offline
How's the flatpack performance vs regular installation?
Offline
Alternative for people who would like to run both side by side
You can also run the debian firefox-esr version along side your new version, either by sharing a profile (not recommended) or by setting individual profiles via the firefox -P (and firefox-esr -P) switch...
Offline
@hhh, right, but imho less complicated with flatpak (due to native separation from the system).
@clover, how would you benchmark? (I can claim that for example flatpak gimp 2.10 'feels' very fast and my machines are not getting any younger).
Last edited by brontosaurusrex (2018-05-17 05:32:42)
Offline
If anyone is worried that moving your Firefox download to the root file system (/opt in this walk-through) would cause problems with automatic updates, I closed my new Quantum browser an hour ago. I opened it again and watched an update install. It was quick, I was too late with the screenshot...
Offline
Putting FF in /opt would be a good spot if you want to make it available for all users. Just make a link to the executable for each user and off to the races!
Real Men Use Linux
Offline
Please post back if it works, doesn't work, or if I have made mistakes. Thanks!
Works perfect!
"It's just your opinion, man!"
Offline
Please post back if it works, doesn't work, or if I have made mistakes. Thanks!
This worked great for me as well. Thanks a bunch!!
Offline
What is the reason for explicitly setting the priority of `x-www-browser` to `70`? For example, what would be the difference between the priority being `70` and `100`?
Also, in the context of this tutorial (firefox being in /opt), if one wishes to add the `firefox` entry to `x-www-browser` in Debian Alternatives, this could be achieved in a terminal window with the following:
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 70
If firefox is located locally within the home directory, for example, in ${HOME}/opt/firefox, use:
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /home/$(whoami)/opt/firefox/firefox 70
Last edited by jimjamz (2018-06-16 15:05:34)
Offline
If anyone is worried that moving your Firefox download to the root file system (/opt in this walk-through) would cause problems with automatic updates, I closed my new Quantum browser an hour ago. I opened it again and watched an update install. It was quick, I was too late with the screenshot...
https://cdn.scrot.moe/images/2018/05/18/Screenshot_2018-05-18_01-27-56.th.png
Unfortunately, I do not see the same behaviour when Firefox resides in /opt. The browser is unable to auto-update because it does not have root privileges:
I have to download the new version separately, extract and overwrite the existing files in /opt.
Offline
^ Weird, WFM. My Firefox version is now at 61.0.1 and I haven't reinstalled it. I'm running buster, I'll check with stable and post back (might be a couple of days, I have a heavy work schedule this weekend).
Offline
^hhh are you running Firefox as root? Surely not, but that's the only explanation I can think of for Fx being able to upgrade itself while its files belong to root.
I thought the options for a custom Firefox were (in all cases running as a normal user):
1) Install in user-owned territory and let it upgrade itself.
2) Install in system territory, download new versions manually and overwrite, as root.
3) Install in system territory, and run as root only when upgrading.
I think 2 is probably the safest, because a user-run but system-owned Fx will be unable to alter any of its own files even if hit by a web nasty. 3 offers a small window of opportunity while upgrading is going on.
(Of course the user's personal .mozilla directory is always writable.)
John
--------------------
( a boring Japan blog, idle Twitterings and GitStuff )
In case you forget, the rules.
Offline
^ I've received numerous automatic upgrades in the time I've placed my firefox folder in opt and symlinked the firefox file to usr/local/bin (over a year now, on different systems). The folder is in opt, but it still gets run as user, just like every program in /usr/bin, unless you use pkexec or gksu or another root command. I don't know why it overwrites on upgrade without root privileges , I'll have to investigate.
I can never catch a scrot of the update-window progress because the updates are usually quite quick.
Offline
Permissions on the firefox files in /opt? Can your user write to them? That would explain it, though be unusual, unless you actually owned the files.
John
--------------------
( a boring Japan blog, idle Twitterings and GitStuff )
In case you forget, the rules.
Offline
it works tnx
Offline
hhh's tutorial worked perfectly for me on a brand new Helium install, I'll report back on whether I get any updates.
Offline
It's absolutely not possible to have firefox reside in /opt and firefox be able to auto-update itself, unless:
- you are running firefox as root
- you have changed the permissions of /opt so that it can be modified by users other than root.
`ls -la` on my /opt directory:
drwxr-xr-x 4 root root 4096 Jun 19 14:41 .
drwxr-xr-x 23 root root 4096 Jun 15 14:50 ..
drwxr-xr-x 9 root root 4096 Jun 19 14:41 firefox
With the introduction of 61.0.1, I'm once again being prompted that Firefox cannot auto update, and I must download it separately.
To confirm, having firefox in /opt, will not provide you with the button to auto update. Instead, a link is provided to the mozilla URL:
Last edited by jimjamz (2018-07-30 09:22:15)
Offline
I think when I was doing something similar with Seamonkey (effectively Firefox, but a nicer interface if you're an old fart hankering after win2k era UIs) I stuck the extracted tarball under ~/bin/seamonkey where my user has permissions for write, added the folder to my path so I could execute from a terminal without having to type the full path every time I wanted to launch it that way.
May not be an approved method in Linux (or might, I wasn't researching that), but I'm more a Windows admin, so I dunna care about the "Linux rules".
Anyhow, their install instructions would probably work for firefox simply by using "firefox" wherever it says "seamonkey", anyone wanting to look can find them here:
https://www.seamonkey-project.org/doc/i … -uninstall
Even though I mixed it up and kept it where i had write permission without sudo.
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
It's absolutely not possible to have firefox reside in /opt and firefox be able to auto-update itself, unless:
- you are running firefox as root
- you have changed the permissions of /opt so that it can be modified by users other than root.`ls -la` on my /opt directory:
drwxr-xr-x 4 root root 4096 Jun 19 14:41 . drwxr-xr-x 23 root root 4096 Jun 15 14:50 .. drwxr-xr-x 9 root root 4096 Jun 19 14:41 firefox
With the introduction of 61.0.1, I'm once again being prompted that Firefox cannot auto update, and I must download it separately.
To confirm, having firefox in /opt, will not provide you with the button to auto update. Instead, a link is provided to the mozilla URL:
https://s33.postimg.cc/k2mpr40r3/2018-0 … _scrot.png
Firefox official is still at 61.0.1 and my browser has successfully updated several times...
https://www.mozilla.org/en-US/firefox/releases/
When it hits 61.0.2, post again and I'll report whether or not I received an update.
BTW, I don't have that button...
Offline
jimjamz wrote:It's absolutely not possible to have firefox reside in /opt and firefox be able to auto-update itself, unless:
- you are running firefox as root
- you have changed the permissions of /opt so that it can be modified by users other than root....browser has successfully updated several times...
This is a complete mystery to me, unless, as jimjamz says, you're running it as root or have permissions on the files. How could it be otherwise?
John
--------------------
( a boring Japan blog, idle Twitterings and GitStuff )
In case you forget, the rules.
Offline
i just looked around in /opt - on arch linux, the directory itself is root-owned, but i have at least one program in there (a game installed via AUR) that sets different permissions:
$ cd /opt
$ touch somefile
touch: cannot touch 'somefile': Permission denied
$ cd clonk_rage
$ touch somefile
$
maybe hhh has a similar situation?
hhh, could you show us the output of
ls -al /opt /opt/*firefox*
please?
BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
Offline
rachel@TyrellCorp:~$ ls -al /opt /opt/*firefox*
/opt:
total 129596
drwxr-xr-x 3 root root 4096 Jul 10 07:46 .
drwxr-xr-x 22 root root 4096 Jul 23 10:05 ..
drwxr-xr-x 10 rachel rachel 4096 Aug 9 18:15 firefox
-rwxr-xr-x 1 rachel rachel 132692824 Jun 29 16:02 Stremio+4.0.17.appimage
/opt/firefox:
total 107676
drwxr-xr-x 10 rachel rachel 4096 Aug 9 18:15 .
drwxr-xr-x 3 root root 4096 Jul 10 07:46 ..
-rw-r--r-- 1 rachel rachel 695 Aug 9 18:15 application.ini
drwxr-xr-x 4 rachel rachel 4096 Aug 9 18:15 browser
-rw-r--r-- 1 rachel rachel 0 Aug 9 18:15 chrome.manifest
-rwxr-xr-x 1 rachel rachel 254576 Jun 21 09:56 crashreporter
-rw-r--r-- 1 rachel rachel 4003 Jun 21 09:00 crashreporter.ini
drwxr-xr-x 3 rachel rachel 4096 Jun 30 15:25 defaults
-rw-r--r-- 1 rachel rachel 157 Jun 21 09:55 dependentlibs.list
drwxr-xr-x 2 rachel rachel 4096 Jun 30 15:25 dictionaries
-rwxr-xr-x 1 rachel rachel 195832 Aug 9 18:15 firefox
-rwxr-xr-x 1 rachel rachel 195832 Aug 9 18:15 firefox-bin
-rw-r--r-- 1 rachel rachel 1449 Aug 9 18:15 firefox-bin.sig
-rw-r--r-- 1 rachel rachel 1449 Aug 9 18:15 firefox.sig
drwxr-xr-x 2 rachel rachel 4096 Jun 30 15:25 fonts
drwxr-xr-x 3 rachel rachel 4096 Jun 30 15:25 gmp-clearkey
drwxr-xr-x 2 rachel rachel 4096 Jun 30 15:25 gtk2
drwxr-xr-x 2 rachel rachel 4096 Jun 30 15:25 icons
-rw-r--r-- 1 rachel rachel 898 Aug 9 18:15 libfreeblpriv3.chk
-rwxr-xr-x 1 rachel rachel 567840 Jun 21 09:56 libfreeblpriv3.so
-rwxr-xr-x 1 rachel rachel 59960 Jun 21 09:56 liblgpllibs.so
-rwxr-xr-x 1 rachel rachel 1675648 Jun 21 09:56 libmozavcodec.so
-rwxr-xr-x 1 rachel rachel 208728 Jun 21 09:56 libmozavutil.so
-rwxr-xr-x 1 rachel rachel 6072 Jun 21 09:56 libmozgtk.so
-rwxr-xr-x 1 rachel rachel 93208 Jun 21 09:56 libmozsandbox.so
-rwxr-xr-x 1 rachel rachel 1034008 Aug 9 18:15 libmozsqlite3.so
-rwxr-xr-x 1 rachel rachel 261248 Aug 9 18:15 libnspr4.so
-rwxr-xr-x 1 rachel rachel 697336 Jun 21 09:56 libnss3.so
-rwxr-xr-x 1 rachel rachel 458008 Jun 21 09:56 libnssckbi.so
-rw-r--r-- 1 rachel rachel 899 Aug 9 18:15 libnssdbm3.chk
-rwxr-xr-x 1 rachel rachel 158824 Jun 21 09:56 libnssdbm3.so
-rwxr-xr-x 1 rachel rachel 196344 Jun 21 09:56 libnssutil3.so
-rwxr-xr-x 1 rachel rachel 18800 Jun 21 09:55 libplc4.so
-rwxr-xr-x 1 rachel rachel 18672 Aug 9 18:15 libplds4.so
-rwxr-xr-x 1 rachel rachel 176952 Jun 21 09:56 libsmime3.so
-rw-r--r-- 1 rachel rachel 899 Aug 9 18:15 libsoftokn3.chk
-rwxr-xr-x 1 rachel rachel 266448 Jun 21 09:56 libsoftokn3.so
-rwxr-xr-x 1 rachel rachel 332664 Jun 21 09:56 libssl3.so
-rwxr-xr-x 1 rachel rachel 84993408 Aug 9 18:15 libxul.so
-rw-r--r-- 1 rachel rachel 1449 Aug 9 18:15 libxul.so.sig
-rwxr-xr-x 1 rachel rachel 860864 Jun 21 09:56 minidump-analyzer
-rw-r--r-- 1 rachel rachel 16642664 Aug 9 18:15 omni.ja
-rwxr-xr-x 1 rachel rachel 285976 Aug 9 18:15 pingsender
-rw-r--r-- 1 rachel rachel 166 Aug 9 18:15 platform.ini
-rwxr-xr-x 1 rachel rachel 187488 Aug 9 18:15 plugin-container
-rw-r--r-- 1 rachel rachel 1449 Aug 9 18:15 plugin-container.sig
-rw-r--r-- 1 rachel rachel 2376 Aug 9 18:15 precomplete
-rw-r--r-- 1 rachel rachel 0 Aug 9 18:15 removed-files
-rw-r--r-- 1 rachel rachel 825 Jun 21 09:00 Throbber-small.gif
-rwxr-xr-x 1 rachel rachel 256672 Aug 9 18:15 updater
-rw-r--r-- 1 rachel rachel 681 Jun 21 09:55 updater.ini
drwxr-xr-x 3 rachel rachel 4096 Aug 9 18:15 updates
-rw-r--r-- 1 rachel rachel 132 Jun 21 09:55 update-settings.ini
-rw-r--r-- 1 rachel rachel 2299 Aug 9 18:15 updates.xml
rachel@TyrellCorp:~$
The update for 61.0.2 just came through on startup, once again I missed the scrot...
Maybe it's just updating my configs and I actually don't have current FF security updates? The official Mozilla instructions say to keep and run FF in your home folder.
Offline