← 返回命令列表

Linux command

flatpak-update 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Update all

flatpak update

Example

flatpak update -y

Example

flatpak update [com.example.app]

Downgrade

flatpak update --commit [COMMIT_HASH] [com.example.app]

Example

flatpak update --user

Example

flatpak update --system

Download

flatpak update --no-deploy

说明

Flatpak update updates applications and runtimes to their latest versions from configured remotes. Without arguments, it updates everything including appstream metadata for all remotes. References follow the format (app|runtime)/ID/ARCH/BRANCH, where most elements are optional. The tool automatically resolves partial references. The command offers to uninstall unused end-of-life runtimes while preserving those explicitly installed or pinned. Use --commit to update or downgrade to a specific version identified by its commit hash.

参数

-u, --user
Update per-user installations
--system
Update system-wide installations
--commit _commit_
Update to a specific commit (can downgrade)
--no-pull
Deploy locally available versions without downloading
--no-deploy
Download updates without deploying them
--app
Only update applications
--runtime
Only update runtimes
-y, --assumeyes
Automatically answer yes to all prompts
--noninteractive
Minimal output for scripting/automation
--appstream _remote_
Update appstream metadata for remotes
-v, --verbose
Output debug information

FAQ

What is the flatpak-update command used for?

Flatpak update updates applications and runtimes to their latest versions from configured remotes. Without arguments, it updates everything including appstream metadata for all remotes. References follow the format (app|runtime)/ID/ARCH/BRANCH, where most elements are optional. The tool automatically resolves partial references. The command offers to uninstall unused end-of-life runtimes while preserving those explicitly installed or pinned. Use --commit to update or downgrade to a specific version identified by its commit hash.

How do I run a basic flatpak-update example?

Run `flatpak update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u, --user do in flatpak-update?

Update per-user installations