Snap and Flatpak packages both provide a way to install and run modern applications on Linux Mint 21.3 without worrying about dependency issues or outdated repositories. Each system has its own strengths: Snap offers automatic background updates and cross-distribution support, while Flatpak emphasizes open-source principles and tight integration with Mint’s native tools. Setting up both package managers gives you access to a broader range of applications and simplifies software management, especially when certain tools are unavailable through traditional APT repositories.
Installing and Configuring Flatpak on Linux Mint 21.3
Flatpak is typically pre-installed on recent versions of Linux Mint, but you may need to upgrade or manually install it to access the latest features and bug fixes. Using the official Flatpak PPA ensures you receive the most up-to-date version, which is especially important for compatibility with newer applications and security improvements.
sudo apt update
sudo apt upgrade
sudo add-apt-repository ppa:flatpak/stable -y
sudo apt update
sudo apt install flatpak
flatpak --version
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Managing Applications with Flatpak
Flatpak uses a unique application ID system, so you’ll need to know the correct ID when installing or managing apps. Here are the most common commands:
- Search for applications:
flatpak search <application-name> - Install an application:
flatpak install flathub <application-ID> - Run an application:
flatpak run <application-ID> - Update all Flatpak apps:
flatpak update - List installed Flatpak applications:
flatpak list --app - Uninstall an application:
flatpak uninstall <application-ID> - Repair Flatpak installation:
flatpak repair
Flatpak applications run in a sandboxed environment, increasing system security by isolating apps from core system files. Advanced users can fine-tune permissions using tools like Flatseal, a Flatpak application that provides a graphical interface for managing app permissions.
To remove Flatpak completely, use:
sudo apt autoremove flatpak --purge -y
Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →Enabling and Using Snap Packages on Linux Mint 21.3
Linux Mint disables Snap support by default to prioritize Flatpak and maintain package transparency. However, enabling Snap allows you to install software that may not be available as Flatpak or APT packages, such as certain proprietary or cross-distribution apps. Snap provides automatic background updates and a consistent experience across different Linux distributions.
sudo rm /etc/apt/preferences.d/nosnap.pref
Alternatively, rename it as a backup:
sudo mv /etc/apt/preferences.d/nosnap.pref /etc/apt/preferences.d/nosnap.pref.backup
sudo apt update
sudo apt install snapd
sudo systemctl enable --now snapd.service
Check the service status if needed:
systemctl status snapd.service
sudo snap install core
hello-world. Running this package confirms that Snap is working correctly.sudo snap install hello-world
hello-world
If you see Hello World! as output, Snap is functioning as expected.
sudo snap install snap-store
You can then launch the Snap Store from your application menu under Administration.
Managing Snap Packages
- Find packages:
snap find <package-name> - Install a package:
sudo snap install <package-name> - Remove a package:
sudo snap remove <package-name> - Update all Snap packages:
sudo snap refresh - List installed Snap packages:
sudo snap list
Snaps are automatically updated in the background, so you always have the latest version without manual intervention. However, you can manually refresh or roll back packages as needed.
To completely remove Snap and all installed Snap applications:
sudo apt autoremove snapd
If you wish to re-block Snap installation, recreate the nosnap.pref file:
sudo tee /etc/apt/preferences.d/nosnap.pref <
Troubleshooting and Maintenance Tips
Flatpak and Snap both operate independently from the traditional APT system. If you encounter issues such as missing menu entries, check that the relevant desktop integration packages are installed (gnome-menus for Flatpak/Snap, or desktop environment-specific plugins). If Snap or Flatpak apps do not launch, verify that their respective services are running and up to date.
Disk space usage may increase, especially with Flatpak, because each application may require its own runtime environment. Use flatpak uninstall --unused or snap remove <package-name> to clear unused packages and free up space.
Some applications, particularly those involving system integration or hardware access, may require additional permissions. For Flatpak, adjust permissions with Flatseal or the flatpak override command. For Snap, review the package’s documentation for any required classic confinement or interface connections.
Both Snap and Flatpak can coexist with APT packages, allowing you to choose the best source for each application based on compatibility, update frequency, and system integration needs.
Configuring Snap and Flatpak on Linux Mint 21.3 gives you flexible access to a wide range of applications, automatic updates, and improved security through sandboxing. Regularly update both package managers to keep your software current and your system running smoothly.






