From Fedora Project Wiki

Description

Install, remove and udpate modules in Fedora Server

Setup

  1. Grab Fedora Server and continue to install on a VM or Baremetal
  2. Login as root or run the following with sudo

How to test

Install Modules foo from Stream and profile:
   Run  dnf module install foo:stream/profile 
Install module foo with Profile, Stream and Version
    Run  dnf module isntall foo:stream:version/profile 
Remove module foo with Profile, Stream and Version
    Run  dnf module remove foo:stream:version/profile 

Expected Results

The commands execute without error

  1. The first command will ask you to install the foo module and result in success
  2. The second command will install the module with the specified stream, version, and profile
  3. The remove module command will remove the module