Top Menu

Jump to content
  • Package manager
    • View all projects
Home
    • Work packages
    • News
    • Getting started
    • Introduction video
    • Welcome to OpenProject

      Get an overview

      Get a quick overview of project management and team collaboration with OpenProject.
      You can restart this video from the help menu

    • Help and support
    • Upgrade to Enterprise Edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Create a new account
      Forgot your password?

Side Menu

  • Overview
  • Activity
  • Work packages
  • News
  • Forums
  • Repository
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leafCaches and Metadata locations
        • Hierarchy leafConfiguring pkgmanager
        • Hierarchy leafHelp
        • Hierarchy leafInstalling new software
        • Expanded. Click to collapseCollapsed. Click to showPackaging new software
          • Hierarchy leafPackage structure and metadata
          • Hierarchy leaftxz format
        • Hierarchy leafRemoving software
        • Hierarchy leafUpgrading software
You are here:
  • Wiki
  • Installing new software

Content

Installing new software

  • More
    • Table of contents

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
Loading...