User avatar
craigevil
Posts: 263
Joined: Wed Jan 27, 2021 5:22 am
Location: OZ
Contact: Website

Firefox is now Available as a Snap

Thu Sep 16, 2021 8:57 pm

There are 3 versions available:
firefox-esr which is more or less the same as the version in rpios/debian.
firefox , the version in Debian testing or Unstable
firefox-beta, the current Mozilla Firefox Beta.

All versions are available for armhf/arm64.
2021-09-16_14-49.png
2021-09-16_14-49.png (73.59 KiB) Viewed 1357 times
Raspberry PI 400 Raspberry Pi OS (Debian Bookworm/sid) Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Thu Sep 16, 2021 11:29 pm

if you install, don't forget to run this command to get it into menu.

Code: Select all

ln -s /var/lib/snapd/desktop/applications ~/.local/share/applications
you also need these if you want to import your settings for extensions:

Code: Select all

sudo apt install xdg-desktop-portal xdg-desktop-portal-gtk
a bit slow to start, runs fine after.

it uses webrender[software] so a bit higher cpu than chromium or firefox-esr.

User avatar
craigevil
Posts: 263
Joined: Wed Jan 27, 2021 5:22 am
Location: OZ
Contact: Website

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 3:49 am

kerry_s wrote:
Thu Sep 16, 2021 11:29 pm
if you install, don't forget to run this command to get it into menu.

Code: Select all

ln -s /var/lib/snapd/desktop/applications ~/.local/share/applications
you also need these if you want to import your settings for extensions:

Code: Select all

sudo apt install xdg-desktop-portal xdg-desktop-portal-gtk
a bit slow to start, runs fine after.

it uses webrender[software] so a bit higher cpu than chromium or firefox-esr.
Only need to do the first step on rpios' lxde. Other desktops add the menu entry automatically.
Raspberry PI 400 Raspberry Pi OS (Debian Bookworm/sid) Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 4:53 am

Only need to do the first step on rpios' lxde. Other desktops add the menu entry automatically.
yeah, that's most likely going to be the desktop in use.
i'm using raspberry os 64bit on a rpi400.

User avatar
craigevil
Posts: 263
Joined: Wed Jan 27, 2021 5:22 am
Location: OZ
Contact: Website

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 4:57 am

kerry_s wrote:
Fri Sep 17, 2021 4:53 am
Only need to do the first step on rpios' lxde. Other desktops add the menu entry automatically.
yeah, that's most likely going to be the desktop in use.
i'm using raspberry os 64bit on a rpi400.
same;

Code: Select all

System:    Kernel: 5.10.63-v8+ aarch64 bits: 64 compiler: N/A Desktop: MATE 1.24.1 info: mate-panel, plank wm: marco 1.24.1 
           vt: 7 dm: LightDM 1.26.0 Distro: Raspberry Pi OS base: Debian GNU/Linux bookworm/sid 
Machine:   Type: ARM Device System: Raspberry Pi 400 
Raspberry PI 400 Raspberry Pi OS (Debian Bookworm/sid) Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

m4r35n357
Posts: 124
Joined: Fri Jul 06, 2012 4:31 pm
Location: UK

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 10:09 am

craigevil wrote:
Thu Sep 16, 2021 8:57 pm
There are 3 versions available:
firefox-esr which is more or less the same as the version in rpios/debian.
firefox , the version in Debian testing or Unstable
firefox-beta, the current Mozilla Firefox Beta.

All versions are available for armhf/arm64.

2021-09-16_14-49.png
"Debian - "If you can't apt install something, it isn't useful or doesn't exist""

Hmm . . .

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 10:27 am

m4r35n357 wrote:
Fri Sep 17, 2021 10:09 am
craigevil wrote:
Thu Sep 16, 2021 8:57 pm
There are 3 versions available:
firefox-esr which is more or less the same as the version in rpios/debian.
firefox , the version in Debian testing or Unstable
firefox-beta, the current Mozilla Firefox Beta.

All versions are available for armhf/arm64.

2021-09-16_14-49.png
"Debian - "If you can't apt install something, it isn't useful or doesn't exist""

Hmm . . .
:lol:
yeah, that's a old quote.

it often feels like debian is still living in the past, very slow to adopt/adapt to new things.

i got no issues with snap or flatpack as long as it works. often packages are broken, abandoned or not available on the platform.

i prefer a browser to be up-to-date as possible & debian doesn't provide the standard firefox used in other os's.

