← 返回命令列表

Linux command

updatectl 命令

文本

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

常用示例

Check

updatectl check

Update

updatectl update

List

updatectl list

Example

updatectl list [target]

Example

updatectl --offline list [target]

Example

updatectl --reboot update [target]

Clean up

updatectl vacuum [target]

说明

updatectl is a systemd-based system update utility. It manages system updates including checking for new versions, applying updates, and cleaning up old versions. The tool works with update targets which can represent different system components that can be updated independently.

参数

--offline
Use local data without network fetch
--reboot
Reboot after applying update
-h, --help
Display help information

FAQ

What is the updatectl command used for?

updatectl is a systemd-based system update utility. It manages system updates including checking for new versions, applying updates, and cleaning up old versions. The tool works with update targets which can represent different system components that can be updated independently.

How do I run a basic updatectl example?

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

What does --offline do in updatectl?

Use local data without network fetch