translations: [ es/Español ] · [ fr/Français ] · [ de/Deutsch ]
Table of contents
Flatpak is a package management system that allows for easy installation and management of applications across various Linux distributions. Here’s a step-by-step guide on how to use Flatpak:
Installing Flatpak
For Ubuntu/Debian:
sudo apt install flatpak
For Fedora:
sudo dnf install flatpak
Adding Flathub Repository
Flathub is a central repository for Flatpak applications. It serves as a hub for a wide range of Flatpak-packaged software, offering a diverse selection of applications across different categories.
By adding the Flathub remote using the command:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
You’re including Flathub as a trusted source for Flatpak applications. This allows you to access a vast catalog of software, making it convenient to install and manage applications from a single, centralized repository. Adding Flathub ensures that you can easily explore and install various applications via Flatpak without needing to manually search for or configure additional repositories.
Installing Applications from Flathub
Search for Apps:
flatpak search <app_name>
Install an App:
flatpak install flathub <app_name>
For example, to install a package named com.valvesoftware.Steam
:
flatpak install flathub com.valvesoftware.Steam
Managing Installed Applications
List Installed Apps:
flatpak list
Uninstall an App:
flatpak uninstall <app_name>
For instance, to uninstall the package named com.valvesoftware.Steam
:
flatpak uninstall com.valvesoftware.Steam
Installing from Other Repositories
Add and install applications from other Flatpak repositories using the flatpak remote-add
and flatpak install
commands.
Running Flatpak Applications
Launch Flatpak apps from your application menu or by typing the app’s name in the terminal.
Example for a package named com.valvesoftware.Steam
:
flatpak run com.valvesoftware.Steam
Updating Flatpak Apps
Keep apps up-to-date:
flatpak update
Created on: Jan 1, 2024
Discover More within this Subject:
- Understanding and using Dnf in Fedora
- Upgrading and Rolling Back Fedora Silverbue
- Understanding `kill` Command in Linux
- Understanding `ps` Command in Linux
- Creating and deleting containers in Podman