|
|
Line 1: |
Line 1: |
| {{QA/Test_Case | | {{QA/Test_Case |
| |description= Install, remove and udpate modules in Fedora Modular | | |description= Install, remove and udpate modules in Fedora Server |
| |setup= | | |setup= |
| # Download a [https://kojipkgs.fedoraproject.org/compose/ nightly image] or [https://kojipkgs.fedoraproject.org/compose/27/ RC] of Fedora 27 Modular Server | | # Grab Fedora Server and continue to install on a VM or Baremetal |
| # Continue to install on a VM or Baremetal
| | # Login as root or run the following with <code>sudo</code> |
| # Login as root | |
| |actions= | | |actions= |
| === Enable and Install Modules from default Stream: === | | === Install Modules <code>foo</code> from Stream and profile: === |
| # Run <code> dnf install @module </code> | | # Run <code> dnf module install foo:stream/profile </code> |
|
| |
|
| === Enable and Install Modules from named Stream and default Install Profile: === | | === Install module <code>foo</code> with Profile, Stream and Version === |
| # Run <code> dnf install @module:stream </code> | | # Run <code> dnf module isntall foo:stream:version/profile </code> |
|
| |
|
| === Enable and install the named Stream, default Install Profile, and particular version === | | === Remove module <code>foo</code> with Profile, Stream and Version: === |
| # Run <code> dnf install @module:stream:version </code> | | # Run <code> dnf module remove foo:stream:version/profile </code> |
|
| |
|
| === Enable and install the named Stream, named Install Profile, and particular version ===
| |
| # Run <code> dnf install @module:stream:version/profile </code>
| |
|
| |
| === Remove Modules: ===
| |
| # Run <code> dnf remove module </code>
| |
|
| |
| === Update Modules: ===
| |
| # Run <code> dnf module udpate <modeule_name> </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 package , if installed it will output |
| {{#tag:pre|
| | # 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 |
| dnf install @nodejs
| | # The install with stream:version/profile will output this === |
| Last metadata expiration check: 2:35:15 ago on Fri 10 Nov 2017 03:35:01 AM IST.
| |
| Nothing to install. Enabled modules: nodejs:8
| |
| }}
| |
| | |
| === 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 ===
| |
| {{#tag:pre|
| |
| dnf install @nodejs:6
| |
| Last metadata expiration check: 2:38:01 ago on Fri 10 Nov 2017 03:35:01 AM IST.
| |
| Enabling different stream for 'nodejs'
| |
| Is this ok [y/N]: y
| |
| Dependencies resolved.
| |
| =====================================================================================================================================================================================================================================================
| |
| Package Arch Version Repository Size
| |
| =====================================================================================================================================================================================================================================================
| |
| Downgrading:
| |
| nodejs x86_64 1:6.11.3-2.module_57e455e2 fedora-modular-server 4.8 M
| |
| npm x86_64 1:3.10.10-1.6.11.3.2.module_57e455e2 fedora-modular-server 2.5 M
| |
|
| |
| Transaction Summary
| |
| =====================================================================================================================================================================================================================================================
| |
| Downgrade 2 Packages
| |
|
| |
| Total download size: 7.3 M
| |
| Is this ok [y/N]:
| |
| }}
| |
| === The install with stream:version/profile will output this ===
| |
| {{#tag:pre|
| |
| dnf install @389-ds:1.3:20171102233352/default
| |
| Last metadata expiration check: 2:44:11 ago on Fri 10 Nov 2017 03:35:01 AM IST.
| |
| Dependencies resolved.
| |
| =====================================================================================================================================================================================================================================================
| |
| Package Arch Version Repository Size
| |
| =====================================================================================================================================================================================================================================================
| |
| Installing module packages:
| |
| 389-ds-base x86_64 1.3.7.6-1.module_cceea75a fedora-modular-server 1.8 M
| |
| 389-ds-base-libs x86_64 1.3.7.6-1.module_cceea75a fedora-modular-server 741 k
| |
| Installing dependencies:
| |
| audit-libs-python3 x86_64 2.7.7-5.module_8a5444d0 fedora-modular-server 81 k
| |
| checkpolicy x86_64 2.7-1.module_8a5444d0 fedora-modular-server 330 k
| |
| }}
| |
| | |
| | |
| # The remove module command will output the following. | | # The remove module command will output the following. |
| {{#tag:pre|
| |
|
| |
| dnf remove nodejs
| |
| Dependencies resolved.
| |
| =====================================================================================================================================================================================================================================================
| |
| Package Arch Version Repository Size
| |
| =====================================================================================================================================================================================================================================================
| |
| Removing:
| |
| nodejs x86_64 1:8.9.0-1.module_7b04e1ed @fedora-modular-server 19 M
| |
| Removing dependent packages:
| |
| npm x86_64 1:5.5.1-1.8.9.0.1.module_7b04e1ed.2 @fedora-modular-server 18 M
| |
| Removing unused dependencies:
| |
| libicu x86_64 57.1-8.module_8a5444d0 @fedora-modular-server 29 M
| |
|
| |
| Transaction Summary
| |
| =====================================================================================================================================================================================================================================================
| |
| Remove 3 Packages
| |
|
| |
| Freed space: 67 M
| |
| Is this ok [y/N]:
| |
| }}
| |
|
| |
|
| |
|
| }} | | }} |