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

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

## 安装

```sh
sudo av install brew:nedit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nedit
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nedit
```

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

### Linux

- apk (92%):

```sh
sudo apk add nedit
```

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

- Debian apt (92%):

```sh
sudo apt install nedit
```

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

- dnf (92%):

```sh
sudo dnf install nedit
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#nedit
```

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

- zypper (92%):

```sh
sudo zypper install nedit
```

  证据: openSUSE Tumbleweed package metadata: nedit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:nedit
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nedit>
- **版本:** 5.8
- **来源摘要:** Fast, compact Motif/X11 plain text editor
- **主页:** <https://sourceforge.net/projects/nedit/>
- **上游文档:** <https://sourceforge.net/projects/nedit/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-5.8-src.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ncl (cli)
- nedit (cli)
- ncl (别名)
- nedit (别名)

## 依赖

- libice
- libsm
- libx11
- libxext
- libxp
- libxpm
- libxt
- openmotif

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 5.8
- 本地数据: OK
- 上游仓库: https://sourceforge.net/projects/nedit/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

NEdit is a Motif/X11 graphical text editor with a long Unix workstation lineage. Its package identity is classic and conservative: a fast GUI editor for programmers and plain-text users, with syntax highlighting, a macro language, and keyboard/mouse behavior familiar to people coming from Macintosh or Windows editors.

### 项目历史

The NEdit codebase predates its SourceForge era. The project is widely documented as originating at Fermilab, with Mark Edel among the original authors, and the maintained source tree's README lists many long-time contributors. The SourceForge project was registered on 2000-09-07, and the README says NEdit became freely distributable under the GPL as of version 5.1 with a Motif/Open Motif linking exception.

NEdit's later history is mostly maintenance and preservation. SourceForge news for 2014-12-06 announced the long-delayed 5.6 release after Debian had effectively been shipping CVS-derived code for some time. The RaumZeit GitHub mirror identifies version 5.7 as January 2017, while Homebrew packaged version 5.8 when checked on 2026-07-01.

### 采用历史

NEdit was adopted by Unix workstation users who wanted a GUI editor without moving into Emacs, vi, or a heavyweight IDE. SourceForge user reviews explicitly describe long-term use dating back to Solaris and 1990s Linux workflows, and Debian's de-facto packaging role mattered enough that upstream treated Debian's CVS-derived package as the practical 5.6 baseline.

Homebrew's formula page listed the package with X11 and OpenMotif dependencies and showed 337 installs over 365 days, 140 over 90 days, and 35 over 30 days when checked on 2026-07-01. That small but persistent usage fits a legacy GUI tool kept alive by muscle memory, remote X11 habits, and users who prefer its rectangular selection, macro, and syntax-highlighting behavior.

### 使用方式

Package users install it when they have X11 support available and want a mature GUI editor launched as `nedit`, plus the client helper historically packaged as `nc` or `ncl` depending on distribution. It is used for programming, config editing, data-file cleanup, and old-school X11 desktop workflows where a fast Motif editor is preferable to a terminal editor or full IDE.

The practical caveat is that NEdit remains tied to Motif/X11 assumptions. That makes it valuable to package nerds as preserved workstation software, but also explains why modern forks such as XNEdit focused on Unicode and rendering improvements.

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

NEdit is significant as living Unix archaeology: it is a packaged survivor of the Motif workstation era, still installable through modern package managers. Its package metadata also illustrates how long-lived desktop tools depend on distro maintainers, compatibility libraries, and small upstream maintenance bursts rather than continuous feature development.

### 时间线

- 1990s: NEdit established itself as a Motif/X11 GUI editor for Unix workstations.
- 2000-09-07: SourceForge project registered.
- 2014-12-06: SourceForge announced version 5.6 after Debian had already carried similar CVS-derived code.
- 2017-01: GitHub mirror README identifies NEdit version 5.7.
- 2026-07-01: Homebrew formula stable version observed as 5.8.

### Related projects

- OpenMotif
- LessTif
- XNEdit
- Debian nedit package

### 来源

- <https://formulae.brew.sh/formula/nedit>
- <https://github.com/RaumZeit/nedit>
- <https://sourceforge.net/p/nedit/news/2014/12/56-for-real/>
- <https://sourceforge.net/projects/nedit/>


