# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 ldapvi

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

## 安装

```sh
sudo av install brew:ldapvi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ldapvi
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ldapvi
```

  证据: MacPorts ports tree: net/ldapvi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ldapvi
```

  证据: Alpine Linux edge package indexes: ldapvi from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ldapvi
```

  证据: Debian stable package indexes: ldapvi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ldapvi
```

  证据: Fedora Rawhide package metadata: ldapvi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ldapvi
```

  证据: nixpkgs package indexes: pkgs/by-name/ld/ldapvi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ldapvi
- **软件包管理器:** Homebrew
- **版本:** 1.8
- **来源摘要:** Update LDAP entries with a text editor
- **主页:** <http://www.lichteblau.com/ldapvi/>
- **仓库:** <https://github.com/ldapvi/ldapvi>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ldapvi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8
## 项目历史与用法

ldapvi is an interactive Unix terminal LDAP client that lets administrators edit LDAP directory entries with a text editor, explicitly framed by its author as vipw(1) for LDAP.

### 项目历史

ldapvi was written by David Lichteblau and released as a small C/autoconf Unix utility. The project's official site describes it as an interactive LDAP client for updating LDAP entries with an editor and links both the manual and the GitHub repository.

The NEWS file records 1.0 as the initial release on 2004-01-01. During the 2004-2007 release series, ldapvi gained .ldaprc setup support, naming-context discovery, TLS options, SASL support, LDIF compatibility modes, UTF-8 support, and its own ldapvi configuration file syntax.

A 1.8 release was published on 2026-02-14, collecting modern build fixes and long-running packaging patches while preserving the old editor-centered workflow.

### 采用历史

ldapvi became a niche but durable administrator tool because it matched an existing Unix idiom: dump structured system state into an editor, validate the edited result, then commit changes interactively.

Its package-manager presence across Homebrew, Debian, Ubuntu, Fedora-family systems, Alpine, MacPorts, Nix, and other Unix-like distributions reflects long-tail sysadmin adoption rather than mass developer-tool popularity.

### 使用方式

Typical use is to bind to an LDAP server, fetch entries into an editor buffer, make changes in ldapvi syntax or LDIF-like forms, review the detected add/rename/modify/delete operations, and then confirm or re-edit.

The manual documents conventional OpenLDAP configuration files such as ~/.ldaprc and /etc/ldap/ldap.conf, plus ldapvi's own ~/.ldapvirc or /etc/ldapvi.conf format for profiles and command options.

### 为什么软件包爱好者会关心

ldapvi matters to package nerds because it is the rare LDAP administration package built around vi-era Unix ergonomics rather than a GUI, web console, or one-shot ldapmodify pipeline.

Its release history is also a tidy example of a small C utility surviving dependency churn: OpenLDAP, SASL, TLS libraries, readline, curses, and distro packaging all show up in the NEWS file.

### 时间线

- 2004-01-01: ldapvi 1.0 initial release.
- 2005-11-13: ldapvi 1.3 adds --config, --discover, and --class workflows.
- 2006-11-04: ldapvi 1.6 adds SASL support, LDIF support, UTF-8 support, and ~/.ldapvirc or /etc/ldapvi.conf.
- 2007-05-05: ldapvi 1.7 fixes a buffer overrun in home_filename().
- 2026-02-14: ldapvi 1.8 ships accumulated build, packaging, and compatibility fixes.

### Related projects

- ldapvi sits alongside OpenLDAP command-line tools such as ldapsearch, ldapmodify, ldapdelete, and ldapmoddn; version 1.6 explicitly added compatibility-style command-line modes for several of those tools.

### 来源

- <http://www.lichteblau.com/ldapvi/>
- <http://www.lichteblau.com/ldapvi/ldapvi-news.txt>
- <http://www.lichteblau.com/ldapvi/manual/>
- <https://formulae.brew.sh/formula/ldapvi>
- <https://github.com/ldapvi/ldapvi>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: ~/.ldaprc, /etc/ldap/ldap.conf, ~/.ldapvirc
## 其他软件包管理器记录

- Debian apt - ldapvi - 1.7-11.1+b1: normalized package name match | Debian stable package indexes: ldapvi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | perform an LDAP search and update results using a text editor | http://www.lichteblau.com/ldapvi/
- Nix - ldapvi: normalized package name match | nixpkgs package indexes: pkgs/by-name/ld/ldapvi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ldapvi - 1.7-10build7: normalized package name match | Ubuntu 24.04 LTS package indexes: ldapvi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | perform an LDAP search and update results using a text editor | http://www.lichteblau.com/ldapvi/
- apk - ldapvi - 1.7-r16: normalized package name match | Alpine Linux edge package indexes: ldapvi from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ldapvi is an interactive LDAP client for Unix terminals | http://www.lichteblau.com/ldapvi/
- apk - ldapvi-doc - 1.7-r16: normalized package name match | Alpine Linux edge package indexes: ldapvi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ldapvi is an interactive LDAP client for Unix terminals (documentation) | http://www.lichteblau.com/ldapvi/
- dnf - ldapvi - 1.8-3.fc45: normalized package name match | Fedora Rawhide package metadata: ldapvi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An interactive LDAP client | http://www.lichteblau.com/ldapvi/
- MacPorts - ldapvi: normalized package name match | MacPorts ports tree: net/ldapvi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ldapvi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ldapvi.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
