Automic VaultAutomic Vault

brew

使用 Homebrew, apt, zypper 安装 modules

查看 modules 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install modules

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install environment-modules

Debian stable package indexes · environment-modules · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install Modules

openSUSE Tumbleweed package metadata · Modules · 来源: download.opensuse.org

概览

软件包摘要

Dynamic modification of a user's environment via modulefiles

命令和别名

  • add.modules
  • envml
  • mkroot
  • modulecmd

历史

项目历史与用法

Environment Modules began in 1991 with John L. Furlani's paper "Modules: Providing a Flexible User Environment," written at Sun Microsystems to solve a practical Unix administration problem: users and admins needed a cleaner way to add, remove, and switch application-specific environment settings without constantly editing shell startup files. The original design wrapped environment changes into named modulefiles and exposed them through a single module command, so software setup could be loaded, unloaded, or swapped during a shell session.

项目历史

The project moved through several implementations. Project history presented by the Environment Modules maintainers describes versions 1 and 2 under Furlani, version 3.0 under Peter W. Osel and Jens Hamisch, the Linux/GPL 3.1 and 3.2 line under R.K. Owen at NERSC, and the pure Tcl modulecmd.tcl work by Mark Lakata and Kent Mein. Xavier Delaruelle at CEA became project leader in 2017 and led the version 4 and version 5 line based on the Tcl implementation.

采用历史

Its role is strongest in high-performance computing and multi-user Unix environments. Modulefiles let sites publish many versions of compilers, MPI stacks, libraries, tools, and data endpoints while users keep a consistent command interface across shells. The project documentation shows typical use through commands such as module load, module switch, and module unload, and the HPSF announcement describes the module command as a familiar interface for supercomputer users accessing a software catalog.

使用方式

Environment Modules shares its niche with Lmod, the Lua-based module implementation that became especially prominent while Environment Modules development was on hiatus. The revived Tcl-based project added collections, dependency handling, advanced version specifiers, module variants, Lmod Tcl modulefile compatibility, Windows shell support, linting, logging, and cache support. In 2025, Modules moved under the High Performance Software Foundation within the Linux Foundation, giving the long-running HPC environment tool a formal neutral governance home.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/environment-modules/initrc/etc/environment-modules/modulespath/etc/environment-modules/siteconfig.tcl/etc/environment-modules/rc~/.modulerc<modulepath>/.modulerc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
add.modulescli全局可执行文件
envmlcli全局可执行文件
mkrootcli全局可执行文件
modulecmdcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-09
管理器版本5.6.1
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://modules.sourceforge.net/

安装元数据

软件包元数据

软件包键brew:modules
版本5.6.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/modules
主页https://modules.sourceforge.net/
仓库https://github.com/envmodules/modules
上游文档https://github.com/envmodules/modules#readme
许可证GPL-2.0-or-later
源码归档https://downloads.sourceforge.net/project/modules/Modules/modules-5.6.1/modules-5.6.1.tar.bz2
最后更新2026-06-22T14:05:31-07:00
Pulseupdated
依赖tcl-tk
macOS 提供的库less
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项To activate modules, add the following at the end of your .zshrc: source $HOMEBREW_PREFIX/opt/modules/init/zsh You will also need to restart your terminal for this change to take effect.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemodules
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

environment-modules 5.5.0-1

Modular system for handling environment variables

http://modules.sourceforge.net/

sudo apt install environment-modules
  • Section: devel
  • Architecture: amd64
  • Source Package: modules
  • 5 依赖
  • normalized package name match
  • 匹配方式:Modules
Debian stable package indexes · deb.debian.org · Debian stable package indexes: environment-modules from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

environment-modules 5.4.0-1

Modular system for handling environment variables

http://modules.sourceforge.net/

sudo apt install environment-modules
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: modules
  • 5 依赖
  • normalized package name match
  • 匹配方式:Modules
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: environment-modules from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper95%

Modules 4.8.0-4.4

Change environment at runtime

http://modules.sourceforge.net/

sudo zypper install Modules
  • License: GPL-2.0-or-later
  • Category: System/Management
  • Architecture: x86_64
  • Source Package: Modules
  • 8 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Modules
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: Modules from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

Modules-doc 4.8.0-4.4

Documentation for Environment Modules

http://modules.sourceforge.net/

sudo zypper install Modules-doc
  • License: GPL-2.0-or-later
  • Category: Documentation/Other
  • Architecture: noarch
  • Source Package: Modules
  • 1 提供
  • normalized package name match
  • 匹配方式:Modules
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: Modules-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment