From Fedora Project Wiki

mNo edit summary
No edit summary
Line 10: Line 10:
* <code>dnf module install module:stream</code> to install a module with a particular stream.
* <code>dnf module install module:stream</code> 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.
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:
* <code>dnf module remove module:stream</code> 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.
    
    
|results=
|results=
All above commands execute without errors.
All above commands execute without errors.
# When you install the module using <code>dnf install</code>, the command must install the module in its default stream and profile.
# When you remove the module (:stream), the module must disappear from the list of installed modules.  
# When you install the module (:stream/profile), the module must successfully install in a selected stream or stream and profile. The module must be listed on the list of installed modules.


|optional= Try various modules and streams/profiles.  
|optional= Try various modules and streams/profiles.  
}}
}}

Revision as of 08:12, 31 August 2018

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 remove the module (:stream), the module must disappear from the list of installed modules.

Optional

Try various modules and streams/profiles.