Content
Install a package from remote repository
pkgmanager --installpkg package-name
Install a package from local path
pkgmanager --installpkg /path/to/package/package.txz
The example assumes that the package name is in valid form.
Fallback to upgrade operation
If we are trying to install a package that is already installed pkgmanager behaves like this:
- If the version and\or build number is higher on remote that an upgrade will be performed.
- If the version and\or build number is lower or equal the package will be skipped.
Additional options
- --allow-downgrade - allow to downgrade a package. Also used as force-upgrade switch.
- --disable-recommends - do not download additional packages recommended by installed ones or by their dependencies
- --yes - answer "yes" to any prompt. Batch mode
- --regenerate-outdated - if there are outdated dependencies affected by updated packages regenerate their meta using current system.
- --overwrite - replace configs files with defaults while installing
- --resolve-conflicts - automatically remove packages which are conflicting with new packages being installed
- --root - chroot to path and perform any operations there