5.3 Managing Modules and Extensions in a Running System

Even after a system is installed and registered, adding and removing modules and extensions is still possible. You can either use YaST or SUSEConnect for this task.

5.3.1 Adding Modules and Extensions with YaST

  1. Start YaST > Software > Add System Extensions or Modules.

  2. To add modules or extensions, select all components you would like to install. Note that all extensions require additional registration codes which are liable for cost.

  3. All additional components are registered with the registration server and the associated repositories are added to your system.

  4. The YaST package installer opens to install release-packages for each module and, depending on your choice of modules and extensions, additional packages. It is strongly recommended not to deselect any of the preselected packages; you may, however, add additional packages.

    Choose Accept and Finish to conclude the process.

HINT: Module Dependencies

Similar to software packages, who may depend on other packages to function, a module may have dependencies on other modules. If this is the case, the depending module is automatically selected for installation.

5.3.2 Deleting Modules and Extensions with YaST

  1. Start YaST > Software > Add-On Products.

  2. Choose the module or extension that should be removed and click Delete. Confirm the warning saying that all packages from the selected component will be removed.

  3. The YaST Software Manager opens and shows a list of all installed packages from the deleted module or extension. Click Accept to remove all of them. It is strongly recommended to do so, because you will no longer get updates for packages from deleted modules or extensions. In case you keep packages, make sure to at least remove the *-release package for each module or extension that gets deleted.

    Proceed with Accept and then OK.

WARNING: Deleting Modules

Note that you should never delete the Basesystem Module. It is also not recommended to delete the , SUSE Linux Enterprise Workstation Extension and Desktop Applications Module.

WARNING: No Updates for Packages from Deleted Modules and Extensions

If you choose to keep packages from deleted modules or extensions, you will no longer receive updates for these packages. Because this includes security fixes, keeping such packages may introduce a security risk to your system.

5.3.3 Adding/Deleting Modules and Extensions with SUSEConnect

  1. Run SUSEConnect -list-extensions to get an overview of available extensions:

    tux > sudo SUSEConnect -list-extensions
    AVAILABLE EXTENSIONS AND MODULES
    
      Basesystem Module 15 x86_64 (Installed)
      Deactivate with: SUSEConnect -d -p sle-module-basesystem/15/x86_64
    
        Desktop Applications Module 15 x86_64 (Installed)
        Deactivate with: SUSEConnect -d -p sle-module-desktop-applications/15/x86_64
    
          Development Tools Module 15 x86_64
          Activate with: SUSEConnect    -p sle-module-development-tools/15/x86_64
    
          SUSE Linux Enterprise Workstation Extension 15 x86_64 (Installed)
          Deactivate with: SUSEConnect -d -p sle-we/15/x86_64
    
        SUSE Cloud Application Platform Tools Module 15 x86_64
        Activate with: SUSEConnect    -p sle-module-cap-tools/15/x86_64
    
        SUSE Package Hub 15 x86_64
        Activate with: SUSEConnect    -p PackageHub/15/x86_64
    
    MORE INFORMATION
    
    You can find more information about available modules here:
    https://www.suse.com/products/server/features/modules.html
  2. Run the commands in the listing for activating/deactivating a module or extension to add or delete a component. Note that adding an extensions requires additional registration codes which are liable for cost.

WARNING: Deleting Modules

Note that you should never delete the Basesystem Module. It is also not recommended to delete the , SUSE Linux Enterprise Workstation Extension and Desktop Applications Module.

IMPORTANT: No Automated Installation/Removal of Packages

When using SUSEConnect to add or delete modules and extensions, the components get de-registered and the respective repositories or services get removed from the system. No installation or removal of packages will be done. If you want this to be done automatically, use YaST to add or delete modules and extensions.

When adding a module or extension, this means no automatic installation of default packages or patterns is performed. You need to do this manually with Zypper on the command line or by running YaST > Software Management.

When deleting a module or extension, this means no automatic cleanup will be done. All packages that belonged to the module or extension will remain installed on the system, but are longer associated with a repository and therefore will no longer receive updates. To remove these so-called orphaned packages use Zypper on the command line. zypper packages --orphaned lists these packages and zypper remove deletes one or more packages. Alternatively use YaST > Software Management to list and delete orphaned packages.

WARNING: No Updates for Packages from Deleted Modules and Extensions

If you choose to keep packages from deleted modules or extensions, you will no longer receive updates for these packages. Because this includes security fixes, keeping such packages may introduce a security risk to your system.