## 安全说明

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: $NEDIT_HOME/.nedit, ~/.nedit, ~/.Xresources, ~/.Xdefaults
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nedit
- **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

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

- Debian apt - nedit - 1:5.7-5+b1: normalized package name match | Debian stable package indexes: nedit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | powerful, customizable, Motif based text editor | http://sourceforge.net/projects/nedit/
- Nix - nedit: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nedit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nedit - 1:5.7-5build2: normalized package name match | Ubuntu 24.04 LTS package indexes: nedit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | powerful, customizable, Motif based text editor | http://sourceforge.net/projects/nedit/
- apk - nedit - 5.7-r4: normalized package name match | Alpine Linux edge package indexes: nedit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Nirvana Editor, a multi-purpose X11 editor that's easy to use | https://sourceforge.net/projects/nedit/
- apk - nedit-doc - 5.7-r4: normalized package name match | Alpine Linux edge package indexes: nedit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Nirvana Editor, a multi-purpose X11 editor that's easy to use (documentation) | https://sourceforge.net/projects/nedit/
- dnf - nedit - 5.7-23.fc45: normalized package name match | Fedora Rawhide package metadata: nedit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A GUI text editor for systems with X | http://sourceforge.net/projects/nedit/
- zypper - nedit - 5.7-4.6: normalized package name match | openSUSE Tumbleweed package metadata: nedit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A GUI text editor | http://sourceforge.net/projects/nedit/
- MacPorts - nedit: normalized package name match | MacPorts ports tree: editors/nedit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - libncarg-bin - 6.6.2.dfsg.1-10+b2: installed executable or alias match | Debian stable package indexes: libncarg-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NCAR command-language library - development tools | https://www.ncl.ucar.edu/
- Debian apt - libncarg-data - 6.6.2.dfsg.1-10: installed executable or alias match | Debian stable package indexes: libncarg-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NCAR command-language library - Data | https://www.ncl.ucar.edu/
- Debian apt - libncarg-dev - 6.6.2.dfsg.1-10+b2: installed executable or alias match | Debian stable package indexes: libncarg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the NCAR command language library | https://www.ncl.ucar.edu/
- Debian apt - libncarg0t64 - 6.6.2.dfsg.1-10+b2: installed executable or alias match | Debian stable package indexes: libncarg0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NCAR command-language library | https://www.ncl.ucar.edu/
- Debian apt - ncl-ncarg - 6.6.2.dfsg.1-10+b2: installed executable or alias match | Debian stable package indexes: ncl-ncarg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NCAR Command Language and NCAR graphics | https://www.ncl.ucar.edu/
- dnf - ncl - 6.6.2-65.fc45: installed executable or alias match | Fedora Rawhide package metadata: ncl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | NCAR Command Language and NCAR Graphics | http://www.ncl.ucar.edu
- dnf - ncl-common - 6.6.2-65.fc45: installed executable or alias match | Fedora Rawhide package metadata: ncl-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Common files for NCL and NCAR Graphics | http://www.ncl.ucar.edu
- dnf - ncl-devel - 6.6.2-65.fc45: installed executable or alias match | Fedora Rawhide package metadata: ncl-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for NCL and NCAR Graphics | http://www.ncl.ucar.edu


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [libxpm](https://pkg.so/zh-hans/brew/libxpm/) - Runtime dependency declared by Homebrew.
- [openmotif](https://pkg.so/zh-hans/brew/openmotif/) - Runtime dependency declared by Homebrew.
- [mg](https://pkg.so/zh-hans/brew/mg/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [ox](https://pkg.so/zh-hans/brew/ox/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [ne](https://pkg.so/zh-hans/brew/ne/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [moe](https://pkg.so/zh-hans/brew/moe/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [aoeui](https://pkg.so/zh-hans/brew/aoeui/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [neatvi](https://pkg.so/zh-hans/brew/neatvi/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [le](https://pkg.so/zh-hans/brew/le/) - Shares pkgdb curated category or tags: cli, productivity, text-editor, text-editors.
- [gedit](https://pkg.so/zh-hans/brew/gedit/) - Shares pkgdb curated category or tags: cli, productivity, syntax-highlighting, text-editor.
- [kibi](https://pkg.so/zh-hans/brew/kibi/) - Local package facts share a topical domain. Shared terms: cli, editor, highlighting, productivity, syntax.

## Combined YAML source

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


## 来源

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