Amazon holiday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Ubuntu Remove Snap Firefox? Steps, Risks and Options

Yes. To remove Firefox’s Snap from Ubuntu, run sudo snap remove firefox in a terminal. If you want to keep using Firefox without Snap, choose and install a maintained alternative first or soon afterward; simply removing the Snap does not automatically replace it with a traditional package.

Why Firefox is a Snap on Ubuntu

Ubuntu made the Snap version its default Firefox on desktop releases starting with Ubuntu 22.04 LTS. Snap is a software packaging and update system maintained by Canonical: applications are installed as Snap packages, run with confinement controls, and updated separately from many packages managed by APT. Ubuntu’s Firefox Snap is still Firefox, but its package format and storage locations differ from those of a conventional Debian package.

This distinction explains a common surprise: on Ubuntu releases where the archive’s firefox APT package is a transitional package, running sudo apt install firefox may install or direct you to the Snap rather than provide a standalone .deb application. Package arrangements can vary by Ubuntu release, so check the package information for your system before assuming that an APT command will give you a non-Snap build.

Removing Firefox does not require removing Snap itself. Snap may also manage applications such as the Snap Store or other software you installed, and Ubuntu can rely on Snap for apps you choose to use. Removing just Firefox is the smaller, more reversible change.

Before removing it: check your profile and other Snaps

Firefox stores bookmarks, passwords, extensions, settings, and browsing history in a profile. Before changing package formats, make sure you can recover anything important. Firefox Sync can synchronize selected data when you sign in, but it is not a substitute for a separate backup of every profile detail. You can also use Firefox’s bookmark export feature and note any passwords or settings you need to preserve.

The Snap profile is commonly stored under ~/snap/firefox/common/.mozilla/firefox/. Do not assume that a different Firefox package will automatically use that exact profile. Back up the profile while Firefox is closed, and avoid editing or copying it while the browser is running. You can inspect other installed Snaps with:

snap list

This matters if you are considering removing Snap itself later. Removing the Firefox Snap alone does not require deleting other entries in the list, and it does not require deleting profile folders manually.

How to remove the Firefox Snap

  1. Close every Firefox window. If Firefox is unresponsive, save what you can before ending the process.
  2. Open Terminal from the applications menu, or use the terminal shortcut for your desktop.
  3. Run sudo snap remove firefox and enter your Ubuntu account password when prompted. The password will not appear as you type.
  4. Read the terminal output and wait for the removal to finish. If Snap reports that the package is not installed, it may already have been removed or Firefox may have been installed in another format.
  5. Check the result with snap list firefox. If Firefox is no longer listed, its Snap package is removed.

Snap can create a snapshot of an application’s data when a Snap is removed, so data may be recoverable for a limited period. If you deliberately want to remove the app without creating that automatic snapshot, Snap supports sudo snap remove --purge firefox. Use that option only after backing up anything you want: it is intended to skip the removal snapshot, not to make the operation easier to undo.

What removal does—and does not do

The command removes the Firefox Snap package, but it does not uninstall the Snap system from Ubuntu. It also does not necessarily erase every saved Firefox file immediately: removal snapshots and user data are separate considerations. If your goal is simply to stop using the Snap, leave the rest of Snap alone and install your preferred replacement.

Conversely, uninstalling an APT package named firefox is not always the same as removing the Snap. On Ubuntu systems using the transitional APT package, sudo apt remove firefox may remove the small APT package while the separately installed Snap remains. Use snap list to check the actual Snap state rather than judging by the APT package list alone.

Removing Snap entirely is a broader change. It can affect every Snap application and remove access to Snap-based installation and updates. If you still use another Snap, removing the daemon is not an appropriate way to remove Firefox. On a typical desktop, there is little benefit in purging Snap solely because Firefox was the app you wanted to replace.

How to get Firefox without Snap

