I'm using Kubuntu and have run into a frustrating issue with Firefox. I initially installed it following the official instructions because the snap version doesn't support hardware acceleration for Nvidia GPUs, which I need. After installing the proper version, I uninstalled the snap version. However, after some updates, the snap version keeps reinstalling itself, which I've managed to uninstall multiple times. But here's the kicker: now the standard version of Firefox isn't working at all. When I try to run it from shortcuts or the console, there's no response. I even tried reinstalling it, but I keep getting a message saying that the latest version is already installed - which seems to refer to the snap version! Any advice on how to fix this issue would be greatly appreciated. For context, I've noticed some extra spaces sneaking in when I copy and paste between different PCs, but I fixed that. Still, my Firefox is acting up!
3 Answers
If you’re running into troubles, posting the output of `apt policy firefox` can give you clarity on what's installed and the source of the installation. It’ll show you whether it’s from the snap store or the regular package manager, which helps in diagnosing the problem.
Actually, `sudo apt install firefox` should install the Firefox package from the Ubuntu repository, which may indeed use the snap runtime. You could check which version is installed by running `apt policy firefox`. If the output shows it's still linked to snap, then you might need to change your package sources or preferences to avoid that. It's worth checking out how things have changed, sometimes distro updates make things behave differently. If you're not opposed to using an older version, you could also manually download and install the tarball directly from Mozilla.
It sounds like you might be stuck with the snap version due to how Ubuntu prioritizes packages. When you run `sudo apt install firefox`, it can sometimes default to the snap version rather than the traditional installation from the repositories. Make sure your package lists are up-to-date using `sudo apt update`. To go back to the non-snap version, you might want to completely remove the snap version with `sudo snap remove firefox` and then try installing again. Also, check your package priorities to see if there's any configuration that might be forcing it to choose snap over the regular package.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Fix Not Being Able To Add New Categories With Intuitive Category Checklist For Wordpress
Get Real User IP Without Installing Cloudflare Apache Module
How to Get Total Line Count In Visual Studio 2013 Without Addons
Install and Configure PhpMyAdmin on Centos 7
How To Setup PostfixAdmin With Dovecot and Postfix Virtual Mailbox