← 返回命令列表

Linux command

flatpak-mask 命令

文本

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

常用示例

Mask

flatpak mask [com.example.app]

Remove

flatpak mask --remove [com.example.app]

List

flatpak mask --user

List

flatpak mask --system

Example

flatpak mask app/org.domain.*

Example

flatpak mask [com.example.app]//unstable

说明

Flatpak mask prevents specified applications or extensions from being updated or automatically installed. A masked ref will never receive updates, and masked extensions marked for auto-download will not be downloaded. Patterns support wildcards using \* to match content within ref sections. You can mask specific applications, entire domains, architecture-specific builds, or particular branches. Running the command without patterns lists all current masks for the specified installation (user or system).

参数

--remove
Remove specified mask patterns instead of adding them
-u, --user
Apply mask to per-user installation
--system
Apply mask to default system-wide installation
--installation _name_
Target a specific named system installation
-v, --verbose
Output debug information during processing
-h, --help
Display help and exit

FAQ

What is the flatpak-mask command used for?

Flatpak mask prevents specified applications or extensions from being updated or automatically installed. A masked ref will never receive updates, and masked extensions marked for auto-download will not be downloaded. Patterns support wildcards using \* to match content within ref sections. You can mask specific applications, entire domains, architecture-specific builds, or particular branches. Running the command without patterns lists all current masks for the specified installation (user or system).

How do I run a basic flatpak-mask example?

Run `flatpak mask [com.example.app]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --remove do in flatpak-mask?

Remove specified mask patterns instead of adding them