2017-12-08 03:58:59 +00:00
|
|
|
# snap
|
|
|
|
|
|
|
|
> Tool for managing the "snap" self-contained software packages.
|
|
|
|
> Similar to what `apt` is for ".deb".
|
|
|
|
|
|
|
|
- Search for a package:
|
|
|
|
|
|
|
|
`snap find {{package_name}}`
|
|
|
|
|
|
|
|
- Install a package:
|
|
|
|
|
|
|
|
`snap install {{package_name}}`
|
|
|
|
|
2020-02-26 03:17:21 +00:00
|
|
|
- Update a package:
|
|
|
|
|
|
|
|
`snap refresh {{package_name}}`
|
|
|
|
|
2021-05-27 23:44:39 +01:00
|
|
|
- Update a package to another channel (track, risk, or branch):
|
|
|
|
|
|
|
|
`snap refresh {{package_name}} --channel={{channel}}`
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
`snap remove {{package_name}}`
|
|
|
|
|
|
|
|
- Check for recent snap changes in the system:
|
|
|
|
|
|
|
|
`snap changes`
|