How To Install Flatpak on Fedora 43

Flatpak has revolutionized the way Linux users install and manage applications across different distributions. This universal packaging format delivers sandboxed applications with consistent behavior, enhanced security, and seamless updates. Fedora 43 offers excellent support for Flatpak technology, making it one of the most straightforward distributions for getting started with this modern application delivery system.
Whether you’re running Fedora Workstation, Server, or one of the various desktop spins, this comprehensive guide walks you through everything you need to know about installing, configuring, and using Flatpak on Fedora 43. You’ll learn how to verify existing installations, add the essential Flathub repository, manage applications efficiently, and troubleshoot common issues that may arise during your Flatpak journey.
Understanding Flatpak
What is Flatpak?
Flatpak represents a next-generation approach to application packaging and distribution on Linux systems. Unlike traditional package managers that install applications with system-level dependencies, Flatpak bundles applications with their required libraries in isolated containers. This sandboxed architecture enhances security by limiting an application’s access to system resources and user data.
The technology operates independently of your Linux distribution, meaning developers can package their applications once and distribute them across multiple Linux variants without modification. Flatpak applications run in their own isolated environments, preventing conflicts between different versions of libraries and ensuring consistent behavior regardless of the underlying system configuration.
Flatpak vs. Other Package Formats
The Linux ecosystem offers several universal packaging solutions, including Snap and AppImage. Flatpak distinguishes itself through superior desktop integration, particularly with GNOME and KDE environments. The shared runtime system allows multiple applications to utilize common libraries, reducing disk space consumption compared to fully self-contained formats.
Traditional package managers like DNF and RPM remain essential for system-level software, but Flatpak excels at delivering desktop applications. The automatic update mechanism keeps your applications current without manual intervention. Distribution maintainers don’t need to repackage upstream software, allowing end users to access the latest versions directly from developers.
Prerequisites
Before beginning the Flatpak installation process on your Fedora 43 system, ensure you have the following requirements in place. You need a working Fedora 43 installation, whether that’s Workstation, Server, or any official spin like KDE Plasma or XFCE.
Terminal access with basic command-line knowledge helps you execute the necessary installation commands. Your system requires an active internet connection for downloading packages and repository files. Administrative privileges through sudo access are essential for system-wide software installation.
Running a fully updated system before installing new software represents a best practice that prevents potential conflicts. While not strictly required, understanding basic Linux package management concepts helps you grasp how Flatpak differs from traditional approaches. Adequate disk space ensures smooth application downloads and updates, as Flatpak applications typically consume more storage than native packages.
Step 1: Update Your Fedora 43 System
Maintaining an updated system foundation prevents compatibility issues and ensures you have the latest security patches installed. Begin by opening your terminal application through the application menu or by pressing Ctrl+Alt+T on most desktop environments.
Execute the following command to refresh your package cache and update all installed software:
sudo dnf clean all && sudo dnf update
The dnf clean all portion removes cached package metadata, while dnf update fetches and installs the latest versions of your installed packages. The system prompts you to confirm the download size and number of packages requiring updates. Type ‘y’ and press Enter to proceed with the upgrade process.
This update process may take several minutes depending on your internet connection speed and the number of packages requiring updates. If kernel updates are included in the upgrade, rebooting your system ensures the new kernel loads properly. After the update completes successfully, you’re ready to proceed with Flatpak installation.
Step 2: Check if Flatpak is Already Installed
Fedora Workstation, Fedora Silverblue, and Fedora Kinoite include Flatpak by default in their standard installations. Before attempting to install Flatpak, verify whether it’s already present on your system to avoid unnecessary steps.
Open your terminal and run this verification command:
flatpak --version
If Flatpak is installed, you’ll see output displaying the version number, typically something like “Flatpak 1.15.6” or similar. This confirms that the Flatpak runtime is functional and ready for use. In this case, you can skip the installation step and proceed directly to adding the Flathub repository.
When the command returns an error message stating that flatpak is not found, you need to install it manually. Fedora Server editions and minimal installations often lack Flatpak by default, requiring explicit installation. Understanding which Fedora variant you’re running helps you anticipate whether manual installation becomes necessary.
Step 3: Install Flatpak (If Not Already Installed)
For systems without Flatpak pre-installed, adding it to your Fedora 43 system takes just moments. Fedora’s official repositories include Flatpak packages, eliminating the need for third-party repositories or manual compilation.
Execute this command in your terminal:
sudo dnf install flatpak
The DNF package manager resolves dependencies automatically, identifying any additional libraries or components required for Flatpak functionality. You’ll see a list of packages to be installed along with the total download and installation size. Confirm the installation by typing ‘y’ when prompted.
The installation process downloads the necessary packages from Fedora’s mirrors and installs them to appropriate system directories. Progress indicators show the download speed and estimated time remaining. Once installation completes successfully, verify it worked correctly by running flatpak --version again.
The straightforward nature of this installation reflects Fedora’s commitment to supporting modern packaging technologies. Official repository inclusion means you receive updates through your regular system update cycle.
Step 4: Add the Flathub Repository
Understanding Flathub
Flathub serves as the central repository for Flatpak applications, hosting thousands of free and open-source software packages. This community-driven platform provides a single location where developers publish their applications and users discover new software. Without adding Flathub, your Flatpak installation has limited utility since you won’t have access to the vast application catalog.
The repository contains popular applications like GIMP, Kdenlive, Spotify, Visual Studio Code, and countless others. Flathub maintainers verify applications and ensure they meet quality standards. Each application undergoes security scanning and includes proper metadata for easy discovery.
Adding Flathub via GUI (Third-Party Repositories)
Fedora 43 simplifies Flathub configuration through the Third-Party Repositories feature. When you first set up your Fedora Workstation installation, you may have encountered an option to enable third-party repositories. If you activated this feature, Flathub is already configured and ready to use.
To verify or enable this setting, open GNOME Software (or your distribution’s software center). Navigate to the menu and access the Repositories or Software Sources section. Look for an option labeled “Third-Party Repositories” or specifically “Flathub.” Ensure it’s toggled to the enabled state.
This graphical method requires no terminal commands and integrates seamlessly with your desktop environment. The software center automatically refreshes its application catalog, displaying Flatpak applications alongside native packages.
Adding Flathub via Command Line
Power users and those preferring terminal-based workflows can add Flathub manually with a single command. This method works across all Fedora editions and desktop environments, providing universal applicability.
Run this command to add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Breaking down this command helps you understand what it accomplishes. The remote-add subcommand registers a new repository with your Flatpak installation. The --if-not-exists flag prevents errors if Flathub is already configured, making the command safe to run multiple times.
The URL points to Flathub’s repository file containing all necessary configuration details. By default, this command adds the repository system-wide, making it available to all users on your machine. If you prefer user-level installation, append the --user flag before flathub.
Verify successful addition by listing all configured remotes:
flatpak remotes
You should see Flathub listed in the output, confirming proper configuration. The display indicates whether each remote is configured system-wide or per-user.
Step 5: Restart Your System (Optional but Recommended)
While not strictly mandatory, restarting your system after adding Flathub ensures complete integration with your desktop environment. The restart allows your software center to fully index the newly available applications and refresh its internal database.
Some desktop environments cache repository information and may not immediately reflect the new Flathub additions. A clean restart resolves these caching issues and provides a fresh session with all components properly initialized.
If you prefer not to restart immediately, you can restart just your software center application. For GNOME Software users, execute:
gnome-software --quit
This command terminates any running Software Center processes, forcing a fresh launch when you next open it. The application re-scans configured repositories and displays newly available Flatpak applications. KDE Discover users can similarly restart their software center for the same effect.
Managing Applications with Flatpak
Searching for Applications
Discovering available Flatpak applications can be accomplished through multiple methods depending on your preference. Command-line users can search directly from the terminal using Flatpak’s built-in search functionality.
Search for applications with this command syntax:
flatpak search application-name
Replace “application-name” with your search term, such as “gimp” or “firefox.” The search returns matching applications with their application IDs, versions, and descriptions. Results include both exact matches and partial name matches.
Alternatively, browse the Flathub website directly at flathub.org through your web browser. The website offers a visually appealing interface with categories, screenshots, user reviews, and detailed application information. This method helps you discover applications you might not know to search for.
Your system’s software center provides the most user-friendly discovery experience. GNOME Software and KDE Discover display Flatpak applications alongside native packages, with intuitive categories and search functionality. Look for the source indicator showing “dl.flathub.org” to identify Flatpak versions.
Installing Applications
Once you’ve identified an application you want to install, the installation process requires just one command. Each Flatpak application has a unique identifier following reverse domain notation, like “org.gimp.GIMP” or “org.videolan.VLC.”
Install applications using this command structure:
flatpak install flathub org.gimp.GIMP
Replace the application ID with your desired software. The system displays download size and dependency information before proceeding. You’ll receive prompts to confirm the installation and may need to accept permissions or download runtimes if they’re not already present.
First-time Flatpak users installing their initial application may notice longer download times. Flatpak downloads required runtime environments that multiple applications share. Subsequent installations proceed faster since these shared components are already present.
For system-wide installation accessible to all users, omit additional flags. To install applications only for your user account, add the --user flag before the application ID. User-level installations don’t require sudo privileges and install to your home directory.
Running Flatpak Applications
Installed Flatpak applications integrate seamlessly with your desktop environment’s application menu. Launch them like any other software by searching in your application launcher or finding them in the appropriate category.
For command-line execution, use the run subcommand:
flatpak run org.gimp.GIMP
This method proves useful for troubleshooting or when you need to see console output from the application. The application launches within its sandboxed environment, isolated from direct system access.
Desktop integration means you typically don’t need terminal commands for daily use. Application shortcuts appear in your menu automatically after installation, providing clicking convenience just like traditional packages.
Listing Installed Applications
Track your installed Flatpak applications by requesting a complete inventory from the system. This helps you manage your software collection and identify applications you no longer need.
Display all installed applications with:
flatpak list
The output shows application names, unique identifiers, versions, and branch information. The list distinguishes between applications and runtimes, helping you understand what’s consuming disk space. Filter the output to show only applications by adding the --app flag.
For more detailed information about specific applications, including size and installation date, use the info subcommand with the application ID. This granular detail aids in managing disk space and understanding your software inventory.
Updating Applications
Flatpak’s update mechanism keeps your applications current with the latest features and security patches. Regular updates ensure you benefit from bug fixes and improvements developers release.
Update all installed applications and runtimes with a single command:
flatpak update
The system checks all configured remotes for newer versions of your installed software. You’ll see a list of available updates with their sizes. Confirm the updates to proceed with downloads and installation.
Update individual applications by specifying their application ID after the update command. This selective approach helps when you want to update specific software without touching everything else. The process respects your configured update preferences and requires no complicated configuration.
Many desktop environments can automatically update Flatpak applications in the background. Check your software center settings to enable automatic updates for a hands-off maintenance approach.
Uninstalling Applications
Remove unwanted Flatpak applications to reclaim disk space and keep your system organized. The uninstallation process cleanly removes applications without leaving configuration remnants scattered across your system.
Uninstall applications using this command:
flatpak uninstall org.gimp.GIMP
The system confirms your intention before removing the software. After uninstalling applications, you may have unused runtimes consuming disk space. Flatpak intelligently manages these shared components but occasionally leaves orphaned runtimes.
Clean up unused runtimes and dependencies with:
flatpak uninstall --unused
This maintenance command identifies and removes runtimes no longer required by any installed application. Running this periodically keeps your Flatpak installation lean and efficient. The system safely determines which components are truly unused, preventing accidental removal of needed dependencies.
Essential Flatpak Commands Reference
Master these fundamental commands to efficiently manage your Flatpak applications. The flatpak search command locates applications by name or keyword, scanning configured repositories for matches. Use flatpak install followed by the remote name and application ID to add new software.
Launch applications from the command line with flatpak run plus the application identifier. Check your installed software inventory using flatpak list, which displays everything from applications to runtimes. Keep software current with flatpak update, either updating everything or targeting specific applications.
Remove unwanted applications via flatpak uninstall followed by the application ID. Get detailed information about any application using flatpak info, which reveals installation dates, sizes, and permissions. View configured repositories with flatpak remote-list, showing all sources available for installations.
When installations become corrupted, flatpak repair attempts to fix broken references and restore proper functionality. These commands form the foundation of Flatpak management, enabling complete control from the terminal.
Troubleshooting Common Issues
Issue 1: Flatpak Applications Not Appearing in Software Center
Sometimes newly installed Flatpak applications or the Flathub repository itself doesn’t immediately appear in your graphical software center. This frustrating situation stems from caching issues within the software center application.
Resolve this by forcing your software center to restart and rebuild its cache. For GNOME Software users, execute gnome-software --quit in your terminal. This terminates all running software center processes. When you relaunch the application, it performs a fresh scan of available repositories.
Allow a few minutes for indexing to complete, especially immediately after adding Flathub. The software center must download and process metadata for thousands of applications. If problems persist, manually clear the cache by removing cached files from ~/.cache/gnome-software/ and restarting.
Issue 2: Corrupted File Object Errors
Corrupted installations occasionally occur due to interrupted downloads or disk errors. These manifest as error messages about corrupted file objects or checksum mismatches when trying to run or update applications.
Flatpak includes a repair utility designed specifically for these situations. Run the following command:
flatpak repair --system
This scans your system-wide Flatpak installation, identifying and attempting to fix corrupted references. For user-level installations, replace --system with --user. The repair process may take several minutes depending on how many applications you have installed.
If specific runtimes remain problematic after repair attempts, uninstall and reinstall them. Identify the problematic runtime from error messages, remove it with flatpak uninstall, then reinstall the affected application which will pull down fresh runtime copies.
Issue 3: Update Failures and Checksum Mismatches
Update processes sometimes fail with checksum mismatch errors or connection timeouts. These issues typically stem from network problems, server congestion, or temporary repository issues.
First, ensure your internet connection is stable and not blocking the required connections. Try updating again after a few hours, as temporary server issues often resolve themselves. If problems persist, consider switching to a different Flathub mirror.
Modify your Flathub remote to use an alternative mirror with this command:
flatpak remote-modify --url=https://mirror.flathub.org/repo flathub
This changes your configuration to use a mirror that might offer better connectivity from your location. After modifying the remote, try your update again.
Issue 4: Permission and Sandbox Issues
Flatpak’s sandboxing occasionally prevents applications from accessing files or resources they need. Applications might fail to open documents in certain locations or lack access to hardware devices like cameras or microphones.
Understanding that sandboxing is a security feature helps frame these restrictions positively. However, legitimate use cases exist where you need to grant additional permissions. Install Flatseal, a graphical utility for managing Flatpak permissions, from Flathub.
Flatseal provides an intuitive interface showing each application’s current permissions and allowing you to modify them. Grant filesystem access, device permissions, or network access as needed for your workflow. Command-line users can override permissions using the flatpak override command with appropriate flags.
Issue 5: Low Disk Space Problems
Flatpak applications typically consume more disk space than traditional packages due to bundled dependencies. Over time, accumulated runtimes and old application versions fill available storage.
Check your available disk space regularly using df -h to monitor your root partition. When space runs low, begin by removing unused runtimes with flatpak uninstall --unused as described earlier. This often frees several gigabytes.
Examine your installed applications and remove those you no longer use. Each runtime can be several hundred megabytes, and unused ones quickly accumulate. Consider whether you truly need multiple web browsers or redundant applications consuming precious storage.
Best Practices and Tips
Maintain a regular update schedule for both your system packages and Flatpak applications. Weekly updates keep you current with security patches and new features. Enable automatic updates in your software center settings for a hands-off approach that ensures consistent maintenance.
Prioritize applications from verified publishers when browsing Flathub. Verified status indicates the developer directly maintains the Flatpak version, ensuring authenticity and quality. Read application permissions before installing software, understanding what system resources it can access.
Balance Flatpak usage with native packages based on your needs. Use Flatpak for desktop applications where you want the latest versions and sandboxing benefits. Rely on DNF for system utilities, development tools, and software deeply integrated with your system.
Monitor disk space consumption regularly since Flatpak applications require more storage than traditional packages. The convenience and security benefits usually justify this trade-off, but awareness helps you plan storage accordingly. Utilize GUI tools like GNOME Software for everyday application management while mastering command-line tools for advanced troubleshooting.
Advantages of Using Flatpak on Fedora 43
Fedora’s first-class Flatpak support makes it one of the best distributions for this packaging technology. Native integration with Fedora Workstation means zero configuration for most users, with Flatpak working immediately after installation. The distribution’s close relationship with upstream developers ensures optimal compatibility and performance.
Access to the latest application versions represents a significant advantage over traditional repository models. Developers publish updates to Flathub immediately, bypassing distribution packaging delays. You can use cutting-edge creative tools, communication applications, and productivity software without waiting for the next Fedora release.
Enhanced security through sandboxing protects your system from potentially malicious applications. Each Flatpak runs in isolation, unable to access sensitive system areas without explicit permission. This architecture proves particularly valuable when installing applications from lesser-known developers.
Consistency across system updates prevents the classic problem of applications breaking after distribution upgrades. Flatpak applications continue working through Fedora version changes, eliminating compatibility concerns. Rollback capabilities allow reverting to previous application versions if updates introduce problems.
Congratulations! You have successfully installed Flatpak. Thanks for using this tutorial for installing Flatpak on your Fedora 43 Linux system. For additional or useful information, we recommend you check the official Flatpak website.