flatpak-list - Linux
Overview
flatpak-list is a powerful utility designed to manage and monitor Flatpak packages installed on a Linux system. It provides a comprehensive list of installed Flatpaks, along with detailed information about each one. This command serves as a central hub for manipulating Flatpak packages, making it indispensable for Flatpak users.
Syntax
flatpak list [OPTIONS...]
Options/Flags
- -a, –all: Display all packages, including those from third-party repositories.
- -i, –installed: Only list installed packages.
- -r, –remote: Only list remote packages.
- -u, –updates: Only list packages with available updates.
- -T, –sort-by=FIELD: Sort by the specified field (
name
,description
,runtime
,origin
,version
,install_time
). - –app: Only list applications.
- –runtime: Only list runtimes.
- –theme: Only list themes.
- –help: Display usage information.
- –version: Display version information.
Examples
- List all installed Flatpaks:
flatpak list
- Show detailed information about a specific package:
flatpak list --info com.google.Chrome
- List only installed applications:
flatpak list --app
- Sort the list by install time (oldest to newest):
flatpak list --sort-by=install_time
Common Issues
- No packages are listed: Ensure that Flatpak is installed and configured correctly. Refer to the Flatpak documentation for more information.
- Permission denied: Run the command with
sudo
privileges to overcome permission issues.
Integration
flatpak-list can be combined with other commands for advanced package management:
- Update all installed packages:
sudo flatpak update && flatpak list --updates
- Install a package from a remote repository:
flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak install flathub com.github.tchx84.Flatseal
- Uninstall a package:
flatpak uninstall com.google.Chrome
Related Commands
- flatpak install: Install Flatpak packages.
- flatpak remove: Remove Flatpak packages.
- flatpak update: Update Flatpak packages.
- flatpak remote-add: Add a Flatpak repository.
- Flatpak documentation