mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 01:50:04 +00:00
Update cheatsheets
This commit is contained in:
42
tldr/linux/snap.pkg
Normal file
42
tldr/linux/snap.pkg
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snap
|
||||
|
||||
> Manage the "snap" self-contained software packages.
|
||||
> Similar to what `apt` is for `.deb`.
|
||||
> More information: <https://manned.org/snap>.
|
||||
|
||||
- Search for a package:
|
||||
|
||||
`snap find {{query}}`
|
||||
|
||||
- Install a package:
|
||||
|
||||
`snap install {{package}}`
|
||||
|
||||
- Update a package:
|
||||
|
||||
`snap refresh {{package}}`
|
||||
|
||||
- Update a package to another channel (track, risk, or branch):
|
||||
|
||||
`snap refresh {{package}} --channel={{channel}}`
|
||||
|
||||
- Update all packages:
|
||||
|
||||
`snap refresh`
|
||||
|
||||
- Display basic information about installed snap software:
|
||||
|
||||
`snap list`
|
||||
|
||||
- Uninstall a package:
|
||||
|
||||
`snap remove {{package}}`
|
||||
|
||||
- Check for recent snap changes in the system:
|
||||
|
||||
`snap changes`
|
||||
Reference in New Issue
Block a user