i'm happy to use what's available. :D

User avatar
rpdom
Posts: 19142
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 10:42 am

kerry_s wrote:
Fri Sep 17, 2021 10:27 am
it often feels like debian is still living in the past, very slow to adopt/adapt to new things.
Not true at all. They have a philosophy which basically comes down to "if it ain'tn't broke, don't fix it".

If you are running servers that are critical to your business you don't want things to suddenly change so they don't work any more and have a panicked rush to rebuild everything just because someone decided that the "--foo" option should now have two arguments rather than one.

Security fixes are backported to the "stable" suite, so you don't have to worry about that.

To prepare for when "--foo" finally does change, you can run a testing suite and make sure your code will work with that when the changes happen.

Sure you may not be running the latest version with all the bells and whistles, but your server is still running and your users aren't complaining.

The only place this falls over is when you are using something like youtube and external settings change so you need updates to make it work.
Unreadable squiggle

Cloudcentric
Posts: 1277
Joined: Fri Sep 14, 2012 9:13 am

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 11:24 am

kerry_s wrote:
Fri Sep 17, 2021 10:27 am
m4r35n357 wrote:
Fri Sep 17, 2021 10:09 am
craigevil wrote:
Thu Sep 16, 2021 8:57 pm
There are 3 versions available:
firefox-esr which is more or less the same as the version in rpios/debian.
firefox , the version in Debian testing or Unstable
firefox-beta, the current Mozilla Firefox Beta.

All versions are available for armhf/arm64.

2021-09-16_14-49.png
"Debian - "If you can't apt install something, it isn't useful or doesn't exist""

Hmm . . .
:lol:
yeah, that's a old quote.

it often feels like debian is still living in the past, very slow to adopt/adapt to new things.

i got no issues with snap or flatpack as long as it works. often packages are broken, abandoned or not available on the platform.

i prefer a browser to be up-to-date as possible & debian doesn't provide the standard firefox used in other os's.

i'm happy to use what's available. :D

Totally disagree, Debian has always erred on the side of stability over latest and greatest, nothing needs changing.

Flatpak & Snaps are not for me.

There are other Operating Systems which fulfill the greatest and greatest brief, such as Arch / Manajaro which currently is Firefox 92.0.
.
.

bjtheone
Posts: 1509
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 6:49 pm

I am a very big fan of "it just works". Debian and distro's based off it deliver. Others, well not so much.

At one point I always had a system with the distro of the week loaded (or broken), and some new window manager on it. Now I am delighted to have to do the absolute minimum sysadmin to have a securely patched and super stable system that lets me focus on just using it. Running apt update / apt full-upgrade weekly is where I want to be.

If you want the former, Debian is not for you. However, this also comes with lots of fun adventures. You learn lots but spend more time learning. Leading edge is bleeding edge.

If you want the later, Debian is the distro for you. Mo muss, no fuss, with tools that just work.

bls
Posts: 1754
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA

Re: Firefox is now Available as a Snap

Fri Sep 17, 2021 6:57 pm

bjtheone wrote:
Fri Sep 17, 2021 6:49 pm
I am a very big fan of "it just works". Debian and distro's based off it deliver. Others, well not so much.

At one point I always had a system with the distro of the week loaded (or broken), and some new window manager on it. Now I am delighted to have to do the absolute minimum sysadmin to have a securely patched and super stable system that lets me focus on just using it. Running apt update / apt full-upgrade weekly is where I want to be.

If you want the former, Debian is not for you. However, this also comes with lots of fun adventures. You learn lots but spend more time learning. Leading edge is bleeding edge.

If you want the later, Debian is the distro for you. Mo muss, no fuss, with tools that just work.
+1
Pi tools:
Quickly and easily build customized-just-for-you SSDs/SD Cards: https://github.com/gitbls/sdm
Easily run and manage your network's DHCP/DNS servers on a Pi: https://github.com/gitbls/ndm
Easy and secure strongSwan VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Sat Sep 18, 2021 12:21 am

for opengl:

Code: Select all

gfx.webrender.force-legacy-layers true
then it will use the same cpu% as chromium & firefox-esr.
Attachments
2021-09-17-141950_1440x900_scrot.png
2021-09-17-141950_1440x900_scrot.png (185.59 KiB) Viewed 1077 times

User avatar
scruss
Posts: 4363
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Firefox is now Available as a Snap

