Yes. You can install Firefox on Ubuntu without using Snap, but the best method depends on whether you want Mozilla’s official packages or a browser managed by Ubuntu’s traditional APT package system. For most people who specifically want Firefox without Snap, Mozilla’s official APT repository is the most practical choice; Ubuntu’s own APT package may install a Snap instead.
Why Ubuntu’s Firefox Package May Use Snap
On recent Ubuntu releases, the Firefox package shown in Ubuntu’s Software app or installed with sudo apt install firefox is commonly a transition package: it directs installation to the Snap version. As a result, running the APT command does not necessarily mean Firefox itself is installed as a conventional .deb package. Check the result with snap list firefox or which firefox; a Snap installation commonly launches from /snap/bin/firefox.
Snap is Canonical’s application packaging and delivery system. It keeps an application and much of its runtime in a self-contained package, updates it independently of the operating system, and applies confinement controls. That design has trade-offs: some users prefer APT’s integration with system packages, want to avoid Snap services, or have a reason to manage Firefox through Mozilla’s own release channel. Firefox can be used without Snap, but removing the Snap version alone does not install a replacement.
Recommended: Install Mozilla’s APT Package
Mozilla provides an official APT repository for Firefox. It supplies a real Debian package and is a straightforward option on current Ubuntu releases. The commands below add Mozilla’s signing key and package source, then prioritize Mozilla’s package over Ubuntu’s Firefox transition package.
- Remove the Snap version if it is installed:
sudo snap remove firefox. This removes the Snap application, not necessarily your Firefox profile. For caution, make a separate backup of important bookmarks or profile data before changing installations. - Install the tools needed to add the repository:
sudo apt update, thensudo apt install wget gpg. - Download and store Mozilla’s repository signing key:
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null. - Add the repository entry:
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee /etc/apt/sources.list.d/mozilla.list > /dev/null. - Set Mozilla’s package preference, then install Firefox:
echo -e 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000' | sudo tee /etc/apt/preferences.d/mozilla, followed bysudo apt updateandsudo apt install firefox.
The preference matters because Ubuntu’s package can otherwise take precedence and reinstall or redirect you to Snap. The signing key lets APT verify packages from the source; do not bypass signature checks. These repository details can change, so consult Mozilla’s current Linux installation instructions if a command fails or the repository setup has been updated.
Check That Firefox Is Not Running as a Snap
After installation, verify what is installed rather than relying only on the app’s name or icon. Run snap list firefox; if Firefox is not installed as a Snap, the command should report that it cannot find the snap. You can also run apt policy firefox to inspect the package version and source, and which firefox to see the command being launched. A Mozilla APT installation is still updated through APT, even though Mozilla—not Ubuntu’s archive—is its package source.
If Firefox still opens the Snap version, check whether the Snap remains installed and whether an old launcher or pinned desktop icon is being used. Remove and recreate the launcher if necessary. Do not delete profile directories simply to fix a launcher: Firefox profiles contain bookmarks, passwords, settings, and other personal data.
Other Ways to Use Firefox Without Snap
- Mozilla’s direct download: Mozilla distributes Linux builds as a compressed archive. You can unpack one and run Firefox yourself, but you must arrange updates and desktop integration. This is more hands-on than the APT repository and is generally best for users who want to manage the application manually.
- Flatpak: Firefox is available through Flathub, a separate application distribution system. Flatpak is not Snap, but it has its own runtime, permissions, and update workflow. Confirm that Flatpak and Flathub are configured before installing.
- Ubuntu’s standard APT source: On some Ubuntu releases or derivatives, the repository may provide a traditional Firefox package. On standard recent Ubuntu releases, however, the package named
firefoxoften points to Snap. Checkapt policy firefoxbefore assuming it is a native Debian package.
A third-party PPA may also offer a non-Snap build, but it adds another software maintainer to trust and can create package conflicts. Prefer Mozilla’s official repository when you want Mozilla’s Firefox as an APT-managed package.
Choosing Between APT, Snap, and Flatpak
There is no universally best format. Choose based on who you want to provide updates, how much system integration you need, and whether you want application confinement.
- Choose Mozilla APT if you want a conventional Debian package and are comfortable receiving Firefox updates from Mozilla’s repository.
- Keep Snap if you prefer Ubuntu’s default setup and independently updated, confined applications.
- Choose Flatpak if it fits the application-management setup you already use and you are comfortable with its permissions and runtimes.
- Use a manual archive if you specifically want to control installation and updating yourself.
Installing Firefox without Snap does not inherently make browsing safer or faster. Security depends on keeping the browser current, using trusted package sources, and protecting your account. APT does not update the Mozilla build until package updates are available through its configured repository, so apply updates regularly with your usual package-management process.
Common Problems and Safe Removal
If APT says Firefox is already the newest version but you still get Snap, inspect the candidate source with apt policy firefox. A pinning file that was mistyped, a missing repository entry, or an outdated package list can make Ubuntu’s transition package win. Check that the Mozilla key and source file exist, run sudo apt update, and review the output for signature or network errors before installing again.
Removing Snap can affect the Snap app’s stored data, so back up anything important first. Firefox profiles are usually kept separately from the application package, but do not assume a particular profile will automatically appear in every installation method. If a fresh installation starts without your old bookmarks, open Firefox’s profile manager or restore a profile backup; avoid copying files while Firefox is running. You can also keep Snap installed and use a separate Firefox build, but make sure you know which launcher you are opening to prevent confusion about profiles and updates.
Frequently Asked Questions
Does sudo apt install firefox install Firefox without Snap?
Not necessarily. On recent standard Ubuntu releases, Ubuntu’s APT package commonly redirects to the Snap. Check the package source with apt policy firefox, or use Mozilla’s APT repository for a non-Snap package.
Can I remove Snap and keep my Firefox bookmarks?
Usually, removing the Snap application does not itself erase a separate Firefox profile, but back up important data before changing installations. A different build may not automatically use the same profile, so verify or restore it if needed.
Will Mozilla’s APT Firefox update automatically?
It receives updates through APT from Mozilla’s repository. Updates are installed when you run your normal APT update and upgrade process, or when your desktop’s configured update service applies them.
Is Firefox from Mozilla’s repository official?
Yes. The repository is provided by Mozilla. Adding it means trusting Mozilla’s signing key and package source, so use the official setup instructions and do not disable APT’s package verification.
Can I install Firefox without Snap using Flatpak?
Yes, if Flatpak and the Flathub remote are configured. Flatpak is a separate packaging system, not a conventional APT package, and its updates and permissions are managed differently.