This is a tutorial to install packages in Linux based operating system using flatpak sandboxing packaging system.

Installing core flatpak package in Ubuntu

$ sudo add-apt-repository ppa:alexlarsson/flatpak
$ sudo apt update
$ sudo apt install flatpak

Adding remote repository

flatpak remote-add --if-not-exists <remote_name> <repo_url>


flatpak remote-add --if-not-exists flathub
# Gnome flatpak repo contains runtime dependencies to run other flatpak applications. Add it.
flatpak remote-add --if-not-exists gnome
# Now add gnome app repo
flatpak remote-add gnome-apps

List all all added repositories

flatpak remote-list

This is the total list of added repositories.

List all packages in remote repository

flatpak remote-ls --app <remote_name>


flatpak remote-ls --app flathub

Installing flatpak applications

Install from downloaded .flatpakref file

flatpak install --from <path_to_.flatpakref_file>


flatpak install --from ~/Downloads/org.blender.Blender.flatpakref
# or
flatpak install --from
# or
flatpak install flathub org.gimp.GIMP	#GIMP is an application

Install from downloaded .flatpak package

flatpak install --bundle LibreOffice.flatpak

To run application

flatpak list
flatpak run <application>


flatpak run org.libreoffice.LibreOffice
# or
flatpak run org.blender.Blender

To uninstall application

flatpak uninstall <application>


flatpak uninstall org.libreoffice.LibreOffice

To update applications

To update all applications

flatpak update

To update specific application

flatpak update <application>


flatpak update org.libreoffice.LibreOffice