Sat Sep 18, 2021 3:01 am

I'd install this only for its improved language support - Scots - over ESR, but snapd is the worst
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Sat Sep 18, 2021 3:32 am

scruss wrote:
Sat Sep 18, 2021 3:01 am
I'd install this only for its improved language support - Scots - over ESR, but snapd is the worst
i'm finding it better than firefox-esr & snapd seems to have the speed improvements like ubuntu.
it installed a gnome 38 base.
Attachments
2021-09-17-173210_1440x900_scrot.png
2021-09-17-173210_1440x900_scrot.png (60.65 KiB) Viewed 1046 times

m4r35n357
Posts: 124
Joined: Fri Jul 06, 2012 4:31 pm
Location: UK

Re: Firefox is now Available as a Snap

Sat Sep 18, 2021 8:44 am

bjtheone wrote:
Fri Sep 17, 2021 6:49 pm
If you want the later, Debian is the distro for you. Mo muss, no fuss, with tools that just work.
Ah, "pragmatism"!

This one idea is responsible for the whole mess the the internet stack and software development in general has become.

The world of computing needs to embrace perfection over "good enough to ship", but unfortunately the economics mean that will never happen.

evansste
Posts: 19
Joined: Tue Sep 01, 2015 3:52 am
Contact: Website

Re: Firefox is now Available as a Snap

Sun Sep 19, 2021 11:50 am

If I go to firefox.com and click the download button, it gives me the opportunity to download "firefox-92.0.tar.bz2". I've noticed that, with Lubuntu 18.04, if I extract the .tar file and click on the "firefox" executable file within the extracted directory, I'm able to run the 92 version of Firefox. However, when I try to do the same on my Raspberry Pi 4, which is running the 32-bit version of Raspberry PI OS, nothing happens when I click the executable. Does anyone know if this is a compatibility issue between the two different operating systems, or do I need to do something else when trying to run Firefox from an extracted tar file in the Raspberry PI OS?

Wouldn't running Firefox this way, be easier than trying to install it with snap? I haven't been able to get snap to work, and running the executable seems as if it could be easier.

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Sun Sep 19, 2021 12:39 pm

you need the arm version.

for snap:

Code: Select all

sudo apt update
sudo apt install snapd

Code: Select all

sudo reboot

Code: Select all

sudo snap install core

Code: Select all

sudo snap install firefox
then use my other posts for menu entry & import/restore

Cloudcentric
Posts: 1277
Joined: Fri Sep 14, 2012 9:13 am

Re: Firefox is now Available as a Snap

Sun Sep 19, 2021 1:00 pm

evansste wrote:
Sun Sep 19, 2021 11:50 am
If I go to firefox.com and click the download button, it gives me the opportunity to download "firefox-92.0.tar.bz2". I've noticed that, with Lubuntu 18.04, if I extract the .tar file and click on the "firefox" executable file within the extracted directory, I'm able to run the 92 version of Firefox. However, when I try to do the same on my Raspberry Pi 4, which is running the 32-bit version of Raspberry PI OS, nothing happens when I click the executable. Does anyone know if this is a compatibility issue between the two different operating systems, or do I need to do something else when trying to run Firefox from an extracted tar file in the Raspberry PI OS?

Wouldn't running Firefox this way, be easier than trying to install it with snap? I haven't been able to get snap to work, and running the executable seems as if it could be easier.

Your Lubuntu machine has x86 CPU Architecture.

You Raspberry Pi SBC has ARM CPU Architecture.
.
.

User avatar
craigevil
Posts: 263
Joined: Wed Jan 27, 2021 5:22 am
Location: OZ
Contact: Website

Re: Firefox is now Available as a Snap

Mon Sep 20, 2021 5:04 pm

I use Gnome-Software to install flatpaks and snap packages.

Code: Select all

sudo apt install gnome-software gnome-software-plugin-flatpak gnome-software-plugin-snap flatpak snapd
Then you need to setup flatpak:

Code: Select all

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
https://flatpak.org/setup/Debian/

For Snaps you do not have to do anything, when you install the first snap any other packages like "core" will be installed.

Keep in mind if you are using the default RPIOS desktop you will need to create the app shortcuts.

Installing gnome-software does remove pi-package which is the Add/Remove Software GUI, you can reinstall it by doing:

Code: Select all

