Flatpak Operations¶
Manage flatpak packages. See https://www.flatpak.org/
Facts used in these operations: flatpak.FlatpakPackages.
flatpak.packages
¶
Install/remove a flatpak package
flatpak.packages(packages=None, present=True)
- packages: List of packages
- present: whether the package should be installed
Examples:
# Install vlc flatpak
flatpak.package(
name="Install vlc",
packages="org.videolan.VLC",
)
# Install multiple flatpaks
flatpak.package(
name="Install vlc and kodi",
packages=["org.videolan.VLC", "tv.kodi.Kodi"],
)
# Remove vlc
flatpak.package(
name="Remove vlc",
packages="org.videolan.VLC",
present=False,
)