From Fedora Project Wiki

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


Enable and Install Modules from named Stream and default Install Profile:
Enable and Install Modules from named Stream and default Install Profile:
# Run {{ dnf install @module:stream }}
# 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 {{ dnf install @module:stream:version }}
# Run <code> dnf install @module:stream:version </code>


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


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


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


|results=
|results=

Revision as of 00:01, 10 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 dnf install @module

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

  1. Run dnf install @module:stream

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

  1. Run dnf install @module:stream:version

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

  1. Run dnf install @module:stream:version/profile

Remove Modules:

  1. Run 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.