InnoTecSol >ICS >ICS Version: 0.7.2425 Documentation >Package Manager yasipm
ICS Version: 0.7.2425
Package Manager yasipm
The ICS platform provides a simple package manager yasipm to install and update ICS or other applications build on the platform.

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.

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

Commands
help
displays help
install
installs the specified package
update
updates the specified package
patch
patches the specified package
repair
repairs the specified package
remove
removes the specified package
list
lists the installed packages
Internal Usage only
init
installs the package manager
self-init
self initializes the package manager
self-repair
self repair of package manager
self-update
self update of the package manager
scan
scans directory and creates configuration files section
create
creates an installation package
repo
creates a package manager repository
Options

Options are specified by prefixing the option with - (linux) or / (windows).

[-|/]repo
the repository URI to download the software from
[-|/]repousr
The User and Password in format user:password for the authentification
[-|/]proxy
the proxy (format proxyhost:port) to use for the internet connection
[-|/]db
the installation database to use
[-|/]config
the package configuration to use [DEBUG|RELEASE] (internal use only)
[-|/]t
trace level to use (0=none, 7=default, 15=warn, 31=details, 63=verbose, 1023=debug, 2047=all)
[-|/]trc
trace file to use
help [COMMAND]
Passing help as command argument and the command as identifier argument displays the help for the command.

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 c:\repository
					
				

If a authentification is required for the repository or a programm the /repousr option can be used.

					
						yasipm [BEFEHL] /repo https://server/repopfad /repousr user:passwd
					
				

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.