macOS
brew install lndirlocal Homebrew formula metadata
sudo port install lndirMacPorts ports tree · x11/lndir/Portfile · 来源: api.github.com
安装
brew install lndirlocal Homebrew formula metadata
sudo port install lndirMacPorts ports tree · x11/lndir/Portfile · 来源: api.github.com
nix profile install nixpkgs#lndirnixpkgs package indexes · pkgs/by-name/ln/lndir/package.nix · 来源: api.github.com
sudo zypper install lndiropenSUSE Tumbleweed package metadata · lndir · 来源: download.opensuse.org
sudo dnf install imakeFedora Rawhide package metadata · imake · 来源: dl.fedoraproject.org
概览
Create a shadow directory of symbolic links to another directory tree
历史
lndir is an X.Org utility that creates a shadow directory tree made of symbolic links to another source tree. It is a small build-support tool from the X11/X.Org world, historically useful when building the same source checkout for multiple machines or configurations.
The official manual describes lndir as a program that makes a shadow copy of a directory tree, where files are symbolic links back to the original source tree. X.Org build documentation for X11R6.8 recommended this shadow-tree workflow to keep source directories unmodified and support builds for different operating systems or architectures.
In the modular X.Org tree, lndir lives under util/lndir. X.Org's module guidelines describe the util module as a home for modular-tree build tools and legacy build tools from the monolithic tree, with lndir listed alongside utilities such as imake, gccmakedep, and makedepend.
lndir's adoption is mostly historical and specialist: it mattered to X11 and X.Org builders, distro maintainers, and developers who wanted out-of-tree builds before modern build systems made that workflow routine. Its standalone packaging in Homebrew and other systems preserves that utility without requiring the larger imake package.
The X.Org release directory shows lndir split out as an individual util tarball beginning in the modular release era, with releases from 1.0.1 in 2006 through 1.0.5 in 2024. The freedesktop cgit mirror shows the active upstream mirror and recent maintenance commits.
A user creates an empty build directory and runs lndir against the source tree. The result is a parallel directory tree where source files are links and generated objects can live separately. Re-running lndir adds new links and checks existing ones, but deleted source files can leave stale symlinks that may need cleanlinks or a fresh shadow tree.
The tool has no project-level configuration or credentials. Its behavior is driven by command-line options such as -silent, -ignorelinks, and -withrevinfo.
lndir is interesting precisely because it is small and archaic in a useful way. It is a fossil from the X11 build culture that still does one filesystem job cleanly, and package managers keep it available for scripts and users that remember the shadow-directory workflow.
For package nerds, lndir also illustrates the X.Org modularization story: pieces that once lived inside a monolithic source tree became tiny independently released tarballs with their own version streams.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lndir | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://gitlab.freedesktop.org/xorg/util/lndir
安装元数据
| 软件包键 | brew:lndir |
|---|---|
| 版本 | 1.0.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lndir |
| 主页 | https://gitlab.freedesktop.org/xorg/util/lndir |
| 仓库 | https://gitlab.freedesktop.org/xorg/util/lndir |
| 上游文档 | https://gitlab.freedesktop.org/xorg/util/lndir |
| 许可证 | MIT-open-group |
| 源码归档 | https://www.x.org/releases/individual/util/lndir-1.0.5.tar.xz |
| 构建依赖 | pkgconf, xorgproto |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lndir |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lndir
nix profile install nixpkgs#lndirimake 1.0.10-6.fc44
imake source code configuration and build system
sudo dnf install imakelndir 1.0.5-1.6
Utility to create a shadow directory of symbolic links to another directory tree
sudo zypper install lndirlndir
sudo port install lndir来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.