From Fedora Project Wiki

No edit summary
No edit summary
Line 4: Line 4:
# Grab Fedora Server and continue to install on a VM or Baremetal
# Grab Fedora Server and continue to install on a VM or Baremetal
# Login as root or run the following with sudo
# Login as root or run the following with sudo
|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>
     # 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>
        # Run <code> dnf module isntall foo:stream:version/profile </code>
===Remove module <code>foo</code> with Profile, Stream and Version:===
 
    # Run <code> dnf module remove foo:stream:version/profile </code>
=== Remove module <code>foo</code> with Profile, Stream and Version: ===
        # Run <code> dnf module remove foo:stream:version/profile </code>
|results=
|results=
The commands execute without error  
The commands execute without error  
# The first command will ask you to install the package , if installed it will output
# The first command will ask you to install the foo module and result in success
# 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 second command will install the module with the specified stream, version, and profile                                                                                                                                                                  
# The install with stream:version/profile will output this ===
# The remove module command will remove the module
# The remove module command will output the following.
 
}}
}}

Revision as of 20:11, 9 April 2018

Description

Install, remove and udpate modules in Fedora Server

Setup

  1. Grab Fedora Server and continue to install on a VM or Baremetal
  2. 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

  1. The first command will ask you to install the foo module and result in success
  2. The second command will install the module with the specified stream, version, and profile
  3. The remove module command will remove the module