mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 17:50:46 +00:00
Update cheatsheets
This commit is contained in:
30
tldr/linux/bootc
Normal file
30
tldr/linux/bootc
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bootc
|
||||
|
||||
> Boot and upgrade via container images.
|
||||
> Manages transactional, in-place operating system updates using OCI/Docker container images.
|
||||
> More information: <https://containers.github.io/bootc/>.
|
||||
|
||||
- Show deployments in the order they will appear in the bootloader:
|
||||
|
||||
`bootc status`
|
||||
|
||||
- Check if any updates are available:
|
||||
|
||||
`bootc upgrade --check`
|
||||
|
||||
- Prepare a new update and reboot into it:
|
||||
|
||||
`bootc upgrade --apply`
|
||||
|
||||
- Change OS base to new container image:
|
||||
|
||||
`bootc switch {{image}}`
|
||||
|
||||
- Reboot into the previous ostree deployment:
|
||||
|
||||
`bootc rollback`
|
||||
21
tldr/linux/flatpak-mask
Normal file
21
tldr/linux/flatpak-mask
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# flatpak mask
|
||||
|
||||
> Mask out updates and automatic installation.
|
||||
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-mask>.
|
||||
|
||||
- Ignore updates for a specific flatpak:
|
||||
|
||||
`flatpak mask {{com.example.app}}`
|
||||
|
||||
- Undo ignore updates:
|
||||
|
||||
`flatpak mask --remove {{com.example.app}}`
|
||||
|
||||
- List all currently masked patterns:
|
||||
|
||||
`flatpak mask {{--system|--user}}`
|
||||
21
tldr/linux/flatpak-remote-info
Normal file
21
tldr/linux/flatpak-remote-info
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# flatpak remote-info
|
||||
|
||||
> Show information about an application or runtime in a remote.
|
||||
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-remote-info>.
|
||||
|
||||
- Show information about a flatpak:
|
||||
|
||||
`flatpak remote-info {{remote_name}} {{com.example.app}}`
|
||||
|
||||
- Show a log of previous versions in a remote:
|
||||
|
||||
`flatpak remote-info --log {{remote_name}} {{com.example.app}}`
|
||||
|
||||
- Show information about the specific commit, rather than the latest version:
|
||||
|
||||
`flatpak remote-info --commit={{COMMIT}} {{remote_name}} {{com.example.app}}`
|
||||
21
tldr/linux/flatpak-update
Normal file
21
tldr/linux/flatpak-update
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# flatpak update
|
||||
|
||||
> Update flatpak applications and runtimes.
|
||||
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-update>.
|
||||
|
||||
- Update all installed applications and runtimes (use `-y` to confirm all prompts automatically):
|
||||
|
||||
`flatpak update`
|
||||
|
||||
- Update only a specific app:
|
||||
|
||||
`flatpak update {{com.example.app}}`
|
||||
|
||||
- Update/Downgrade to a specific commit (also see flatpak remote-info and flatpak mask):
|
||||
|
||||
`flatpak update --commit={{COMMIT}} {{com.example.app}}`
|
||||
Reference in New Issue
Block a user