← 返回命令列表

Linux command

swupd 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Update

sudo swupd update

Example

swupd check-update

List

swupd bundle-list

Search

swupd search -b [package]

Install

sudo swupd bundle-add [bundle]

Remove

sudo swupd bundle-remove [bundle]

Verify

sudo swupd verify

Example

swupd info

说明

swupd is the software update and bundle management tool for Clear Linux. Unlike traditional package managers, swupd manages bundles (collections of related packages) and uses file-level versioning similar to git, where each OS version represents a complete, consistent snapshot. Updates are highly efficient, downloading only changed files using binary deltas. The tool can verify system integrity, repair corrupted files, and manage automatic updates.

参数

-b
Search for bundles (with search)
--all
Show all available bundles (with bundle-list)
--force
Force operation
--no-scripts
Skip post-update scripts
-h, --help
Display help

FAQ

What is the swupd command used for?

swupd is the software update and bundle management tool for Clear Linux. Unlike traditional package managers, swupd manages bundles (collections of related packages) and uses file-level versioning similar to git, where each OS version represents a complete, consistent snapshot. Updates are highly efficient, downloading only changed files using binary deltas. The tool can verify system integrity, repair corrupted files, and manage automatic updates.

How do I run a basic swupd example?

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

What does -b do in swupd?

Search for bundles (with search)