mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 16:35:43 +02:00
36 lines
749 B
Markdown
36 lines
749 B
Markdown
# updatectl
|
|
|
|
> System update utility.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/257/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]}}`
|