How to Install and Uninstall environment-modules.x86_64 Package on Amazon Linux 2

Last updated: April 19,2024

1. Install "environment-modules.x86_64" package

Please follow the step by step instructions below to install environment-modules.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install environment-modules.x86_64

2. Uninstall "environment-modules.x86_64" package

Learn how to uninstall environment-modules.x86_64 on Amazon Linux 2:

$ sudo yum remove environment-modules.x86_64 $ sudo yum autoremove

3. Information about the environment-modules.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : environment-modules
Arch : x86_64
Version : 3.2.10
Release : 10.amzn2.0.2
Size : 107 k
Repo : amzn2-core/2/x86_64
Summary : Provides dynamic modification of a user's environment
URL : http://modules.sourceforge.net/
License : GPLv2+
Description : The Environment Modules package provides for the dynamic
: modification of a user's environment via modulefiles.
:
: Each modulefile contains the information needed to configure the
: shell for an application. Once the Modules package is initialized,
: the environment can be modified on a per-module basis using the
: module command which interprets modulefiles. Typically modulefiles
: instruct the module command to alter or set shell environment
: variables such as PATH, MANPATH, etc. modulefiles may be shared by
: many users on a system and users may have their own collection to
: supplement or replace the shared modulefiles.
:
: Modules can be loaded and unloaded dynamically and atomically, in
: an clean fashion. All popular shells are supported, including
: bash, ksh, zsh, sh, csh, tcsh, as well as some scripting languages
: such as perl.
:
: Modules are useful in managing different versions of applications.
: Modules can also be bundled into metamodules that will load an
: entire suite of different applications.
:
: NOTE: You will need to get a new shell after installing this
: package to have access to the module alias.