synopkg: add page (#6264)

beep
Axel Navarro 2021-07-27 14:06:28 -03:00 committed by GitHub
parent f8c5cc32c9
commit 1f42eaac02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

36
pages/linux/synopkg.md Normal file
View File

@ -0,0 +1,36 @@
# 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}}`