1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-14 15:55:56 +02:00
tldr/pages/linux/updatectl.md
2025-08-10 13:53:13 +03:00

745 B

updatectl

System update utility. More information: https://www.freedesktop.org/software/systemd/man/updatectl.html.

  • Apply an update:

updatectl update {{target}}

  • Apply update and then reboot system:

updatectl --reboot update {{target}}

  • Show data about the target and its versions:

updatectl list {{target}}

  • Return local data about a target without fetching from the network:

updatectl --offline list {{target}}

  • Suppress data headers for returned information:

updatectl --no-legend list {{target}}

  • Check to see if a target has any available updates:

updatectl check {{target}}

  • Clean up old versions of a specified target:

updatectl vacuum {{target}}

  • Display help:

updatectl {{[-h|--help]}}