The package manager provides the means to install, update and remove application packages based on a given repository.
The repository can be located on a webserver or on the local file system. If located on a webserver the communication via a proxy is also supported.
The package manager keeps a local database storing the locally installed packages.
The packages have the following naming convention PACKAGENAME_CONFIGURATION_PLATFORM_VERSION.
PACKAGENAME
The name of the package. It must not contain a hyphen character.
CONFIGURATION
The configuration of the package. Standard packages have the RELEASE configuration. For development there might be a DEBUG configuration or others.
PLATFORM
WIN32
Windows 32 bit Intel platform
WIN64
Windows 64 bit Intel platform
LIN32
Linux 32 bit Intel platform
LIN64
Linux 64 bit Intel platform
Per default the package manager will install the platform package for the host that the package manager is executed on.
VERSION
The version of the package. Version information has the following convention: VXXXRXXXBXXX
Version
The version specifies a release that might have incompatible enhancements in regards to configuration and interfaces (e.g. webservices).
Revision
The Revision of a Version contains enhancements or fixes, but behavious compatible in regards to configuration and interfaces (e.g. webservices).
Build
The Build of a Revision allows to distinguish different versions of a revision and is used during the delivery process.
The package manager executable has several command line arguments.
An introduction to the command line arguments of yasipm can be displayed by executing yasipm without any arguments.
Also the version of the yasipm executable is displayed. It is recommended to always use the latest version.
yasipm [OPTIONS] [COMMAND]
Version: WIN64x86V0R3B4000
Options are specified by prefixing the option with - (linux) or / (windows).
The yasipm command supports the specification of an alternative repository.
yasipm [COMMAND] /repo REPOSITORY
The repository can either be specified as URL or as local directory.
yasipm [COMMAND] /repo http://repo/repo
yasipm [COMMAND] /repo https://repo/repo
If there is a proxy between the local host and the remote repository the /proxy option can be specified.
yasipm [COMMAND] /repo https://repo/repo /proxy proxy:8080
yasipm [COMMAND] /repo c:\repository
The package manager expects a file repodir.xml in the specified directory, which contains the available packages.
The available packages in a repository can be retrieved with the avail command.
yasipm avail
This will display the packages on the standard remote repository. Alternate repositories can be displayed by specifying the /repo option.
The installed packages on the local host can be retrieved with the list command.
yasipm list
This will display the installed packages on the local host.
A package can be installed by the install command.
yasipm install [PACKAGENAME] [VERSION]
This will install the specified package from the standard remote repository. An alternate repository can be used by specifying the /repo option.
Per default the latest version of the package will be installed. A version can be specified in the format VXXXRXXXBXXX.
A package can be updated by the update command.
yasipm update [PACKAGENAME] [VERSION]
This will update the specified package from the standard remote repository. An alternate repository can be used by specifying the /repo option.
Per default the latest version of the package will be installed. A version can be specified in the format VXXXRXXXBXXX.
A package can be patched by the patch command.
yasipm patch [PACKAGENAME]
This will patch the specified package from the standard remote repository. An alternate repository can be used by specifying the /repo option.
The highest patch version (RXXXBXXX) for the installed version will be choosen. A target patch version can be specified in the format VXXXRXXXBXXX.
A package can be repaired by the repair command.
yasipm repair [PACKAGENAME]
This will repair the specified package from the standard remote repository. An alternate repository can be used by specifying the /repo option.
The repair command will download the package with the version installed and update the binaries as well as the configuration.
A package can be removed by the remove command.
yasipm remove [PACKAGENAME]
This will remove the specified package from the system.
The remove command will remove the installation from the system. Locally created files will remain on the system.