Files
cheatsheet-tldr/tldr/linux/abroot
2025-12-07 00:23:48 +00:00

43 lines
1.1 KiB
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# abroot
> Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B).
> Updates are performed using OCI images, to ensure that the system is always in a consistent state.
> More information: <https://docs.vanillaos.org/docs/en/abroot-manpage>.
- Add packages to the local image (Note: After executing this command, you need to apply these changes.):
`sudo abroot pkg add {{package}}`
- Remove packages from the local image (Note: After executing this command, you need to apply these changes.):
`sudo abroot pkg remove {{package}}`
- List packages in the local image:
`sudo abroot pkg list`
- Apply changes in the local image (Note: You need to reboot your system for these changes to be applied):
`sudo abroot pkg apply`
- Rollback your system to previous state:
`sudo abroot rollback`
- Edit/View kernel parameters:
`sudo abroot kargs {{edit|show}}`
- Display status:
`sudo abroot status`
- Display help:
`abroot {{[-h|--help]}}`