PKG-en
From WikiDoc
Contents |
NAME
pkg - manages TGZex packages
SYNTAX
pkg [options] ... packages
DESCRIPTION
PKG is a tool to manage TGZex packages of KateOS system. It allows you to perform basic operations on the packages like: deleting, installing and updating. PKG was created keeping in mind the TGZex packages of KateOS versions 3.0 and above. The program can manage dependencies between the packages (this option is available only for the native KateOS packages.) PKG does not use any external list (either dependency list or others).It can manage standard TGZ packages known from Slackware(TM) distribution, but it does not make all its possibilities available. PKG tool as well as TGZex packages are not compatible with systems based on Slackware and they should not be used in such a distributions.
OPTIONS
Installation options:
--install path_to the_package
-i path_to the_package
Installs selected packages in the system. Depending on a given parameter or option in pkg.conf configutaion file, dependencies may be turned on or off.
Additional parameters used during the installation:
--warn path_to the_package
Shows which files would be overwritten if the package was installed, but does not install it.
--root /mnt
Installs in a specific place e.g. in /mnt.
--infobox
Uses dialog program to show semi-graphical information messages.
--menu
Asks for package installation confirmation, in case the package priority is optional.
--ask
Used with -menu mode, always asks about package installation permission.
--priority ADD|REC|OPT|SKP
Used to define package priority where:
ADD to required package
REC to recommended package
OPT to optional package
SKP to omitted package
--tagfile /path/tagfile
Used to define 'tagfile' file path, containing package priorities. By default, file from package directory is used.
--force
Forces package installation.
Delete option:
--remove short_package_name
-r short_package_name
Deletes selected packages. Depending on a given parameter or option in pkg.conf configutaion file, dependencies may be turned on or off.
Parameters used while deleting:
--warn short_package_name
Shows which files would be deleted, but does not remove the package.
--preserve short_package_name
Restores package contents in the following folder: /var/log/setup/tmp/preserved_packages and then deletes package. --copy short_package_name
Restores package contents in the following folder: /var/log/setup/tmp/preserved_packages and shows information about files which would be deleted.
--with-deps
Deletes packages with packages dependent on it.
Upgrading options:
--upgrade path_to the_package
-u path_to the_package
Upgrade packages from older version to newer one. Depending on a given parameter or option in pkg.conf configutaion file, dependencies may be turned on or off.
--install-new path_to the_package
Installs the package, which version is not currently installed.
--reinstall path_to the_package
Reinstalls the packages, even if the same version is already installed.
Other parameters:
--deps
Switches dependency tracking on.
--nodeps
Switches dependency tracking off.
--show-deps
Shows dependencies. It can be used together with -install and -remove parameters.
--lang [locale]
Defines language for user communication.
--no-colors
Switches the colours off.
--testdeps
Checks if all dependencies are met. This parameter is not associated with any other. This option is useful when you switch to dependencies service mode when the user wants to check if all required packages have been installed.
--help
Shows help message.

