In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to solve module errors in linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve module errors in linux.
Module is the command to load / manage modules on * nix systems, but it is not installed by default on most distributions, and you will get the following error when running this command: module: command not found.
The solution is to install the package as root, and the installation command for CentOS is: sudo apt-get install environment-modules on sudo yum install-y environment-modules,Ubuntu. After the installation is complete, the open terminal needs to be reopened for the command to take effect.
The common subcommands of the module command are:
Avail: view available modules
Add/load: loading module
Rm/unload: uninstall module
Update/refresh: reload module
Swap/switch: replace loaded modules with new ones
Clear/purge: emptying module
List: lists loaded modules
Show/display: displaying module information
The type command can refer to the definition of module to see the shell function defined for modulecmd:
Which module# output: # / usr/bin/which: no module in (/ usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) $type module# output: # module is a function# module () # {# eval `/ usr/bin/modulecmd bash $*` #} so far, I believe you have a deeper understanding of "how to solve module errors in linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.