From Fedora Project Wiki

No edit summary
No edit summary
Line 12: Line 12:
     # Run <code> dnf install @module:stream </code>
     # Run <code> dnf install @module:stream </code>


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>


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>


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


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


Line 27: Line 27:
The commands execute without error  
The commands execute without error  
# {{#tag:pre|  
# {{#tag:pre|  
adnadlkjald
adnadlkjaldinit
}}
}}
# The second command removes the module.
# The second command removes the module.
# The third command updates the module.
# The third command updates the module.
}}
}}

Revision as of 00:27, 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

adnadlkjaldinit

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