# 使用 Homebrew, apt, MacPorts 安装 le

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

## 安装

```sh
sudo av install brew:le
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install le
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install le
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install le
```

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

## 软件包事实

- **软件包键:** brew:le
- **软件包管理器:** Homebrew
- **版本:** 1.16.7
- **来源摘要:** Text editor with block and binary operations
- **主页:** <https://github.com/lavv17/le>
- **仓库:** <https://github.com/lavv17/le>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- le (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

LE is Alexander V. Lukyanov's terminal text editor, notable for block operations, binary-safe editing, hex mode, mmap-based large-file/device editing, syntax highlighting, and configurable keymaps and colors.

### 项目历史

The upstream HISTORY file says Lukyanov started LE in 1993 as first-year laboratory work at Yaroslavl State University while using a BESTA Unix machine with 8 MB of memory and fourteen terminals. The first version could load, browse, insert, delete, and save files.

After that first version, the editor was almost completely rewritten in C++. Lukyanov published it under the GPL in early 1997 after deciding it had become powerful enough to share. The NEWS file marks version 1.2.0 as the first public release.

LE's development history is a long record of terminal-editor pragmatism: regular-expression search, tunable syntax highlighting, rectangular blocks, mmap editing for large files and devices, mouse support, multibyte/UTF-8 support, full undo/redo, many syntax definitions, ncurses portability fixes, and build fixes for Unix-like systems.

### 采用历史

LE never became a mainstream editor on the scale of vi, Emacs, nano, or joe, but it persisted in Unix package collections because it occupies a useful niche: a small terminal editor with Norton Editor-like ergonomics plus block, binary, and hex-oriented features.

Package availability in Homebrew, Debian, Ubuntu, and MacPorts shows the usual long-tail survival path for mature terminal tools: stable enough to keep packaging, specialized enough that users seek it by name.

### 使用方式

LE is used as an interactive terminal editor for text files, DOS/Unix line-ending files, binary-clean editing, hexadecimal viewing/editing, syntax-highlighted source/config editing, rectangular and stream block operations, and cautious mmap replace-mode edits of large files or devices.

Its configuration model is file-based and terminal-oriented: syntax rules can live in package data, ~/.le/syntax, or ./.le.syntax; keymaps and colors can be dumped and customized in ~/.le or package data locations.

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

LE is significant as a survivor from the 1990s Unix editor ecology. It is small, C++/ncurses-based, GPL-licensed, and full of features that matter to terminal users who edit awkward files: rectangular blocks, binary mode, hex mode, mmap editing, and configurable keymaps.

For package maintainers, LE is a good example of a stable but actively patched classic utility whose changelog is dominated by portability, terminal behavior, syntax updates, and correctness fixes rather than product churn.

### 时间线

- 1993: Alexander V. Lukyanov starts LE as student laboratory work on a BESTA Unix machine.
- Early 1997: LE is published under the GPL after a substantial C++ rewrite.
- Version 1.2.0: NEWS marks the first public release.
- 2001: Version 1.9.0 adds bookmark support and syntax improvements.
- 2004: Version 1.10.0 adds multibyte encoding support; version 1.11.0 adds full undo/redo.
- 2010: Version 1.14.5 changes licensing to GNU GPL v3 because regex.c already used it.
- 2015: Version 1.16.0 integrates the default menu and improves keymap implementation.
- 2021: Version 1.16.8 records macOS build changes, performance optimizations, and syntax improvements.

### Related projects

- Related editor traditions include vi, Emacs, Norton Editor, Turbo C's file selector style, ncurses-based terminal editors, and hex/binary editors.

### 来源

- <https://github.com/lavv17/le>
- <https://raw.githubusercontent.com/lavv17/le/master/FEATURES>
- <https://raw.githubusercontent.com/lavv17/le/master/HISTORY>
- <https://raw.githubusercontent.com/lavv17/le/master/NEWS>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Debian apt - le - 1.16.8-1: normalized package name match | Debian stable package indexes: le from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Text editor with block and binary operations | http://lav.yar.ru/programs.html
- Ubuntu apt - le - 1.16.8-0.1: normalized package name match | Ubuntu 24.04 LTS package indexes: le from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Text editor with block and binary operations | http://lav.yar.ru/programs.html
- MacPorts - le: normalized package name match | MacPorts ports tree: editors/le/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/le.yml](https://github.com/mxcl/pkgdb/blob/main/combined/le.yml)


## 来源

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