There are several ways to continue using Firefox. Choose a source you are comfortable maintaining, and avoid installing two builds at once unless you intentionally want separate profiles and launchers.

  • Mozilla’s APT repository: Mozilla provides Linux .deb packages through its own APT repository. Follow Mozilla’s current instructions for adding the repository and signing key for your Ubuntu release. This gives you an APT-managed package without relying on Ubuntu’s transitional Firefox package.
  • Mozilla Team PPA: The Mozilla Team PPA has long provided Firefox packages for Ubuntu. A PPA is an additional software source, not the same as the Ubuntu archive; check its current support and setup instructions for your release before adding it.
  • Flatpak: Firefox is available as a Flatpak through Flathub. This avoids the Snap format but uses Flatpak’s own installation, permissions, update process, and profile location. Install it from a source you trust and confirm that your desktop is configured for Flatpak.
  • Mozilla’s downloaded archive: Mozilla offers Linux builds that can be unpacked and run manually. This can avoid Snap and APT repository setup, but you are responsible for keeping the installation updated and making a convenient launcher.

For APT-based choices, check what a command will install before confirming it. apt policy firefox can show available versions and their sources, while apt show firefox describes the package candidate. If the package description or source indicates that it is a Snap transition package, do not expect it to install a conventional .deb browser.

Choosing a replacement and keeping it secure

The best alternative depends on what you value. A Mozilla APT package or a supported PPA is a good fit for someone who wants updates through APT. Flatpak suits users already managing desktop apps with Flatpak. The downloaded archive can be useful when you want a standalone upstream build, but it requires more attention to updates and integration.

There is no universal security rule that says every non-Snap Firefox is safer or less safe. Snap’s confinement and update mechanisms are one part of its security model; a .deb, Flatpak, or manual installation has its own source, permissions, and update path. The practical priority is to use a reputable source, install updates promptly, and avoid leaving an old Firefox build unused but still launchable.

After installing a replacement, launch it and check that your bookmarks and other needed data are present. If they are not, close both browsers and consult Mozilla’s profile documentation before copying profile data. Profiles can contain sensitive information, and mixing files from different versions or simultaneously running copies can cause problems. Keep the backup until you are satisfied with the new installation.

Common problems and how to resolve them

  • “Firefox is still in the menu.” A launcher can remain temporarily, or another Firefox package may be installed. Check snap list and apt list --installed, then identify which package owns the launcher before deleting files by hand.
  • Firefox returns after using APT. On releases with a transitional package, installing Ubuntu’s archive package may bring the Snap back. Check the candidate’s source with apt policy firefox and configure a non-Snap source using that provider’s documented steps.
  • The new Firefox has no bookmarks. Different package formats may use different profiles. Restore from Sync or a backup, and do not delete the old profile or Snap snapshot until you have confirmed the new browser has what you need.
  • Snap says Firefox is busy. Close browser windows and wait for any update or background operation to finish, then retry. If the problem persists, read the exact error message rather than forcing removal or manually deleting Snap directories.
  • Snap Store or another app stops working. That may happen if you removed Snap itself, not just Firefox. Reinstall or restore the relevant package through its supported method; removing Firefox alone should not disable unrelated Snaps.

Related

Frequently Asked Questions

Can I remove Firefox Snap and keep Snapd?
Yes. Run sudo snap remove firefox. This removes the Firefox Snap only; other Snap applications and the Snap service can remain installed.

Will removing Firefox Snap delete my bookmarks?
It may not erase them immediately, because Snap can preserve removal data in a snapshot, but do not rely on that as your only backup. Export important bookmarks or back up the profile before removal.

Will sudo apt install firefox reinstall the Snap?
On Ubuntu releases where the archive package is transitional, it can lead to the Snap being installed. Check apt policy firefox and the package description for your specific release before proceeding.

Should I remove Snapd to get rid of Firefox Snap?
No, not if Firefox is the only Snap you want to remove. Removing Snapd affects other Snap apps and the ability to install or update them. Remove Snapd only after checking what else depends on it and deciding you no longer need Snap.

Can I use Firefox Sync to move from Snap to another build?
Yes, Sync can bring supported data such as bookmarks and passwords into another Firefox installation after you sign in. It may not transfer every setting or local file, so back up the profile separately if you need a complete copy.

Ubuntu Remove Snap Firefox? Steps, Risks and Options
Scroll to top