2017-12-08 03:58:59 +00:00
|
|
|
# snap
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> Manage the "snap" self-contained software packages.
|
|
|
|
> Similar to what `apt` is for `.deb`.
|
2022-03-21 17:07:48 +00:00
|
|
|
> More information: <https://manned.org/snap>.
|
2017-12-08 03:58:59 +00:00
|
|
|
|
|
|
|
- Search for a package:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`snap find {{query}}`
|
2017-12-08 03:58:59 +00:00
|
|
|
|
|
|
|
- Install a package:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`snap install {{package}}`
|
2017-12-08 03:58:59 +00:00
|
|
|
|
2020-02-26 03:17:21 +00:00
|
|
|
- Update a package:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`snap refresh {{package}}`
|
2020-02-26 03:17:21 +00:00
|
|
|
|
2021-05-27 23:44:39 +01:00
|
|
|
- Update a package to another channel (track, risk, or branch):
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`snap refresh {{package}} --channel={{channel}}`
|
2021-05-27 23:44:39 +01:00
|
|
|
|
2018-10-21 23:07:28 +01:00
|
|
|
- Update all packages:
|
|
|
|
|
|
|
|
`snap refresh`
|
|
|
|
|
2017-12-08 03:58:59 +00:00
|
|
|
- Display basic information about installed snap software:
|
|
|
|
|
|
|
|
`snap list`
|
|
|
|
|
|
|
|
- Uninstall a package:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`snap remove {{package}}`
|
2017-12-08 03:58:59 +00:00
|
|
|
|
|
|
|
- Check for recent snap changes in the system:
|
|
|
|
|
|
|
|
`snap changes`
|