# Install lmod with Homebrew, apt, dnf

Lua-based environment modules system to modify PATH variable. Version 9.3 via Homebrew; verified 2026-07-28. Also installable with debian: sudo apt install lmod.

## Install

```sh
sudo av install brew:lmod
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lmod
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install lmod
```

  Evidence: Debian stable package indexes: lmod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install Lmod
```

  Evidence: Fedora Rawhide package metadata: Lmod from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## Package facts

- **Package key:** brew:lmod
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lmod>
- **Version:** 9.3
- **Source summary:** Lua-based environment modules system to modify PATH variable
- **Homepage:** <https://lmod.readthedocs.io>
- **Repository:** <https://github.com/TACC/Lmod>
- **Upstream docs:** <https://lmod.readthedocs.io>
- **License:** MIT
- **Source archive:** <https://github.com/TACC/Lmod/archive/refs/tags/9.3.tar.gz>
- **Last updated:** 2026-07-28T15:34:36Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Dependencies

- lua@5.4
- tcl-tk

## Build dependencies

- gnu-sed
- luarocks
- pkgconf

## Uses from macOS

- libxcrypt

## Install behavior

- Post-install hook: not defined
- Caveats: To use Lmod, you should add the init script to the shell you are using. For example, the bash setup script is here: $HOMEBREW_PREFIX/opt/lmod/init/profile and you can source it in your bash setup or link to it. If you use fish, use $HOMEBREW_PREFIX/opt/lmod/init/fish, such as: ln -s $HOMEBREW_PREFIX/opt/lmod/init/fish ~/.config/fish/conf.d/00_lmod.fish
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 9.3
- Package-manager updated: 2026-07-28
- Local data: ok
- Upstream repository: https://github.com/TACC/Lmod
- Upstream latest detected: 9.3 (current)

## Security Notes

No matching local secret-handling manifest was found for lmod. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lmod
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - lmod - 8.7.60-1: normalized package name match | Debian stable package indexes: lmod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lua based environment modules | https://www.tacc.utexas.edu/research/tacc-research/lmod/
- Debian apt - lmod-doc - 8.7.60-1: normalized package name match | Debian stable package indexes: lmod-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lua based environment modules (documentation) | https://www.tacc.utexas.edu/research/tacc-research/lmod/
- Ubuntu apt - lmod - 8.6.19-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lmod from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lua based environment modules | https://www.tacc.utexas.edu/tacc-projects/lmod
- Ubuntu apt - lmod-doc - 8.6.19-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lmod-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lua based environment modules (documentation) | https://www.tacc.utexas.edu/tacc-projects/lmod
- dnf - Lmod - 9.2.8-2.fc45: normalized package name match | Fedora Rawhide package metadata: Lmod from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Environmental Modules System in Lua | https://tacc.utexas.edu/research/tacc-research/lmod/


## Related links

- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [tcl-tk](https://pkg.so/brew/tcl-tk/) - Runtime dependency declared by Homebrew.
- [lua@5.4](https://pkg.so/brew/lua-5-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gnu-sed](https://pkg.so/brew/gnu-sed/) - Build dependency declared by Homebrew.
- [luarocks](https://pkg.so/brew/luarocks/) - Build dependency declared by Homebrew.
- [git-gui](https://pkg.so/brew/git-gui/) - Local package facts share a topical domain. Shared terms: system, tcl, tcl-tk.
- [lsyncd](https://pkg.so/brew/lsyncd/) - Both packages touch the same language runtime or ecosystem. Shared terms: lua, lua-5-4, system.
- [weechat](https://pkg.so/brew/weechat/) - Both packages touch the same language runtime or ecosystem. Shared terms: lua, tcl, tcl-tk.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
