From Fedora Project Wiki
(Suggest a test case) |
(Edit after a review by sgallagh.) |
||
Line 7: | Line 7: | ||
=== Installing Modules=== | === Installing Modules=== | ||
To install a module, use the following commands: | To install a module, use the following commands: | ||
* <code>dnf install module</code> to install the defaul stream and profile of the module. | |||
* <code>dnf module install module:stream</code> to install a module with a particular stream. | * <code>dnf module install module:stream</code> to install a module with a particular stream. | ||
* <code>dnf module install | * <code>dnf module install module:stream/profile </code> to install a module with a particular stream and profile. | ||
Check, that the module is correctly installed, appears in the list of installed modules and shows the correct stream and profile. | Check, that the module is correctly installed, appears in the list of installed modules and shows the correct stream and profile. | ||
===Updating Modules=== | ===Updating Modules=== | ||
To update a module, use the following | To update a module, use the following command: | ||
* <code>dnf | * <code>dnf update</code> | ||
Check, that the module is correctly updated - the version changes. | Check, that the module is correctly updated - the version changes. | ||
|results= | |results= | ||
All above commands execute without errors. | All above commands execute without errors. | ||
# When you install the module using <code>dnf install</code>, the command must install the module in its default stream and profile. | |||
# When you install the module (:stream/profile), the module must successfully install in a selected stream or stream and profile. The module must be listed on the list of installed modules. | # When you install the module (:stream/profile), the module must successfully install in a selected stream or stream and profile. The module must be listed on the list of installed modules. | ||
# When you | # When you update the module using <code>dnf update</code>, all installed modules must be updated to a newer version, but the stream and the profile must stay the same. | ||
|optional= Try various modules and streams/profiles. | |optional= Try various modules and streams/profiles. | ||
}} | }} |
Revision as of 09:28, 13 August 2018
Description
Install, remove and udpate modules in Fedora Server
Setup
- To start and learn how to list modules, follow the instructions in this test case here
How to test
Installing Modules
To install a module, use the following commands:
dnf install module
to install the defaul stream and profile of the module.dnf module install module:stream
to install a module with a particular stream.dnf module install module:stream/profile
to install a module with a particular stream and profile.
Check, that the module is correctly installed, appears in the list of installed modules and shows the correct stream and profile.
Updating Modules
To update a module, use the following command:
dnf update
Check, that the module is correctly updated - the version changes.
Expected Results
All above commands execute without errors.
- When you install the module using
dnf install
, the command must install the module in its default stream and profile. - When you install the module (:stream/profile), the module must successfully install in a selected stream or stream and profile. The module must be listed on the list of installed modules.
- When you update the module using
dnf update
, all installed modules must be updated to a newer version, but the stream and the profile must stay the same.
Optional
Try various modules and streams/profiles.