From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description= Install, remove and udpate modules in Fedora Modular |setup= # Download and install Fedora 27 DVD image from XX # Login as root |actions= Install...")
 
Line 5: Line 5:
 
# Login as root
 
# Login as root
 
|actions=
 
|actions=
Install Modules:  
+
Enable and Install Modules from default Stream:  
# Run dnf module install <foo>
+
# Run {{ dnf install @module }}
 +
 
 +
Enable and Install Modules from named Stream and default Install Profile:
 +
# Run {{ dnf install @module:stream }}
 +
 
 +
Enable and install the named Stream, default Install Profile, and particular version
 +
# Run {{ dnf install @module:stream:version }}
 +
 
 +
Enablie and install the named Stream, named Install Profile, and particular version
 +
# Run {{ dnf install @module:stream:version/profile }}
  
 
Remove Modules:
 
Remove Modules:
# Run dnf module remove <foo>
+
# Run {{ dnf module remove @module }}
  
 
Update Modules:
 
Update Modules:
# Run dnf module update <foo>
+
# Run {{ dnf module udpate <modeule_name> }}
  
 
|results=
 
|results=
 
The commands execute without error  
 
The commands execute without error  
# The first command installs the module.
+
# enable and install the default Stream and Install Profile of the named Module
 
# The second command removes the module.
 
# The second command removes the module.
 
# The third command updates the module.
 
# The third command updates the module.
|optional=Optionally provide hints for exploratory testing.
 
 
}}
 
}}

Revision as of 23:58, 9 November 2017

Description

Install, remove and udpate modules in Fedora Modular

Setup

  1. Download and install Fedora 27 DVD image from XX
  2. Login as root

How to test

Enable and Install Modules from default Stream:

  1. Run Template:Dnf install @module

Enable and Install Modules from named Stream and default Install Profile:

  1. Run Template:Dnf install @module:stream

Enable and install the named Stream, default Install Profile, and particular version

  1. Run Template:Dnf install @module:stream:version

Enablie and install the named Stream, named Install Profile, and particular version

  1. Run Template:Dnf install @module:stream:version/profile

Remove Modules:

  1. Run Template:Dnf module remove @module

Update Modules:

  1. Run {{ dnf module udpate <modeule_name> }}

Expected Results

The commands execute without error

  1. enable and install the default Stream and Install Profile of the named Module
  2. The second command removes the module.
  3. The third command updates the module.