Skip to content

synopkg ‐‐help

Dave Russell edited this page Dec 9, 2023 · 4 revisions
# synopkg --help
usage: synopkg <command> [...]

command:
 start <package>                                        Start a package.
 stop <package>                                         Stop a package.
 restart [--service] <package|searvice>                 Restart one package/one or more services.
 resume <package>                                       Start a package without change its systemd enable status.
                                                        It will do nothing if package is disable or already active.
 pause <package>                                        Stop a package without change its systemd enable status.
                                                        It will do nothing if package is already inactive.
 start-depend <service>                                 Start all packages depend on specific service.
 stop-depend <service>                                  Stop all packages depend on specific service.
 onoffall start|stop [event] [param]                    Start or stop all the packages.
 install <spk>                                          Install a package through local spk.
 install_from_server <package> [volume] [user] [beta]   Install a package from server.
 uninstall <package>...                                 Uninstall one or more package.
 upgradeall [limitonly] [lang] [user]                   Upgrade all upgradable package.
 chkupgradepkg [lang]                                   Find all upgradable packages from server, and decide 
                                                        whether to upgrade according to user settings.
 checkupdateall [lang] [user]                           Find all upgradable packages from server (use cache first), 
                                                        and decide whether to upgrade according to user settings.
 status <package>                                       Get status of an installed package.
 is_onoff <package>                                     Check if a package is installed and active.
 version <package>                                      Get version of an installed package.
 query <spk>                                            Get a package's basic information from the spk.
 list [--name] [--depend-on <package>]                  List installed package.
 checkupdate <package> [lang]                           Check if a package is updatable.
 show [--beta] [--lang <lang>] <package>                Show package details.
 showall [--beta] [--no-filter] [--lang <lang>]         Show all packages details.
Clone this wiki locally