0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

CentOS7でmoduleコマンドでエラーになる場合の対策

Last updated at Posted at 2020-08-16

CentOS7でmoduleコマンドでエラーになる場合の対策

-bash: module: command not found

moduleコマンドが使えなくなったenvironment-modules.x86_64の代替
Lmodをyumでインストール

#cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)

#yum install Lmod

サーバを必ず再起動、後にmoduleコマンドが実行できることを確認

# module avail

---------------------------------------------------- /usr/share/lmod/lmod/modulefiles/Core -----------------------------------------------------
   lmod    settarg

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

下記サイトを参考。
https://qiita.com/7of9/items/824191342a04a785be1b

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?