mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 02:53:08 +00:00
Update cheatsheets
This commit is contained in:
41
linux/synopkg
Normal file
41
linux/synopkg
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# synopkg
|
||||
|
||||
> Package management utility for Synology DiskStation Manager.
|
||||
> More information: <https://www.synology.com/dsm>.
|
||||
|
||||
- List the names of installed packages:
|
||||
|
||||
`synopkg list --name`
|
||||
|
||||
- List packages which depend on a specific package:
|
||||
|
||||
`synopkg list --depend-on {{package}}`
|
||||
|
||||
- Start/Stop a package:
|
||||
|
||||
`sudo synopkg {{start|stop}} {{package}}`
|
||||
|
||||
- Print the status of a package:
|
||||
|
||||
`synopkg status {{package}}`
|
||||
|
||||
- Uninstall a package:
|
||||
|
||||
`sudo synopkg uninstall {{package}}`
|
||||
|
||||
- Check if updates are available for a package:
|
||||
|
||||
`synopkg checkupdate {{package}}`
|
||||
|
||||
- Upgrade all packages to the latest version:
|
||||
|
||||
`sudo synopkg upgradeall`
|
||||
|
||||
- Install a package from a synopkg file:
|
||||
|
||||
`sudo synopkg install {{path/to/package.spk}}`
|
||||
Reference in New Issue
Block a user