FLATPAK-UPDATE(1)
β¨ FLATPAK UPDATE β¨
okay bestie, welcome to the flatpak update page from the flatpak manual π
this is the one where we update our apps and runtimes, and honestly? it's giving maintenance era. let's get into it π«Ά
πΈ NAME πΈ
flatpak-update β update an application or runtime β¨
π SYNOPSIS π
flatpak update [OPTION...] [REF...]
flatpak update [OPTION...] --appstream [REMOTE]
π DESCRIPTION π
So like, this command updates your applications and runtimes. REF is a reference to the application or runtime you wanna update. And if you don't give it any REF at all? It updates everything, plus the appstream info for all remotes. slay, full send π
Each REF argument is a full or partial identifier in the flatpak ref format, and it looks like this:
(app|runtime)/ID/ARCH/BRANCH
Everything except ID is optional and can be left out β yes, including the slashes β so most of the time you literally only need the ID. Any part you leave out gets matched against what's actually installed, and if there are multiple matches, an error message will list the alternatives for you. helpful icon behavior fr fr π
By default this looks for both apps and runtimes with the given REF, but you can narrow that down with the --app or --runtime option, or by just supplying that initial element in the REF yourself. iykyk.
Normally, this command updates the application to the tip of its branch. But bestie, you can check out another commit β that's what the --commit option is for π
If the configured remote for a ref being updated has a collection ID configured on it, Flatpak will search the sideload-repos directories configured either with the --sideload-repo option, or on a per-installation or system-wide basis (see flatpak(1)).
For OCI remotes, sideload repositories can also be specified as --sideload-repo=oci:PATH or --sideload-repo=oci-archive:PATH, where path points to an OCI image layout or archive of an OCI image layout. (See containers-transports(5).) When specified in this fashion, the images found in the image layout are available for all OCI remotes, without regard to collection ID. For this reason, there is no directory equivalent β it can only be specified on the command line. no cap π
β οΈ Note that updating a runtime is different from installing a different branch, and runtime updates are expected to keep strict compatibility. If an application update does cause a problem, it's possible to go back to the previous version with the --commit option. so keep that in your back pocket π«Ά
In addition to updates, this command will offer to uninstall any unused end-of-life runtimes. But β and this is important β runtimes that were explicitly installed (not as a dependency) or explicitly pinned (see flatpak-pin(1)) are left installed even if they're unused and end-of-life. they get a pass, periodt π
Unless you override it with the --user, --system or --installation option, this command updates any matching refs in the standard system-wide installation and the per-user one. both. at once. multitasking queen β¨
π OPTIONS π
The following options are understood:
-h,--helpβ show help options and dip. bye π-u,--userβ update a per-user installation.--systemβ update the default system-wide installation.--installation=NAMEβ updates a system-wide installation specified byNAMEamong those defined in/etc/flatpak/installations.d/. And just so you know, using--installation=defaultis equivalent to using--system.--arch=ARCHβ the architecture to update for. Peepflatpak --supported-archesfor the architectures your host actually supports.--subpath=PATHβ install only a subpath of the ref. This is mainly used to install a subset of locales. You can add this multiple times to install multiple subpaths. If you don't specify it, the subpaths specified at install time are reused. recycling era β»οΈ--commit=COMMITβ update to this commit, instead of the tip of the branch. You can find commits usingflatpak remote-info --log REMOTE REF. detective work π--no-deployβ download the latest version, but don't deploy it. look but don't touch π--no-pullβ don't download the latest version, just deploy whatever is locally available.--no-relatedβ don't download related extensions, such as the locale data.--no-depsβ don't update or install runtime dependencies when installing.--appβ only look for an app with the given name.--appstreamβ update appstream forREMOTE, or all remotes if no remote is specified.--runtimeβ only look for a runtime with the given name.--sideload-repo=PATHβ adds an extra local ostree repo as a source for installation. This is equivalent to using the sideload-repos directories (seeflatpak(1)), but can be done on a per-command basis. Any path added here is used in addition to the ones in those directories.-y,--assumeyesβ automatically answer yes to all questions (or pick the most prioritized answer). This is useful for automation. perfect for when you simply cannot be bothered π--noninteractiveβ produce minimal output and avoid most questions. This is suitable for use in non-interactive situations, e.g. in a build script.--force-removeβ remove old files even if they're in use by a running application. bold. risky. iconic π₯-v,--verboseβ print debug information during command processing.--ostree-verboseβ print OSTree debug information during command processing.
π¦ EXAMPLES π¦
$ flatpak --user update org.gnome.gedit
π SEE ALSO π
flatpak(1), flatpak-install(1), flatpak-list(1), ostree-find-remotes(1)
and that's the whole page, bestie π this came to you straight from the flatpak manual β that's the source, right there at the bottom, no extra version drama attached to it. go forth and update responsibly, and remember: full refs are optional but good vibes are mandatory πβ¨
π¦ where this page comes from
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms