From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# Login as root | # Login as root | ||
|actions= | |actions= | ||
Enable and Install Modules from default Stream: | <ol>Enable and Install Modules from default Stream: | ||
# Run <code> dnf install @module </code> | # Run <code> dnf install @module </code> | ||
Enable and Install Modules from named Stream and default Install Profile: | <ol>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> | ||
Enable and install the named Stream, default Install Profile, and particular version | <ol>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 | |||
# Run <code> dnf install @module:stream:version/profile </code> | # Run <code> dnf install @module:stream:version/profile </code> | ||
Remove Modules: | <ol>Remove Modules: | ||
# Run <code> dnf module remove @module </code> | # Run <code> dnf module remove @module </code> | ||
Update Modules: | <ol>Update Modules: | ||
# Run <code> dnf module udpate <modeule_name> </code> | # Run <code> dnf module udpate <modeule_name> </code> | ||
|results= | |results= |
Revision as of 00:19, 10 November 2017
Description
Install, remove and udpate modules in Fedora Modular
Setup
- Download a nightly image or RC of Fedora 27 Modular Server
- Continue to install on a VM or Baremetal
- Login as root
How to test
- Enable and Install Modules from default Stream:
# Run
- The second command removes the module.
- The third command updates the module.
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