From Fedora Project Wiki

Revision as of 08:16, 31 August 2018 by Lruzicka (talk | contribs) (Add module removal (without package checking))

Description

Install, remove and udpate modules in Fedora Server

Setup

  1. To start and learn how to list modules, follow the instructions in this test case [1]

How to test

Installing Modules

To install a module, use the following commands:

  • dnf install module to install the defaul stream and profile of the module.
  • dnf module install module:stream to install a module with a particular stream.

Check, that the module is correctly installed, appears in the list of installed modules and shows the correct stream.

Removing Modules

Note, that to successfully perform this operation, the module must not be disabled! To remove a module, use the following commands:

  • dnf module remove module:stream to remove a module in a particular stream.

Check, that the module is does not appear in the list of installed modules. It can, however, still appear in the list of enabled modules until it has been disabled.

Expected Results

All above commands execute without errors.

  1. When you install the module (:stream), the module must install and must appear on the list of both enabled and installed modules. It cannot appear on the list of disabled modules.
  2. When you remove the module (:stream), the module must disappear from the list of installed modules.

Optional

Try various modules and streams/profiles.