How to use

Overview

Using SUSE Package Hub is as simple as:

  1. Register your SUSE product
  2. Enable the SUSE Package Hub extension
  3. Search for and install packages

Availability

SUSE Package Hub is available as a free extension to all users with valid subscriptions for the following products:

  • SUSE Linux Enterprise Server 12 and 15
  • SUSE Linux Enterprise Desktop 12 and 15
  • SUSE Linux Enterprise Server for SAP Applications 12 and 15
  • SUSE Linux Enterprise Server for Raspberry Pi

After registering your SUSE product, the Package Hub extension will need to be enabled using either the YaST2 SUSE Customer Center module, or the SUSEConnect tool.

Enabling During Installation

Just like other modules or extensions, the Package Hub extension can be enabled and packages selected to be included during the initial OS installation using the following steps:

  1. Boot the SUSE Linux Enterprise product installer
  2. Accept the EULA
  3. Register the SUSE Linux Enterprise 12 or 15 product
  4. Select the SUSE Package Hub 12 (or SUSE Package Hub 15) extension
  5. Accept the SUSE Package Hub key if prompted
  6. Continue with installation as usual

Once the Package Hub extension is enabled, packages from the Package Hub can be selected for installation using the software selection tool.

Screen Shots

Enabling Post Installation

YaST2 Registration Module

The SUSE Package Hub can be enabled on existing installations using the YaST2 Registration Module as follows:

  1. Launch the YaST2 Customer Center module
  2. Register the base SUSE product if not done already
  3. View modules and extensions
  4. Select the SUSE Package Hub 12 (or SUSE Package Hub 15) extension
  5. Accept the SUSE Package Hub key if prompted
Screen Shots

Enabling with SUSEConnect

The Package Hub extension can be enabled on registered systems using the SUSEConnect command line tool

The basic commandline pattern is:

SUSEConnect -p PackageHub/$SLEVER.$SPNUM/$ARCH

$SLEVER = Major version of the SUSE Linux Enterprise Product (12 or 15)
$SPNUM = The service pack number (i.e. 1, 2, 3, 4...)
$ARCH = The platform architecture (aarch64, ppc64le, s390x, or x86_64)

for example with SUSE Linux Enterprise 12 SP5 for x86_64:

SUSEConnect -p PackageHub/12.5/x86_64

or SUSE Linux Enterprise 15 SP5 for ARM:

SUSEConnect -p PackageHub/15.5/aarch64


TIP | Use SUSEConnect --list-extensions to list all available modules and extensions as well as the SUSEConnect command required to enable them:

NOTE | Enabling SUSE Package Hub with older releases of SUSEConnect might output an error similar to the following:

command 'zypper --no-refresh --non-interactive install --no-recommends --auto-agree-with-product-licenses -t product PackageHub' failed
Error: zypper returned (106) with 'Error building the cache:
[SUSE_Package_Hub_15_SP1_x86_64:SUSE-PackageHub-15-SP1-Backports-Pool|https://updates.suse.com/SUSE/Backports/SLE-15-SP1_x86_64/standard] Valid metadata not found at specified URL
Some of the repositories have not been refreshed because of an error.'

That zypper (106) error can be safely ignored. To avoid the error message, ensure SUSEConnect is updated to the latest release.