sudo apt install gnome-packagekit
Screenshot at 2021-09-20 12-00-03-800x800.png
Screenshot at 2021-09-20 12-00-03-800x800.png (66.81 KiB) Viewed 763 times
Raspberry PI 400 Raspberry Pi OS (Debian Bookworm/sid) Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

User avatar
kerry_s
Posts: 2387
Joined: Thu Jan 30, 2020 7:14 pm

Re: Firefox is now Available as a Snap

Mon Sep 20, 2021 8:43 pm

for gui, i just use the snap store.

Code: Select all

sudo snap install snap-store

User avatar
craigevil
Posts: 263
Joined: Wed Jan 27, 2021 5:22 am
Location: OZ
Contact: Website

Re: Firefox is now Available as a Snap

Mon Sep 20, 2021 10:13 pm

kerry_s wrote:
Mon Sep 20, 2021 8:43 pm
for gui, i just use the snap store.

Code: Select all

sudo snap install snap-store
Ah but Gnome-Software also shows and installs flatpaks and the rpios repos. If an app has a snap, flatpak, and repo version you can choose which to install.

Like with Firefox, there is a firefox-esr, firefox, and firefox beta.
Raspberry PI 400 Raspberry Pi OS (Debian Bookworm/sid) Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

m4r35n357
Posts: 124
Joined: Fri Jul 06, 2012 4:31 pm
Location: UK

Re: Firefox is now Available as a Snap

Tue Sep 21, 2021 8:54 am

craigevil wrote:
Mon Sep 20, 2021 10:13 pm
If an app has a snap, flatpak, and repo version you can choose which to install.
You are describing hell!

bjtheone
Posts: 1509
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Firefox is now Available as a Snap

Tue Sep 21, 2021 1:58 pm

m4r35n357 wrote:
Tue Sep 21, 2021 8:54 am
craigevil wrote:
Mon Sep 20, 2021 10:13 pm
If an app has a snap, flatpak, and repo version you can choose which to install.
You are describing hell!
Not hell, just a really easy/likely way to end up with a very very confused system. I have admined systems with multiple and incompatible versions of tools installed, and playing in their own sandboxes, to support different tool chain needs. It can be done, if you really need it, but it is a pita to admin.

Given the extra level of hassle and potential to break stuff, staying with one method of installing apps is a "good idea". I would not do it without a really good reason (back to the wall, gun to my head, need to run a version only available that way) on a personal system, since I am lazy and want to just use the tools, not admin the system.

User avatar
craigevil
Posts: 263
Joined: Wed Jan 27, 2021 5:22 am
Location: OZ
Contact: Website

Re: Firefox is now Available as a Snap

Tue Sep 21, 2021 3:43 pm

Flatpaks and Snaps are self-contained. They do not mess with libs or other packages.

Here is an example of what I mentioned. Telegram is available in the Debian repos, Flatpak and Snap.
You can pick which one to install. You can even have the version from the repos and a flatpak or snap version.
I could install from Debian which would give me:
policy telegram-desktop
telegram-desktop:
Installed: (none)
Candidate: 2.9.2+ds-1
Version table:
2.9.2+ds-1 500
500 https://deb.debian.org/debian unstable/main arm64 Packages
Or I could install the flatpak or snap.
Screenshot at 2021-09-21 10-35-35-800x800.png
Screenshot at 2021-09-21 10-35-35-800x800.png (149.97 KiB) Viewed 600 times
Raspberry PI 400 Raspberry Pi OS (Debian Bookworm/sid) Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

bjtheone
Posts: 1509
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Firefox is now Available as a Snap

Wed Sep 22, 2021 1:47 pm

craigevil wrote:
Tue Sep 21, 2021 3:43 pm
Flatpaks and Snaps are self-contained. They do not mess with libs or other packages.
I am not disputing your claim. However, if you use multiple install paradigms it is on you to keep them all sorted and ensure that you get the expected version from the right place, if you have multiple version installed. The level of complexity goes up again if you are using tool chains and need to ensure different versions are used in different chains.

Some folks struggle with the fact that root has a different environment than user pi. Adding complexity is unlikely to make their life any better.

Its absolutely doable (I used to admin a CAD tools tree that often carried 3-6 versions of particular apps along with gnu tools for 3 different OSs) however it gets confusing fast, which is why I would not recommend it for a new to Linux type user. Said environment also shipped with a Perl based tool that abstracted all this away from the end user and managed all the dependencies and conflicts.

Return to “Raspberry Pi OS”