From Fedora Project Wiki

No edit summary
No edit summary
Line 6: Line 6:
# Login as root
# Login as root
|actions=
|actions=
<ol>Enable and Install Modules from default Stream:  
=== Enable and Install Modules from default Stream: ===
     # Run <code> dnf install @module </code>
     # Run <code> dnf install @module </code>


<ol>Enable and Install Modules from named Stream and default Install Profile:
=== Enable and Install Modules from named Stream and default Install Profile: ===
     # Run <code> dnf install @module:stream </code>
     # Run <code> dnf install @module:stream </code>


<ol>Enable and install the named Stream, default Install Profile, and particular version
Enable and install the named Stream, default Install Profile, and particular version
     # Run <code> dnf install @module:stream:version </code>
     # Run <code> dnf install @module:stream:version </code>


<ol>Enable and install the named Stream, named Install Profile, and particular version  
Enable and install the named Stream, named Install Profile, and particular version  
     # Run <code> dnf install @module:stream:version/profile </code>
     # Run <code> dnf install @module:stream:version/profile </code>


<ol>Remove Modules:
Remove Modules:
     # Run <code> dnf module remove @module </code>
     # Run <code> dnf module remove @module </code>


<ol>Update Modules:
Update Modules:
     # Run <code> dnf module udpate <modeule_name> </code>
     # Run <code> dnf module udpate <modeule_name> </code>



Revision as of 00:20, 10 November 2017

Description

Install, remove and udpate modules in Fedora Modular

Setup

  1. Download a nightly image or RC of Fedora 27 Modular Server
  2. Continue to install on a VM or Baremetal
  3. Login as root

How to test

Enable and Install Modules from default Stream:

   # 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 

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

   # Run  dnf install @module:stream:version/profile 

Remove Modules:

   # Run  dnf module remove @module 

Update Modules:

   # Run  dnf module udpate <modeule_name> 

Expected Results

The commands execute without error

adnadlkjald

  1. The second command removes the module.
  2. The third command updates the module.