Docs

Package repositories

A package repository is a collection of packages and extra data detailing what packages are available and information about them. They offer an easy way for remote machines to download and install packages via a package manager.

Each package repository is private and owned by a single organisation. Please ensure when creating repositories you have the correct organisation selected.

For a more in-depth guide to package repositories, please see the Package Repositories section.

Creating your first package repository in PKG Deploy

Creating a package repository in PKG Deploy takes seconds.

  1. Select Package Repos from the left-hand navigation
  2. Click on the Create new package repository button
  3. If you had the All organisation selected the next page will ask you to select an organisation
  4. Select the type of repository you would like to create
    • An APT repository for deb packages
    • A Yum repository for rpm packages
  5. Check the organisation in the section head is correct. i.e.MyOrg - Create package repository
  6. Click Create package repository

Congratulations you have created your first package repository

Uploading packages

Every time you build packages by creating a release, any packages created will be automatically uploaded to a package repository so that they can be installed via APT or Yum.

This means that before you build a package you need to ensure that the organisation for the project has the correct type of package repository. If it does not the release will fail.

Installing packages from a repository

To start installing packages from a package repository you first need to add setup the PKG Deploy package repository on the remote server

Once that is done you can use APT or Yum to install packages