Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, zypper, dnf 安装 lndir

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lndir

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lndir

MacPorts ports tree · x11/lndir/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#lndir

nixpkgs package indexes · pkgs/by-name/ln/lndir/package.nix · 来源: api.github.com

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

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

Fedora dnf已验证 · 92%
sudo dnf install imake

Fedora Rawhide package metadata · imake · 来源: dl.fedoraproject.org

概览

软件包摘要

Create a shadow directory of symbolic links to another directory tree

命令和别名

  • lndir

历史

项目历史与用法

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.

时间线

  • X11R6 era: lndir is documented as part of X source-tree build workflows.
  • 2004: X11R6.8 documentation recommends lndir-based shadow build trees.
  • 2006: X.Org publishes lndir 1.0.1 as an individual util release.
  • 2024: X.Org publishes lndir 1.0.5.
  • 2025: freedesktop cgit mirror shows recent maintenance commits for options and manual-page edits.

Related projects

  • X.Org util modules such as imake, makedepend, gccmakedep, and util-macros belong to the same historical build-tool family.
  • cleanlinks is commonly mentioned with lndir because it removes stale symbolic links in shadow trees.
  • Modern out-of-tree build systems such as CMake and Meson solve related build-directory separation problems without symlink forests.

安全态势

风险级别:绿色

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 元数据适用于 10 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lndircli全局可执行文件

新鲜度

版本和新鲜度

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

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

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelndir
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

lndir

nix profile install nixpkgs#lndir
  • normalized package name match
  • 匹配方式:Lndir
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ln/lndir/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

imake 1.0.10-6.fc44

imake source code configuration and build system

http://www.x.org

sudo dnf install imake
  • License: MIT-open-group AND HPND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: imake
  • 5 依赖
  • 12 提供
  • normalized package name match
  • 匹配方式:Lndir
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: imake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

lndir 1.0.5-1.6

Utility to create a shadow directory of symbolic links to another directory tree

https://xorg.freedesktop.org/

sudo zypper install lndir
  • License: MIT
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: lndir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lndir
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lndir from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lndir

sudo port install lndir
  • normalized package name match
  • 匹配方式:Lndir
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/lndir/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment