LinuxCommandLibrary

updatectl

Systemd-based system update controller

TLDR

Check for updates

$ updatectl check
copy
Update to latest version
$ updatectl update
copy
List update targets
$ updatectl list
copy
Show target data
$ updatectl list [target]
copy
List target offline
$ updatectl --offline list [target]
copy
Update and reboot
$ updatectl --reboot update [target]
copy
Clean up old versions
$ updatectl vacuum [target]
copy

SYNOPSIS

updatectl [OPTIONS] COMMAND [TARGET]

DESCRIPTION

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.

PARAMETERS

--offline

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

COMMANDS

check

Check for available updates
update
Update to latest version
list
Show update targets and versions
vacuum
Clean up old versions

CAVEATS

Systemd-based systems only. Some operations require root privileges. Reboot may be required for certain updates to take effect.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community