1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-14 19:15:51 +02:00
tldr/pages/linux/updatectl.md

37 lines
745 B
Markdown
Raw Normal View History

# updatectl
> System update utility.
2025-08-10 13:53:13 +03:00
> 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]}}`