synopkg
Manage Synology packages
TLDR
List the names of installed packages
List packages which depend on a specific package
Start/Stop a package
Print the status of a package
Uninstall a package
Check if updates are available for a package
Upgrade all packages to the latest version
Install a package from a synopkg file
SYNOPSIS
Given that "synopkg" is not a universally documented standalone command, its exact syntax can vary depending on the Synology SDK version or specific community tools. However, if it were a command-line utility for package building, a typical pattern might involve specifying the source directory, output location, and metadata.
synopkg build --source=
synopkg [command] [options] [arguments]
This representation is generalized, assuming a utility designed for building packages. Actual usage often involves make commands within the Synology SDK, which in turn might invoke internal scripts or tools.
PARAMETERS
build
Subcommand to initiate the package creation process.
--source=
Specifies the directory containing the source files and package definition (e.g., INFO file, scripts) for the application.
--output=
Defines the destination directory where the resulting .spk package file will be saved.
--version=
Sets the specific version string for the package being built.
--arch=
Specifies the target CPU architecture for the package (e.g., x64, armv7, armada38x).
--platform=
Defines the Synology platform or model compatibility for the package.
--sign
If supported, digitally signs the package for verification.
--clean
Cleans up intermediate build files or temporary directories.
DESCRIPTION
The term "synopkg" typically refers to utilities or processes involved in creating .spk (Synology Package) files for Synology DiskStation Manager (DSM). Unlike standard Linux package managers like apt or dnf, synopkg is not a general-purpose command for installing or managing software on a typical Linux distribution. Instead, it's specific to the Synology ecosystem, primarily used by developers to package applications and services that can then be installed via the DSM Package Center on Synology NAS devices. It encapsulates an application's binaries, scripts, configuration, and metadata into a single distributable archive. The exact command or script named "synopkg" often exists within the Synology Package SDK (Software Development Kit) and is part of a larger build system for compiling and bundling software for DSM.
CAVEATS
synopkg is not a standard Linux command found in most distributions' repositories (e.g., Ubuntu, Debian, Fedora). It is almost exclusively related to the Synology DiskStation Manager (DSM) ecosystem and its Software Development Kit (SDK). Users will not typically find a man synopkg page on a general Linux system. Its primary role is in developing and packaging applications for Synology NAS devices, not for general software installation or management on other Linux systems. The exact implementation and available options depend heavily on the specific Synology SDK version or third-party tools used for .spk package creation.
<B>ROLE IN SYNOLOGY ECOSYSTEM</B>
synopkg's function is purely focused on the creation of .spk files. These files are then uploaded and installed on Synology NAS devices via the DSM Package Center. The Package Center is the user-facing interface for managing installed applications, whereas synopkg operates at the developer/build level.
<B>AVAILABILITY AND USAGE</B>
This utility or process is typically found within the Synology Package SDK, which developers download from Synology's website. It is used in a development environment (often a Linux-based one) to cross-compile and package applications for different Synology NAS architectures. It is not something an end-user would typically execute directly on their NAS or a general Linux desktop.
HISTORY
The concept and tools referred to as synopkg have evolved alongside the Synology DiskStation Manager (DSM) and its increasing support for third-party applications. As Synology NAS devices gained popularity, the need for a structured way to develop and distribute applications (.spk packages) became critical. While a specific command synopkg might not have a long public history like apt or rpm, the underlying methods for creating .spk packages have been a part of the Synology Package SDKs for many years, enabling developers to extend DSM's functionalities. Its development is tied directly to Synology's efforts to provide a robust and secure platform for applications on its NAS devices.