From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|actions= | |actions= | ||
=== Install Modules <code>foo</code> from Stream and profile: === | === Install Modules <code>foo</code> from Stream and profile: === | ||
# Run <code> dnf module install foo:stream/profile </code> | |||
=== Install module <code>foo</code> with Profile, Stream and Version === | === Install module <code>foo</code> with Profile, Stream and Version === | ||
# Run <code> dnf module isntall foo:stream:version/profile </code> | |||
=== Remove module <code>foo</code> with Profile, Stream and Version: === | === Remove module <code>foo</code> with Profile, Stream and Version: === | ||
# Run <code> dnf module remove foo:stream:version/profile </code> | |||
Revision as of 19:37, 9 April 2018
Description
Install, remove and udpate modules in Fedora Server
Setup
- Grab Fedora Server and continue to install on a VM or Baremetal
- 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
- The first command will ask you to install the package , if installed it will output
- The second command will install the package from the desired stream , if the desired stream doesn't match the current stream , it will ask to switch stream
- The install with stream:version/profile will output this ===
- The remove module command will output the following.