# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 5.8
- **来源摘要:** Fast, compact Motif/X11 plain text editor
- **主页:** <https://sourceforge.net/projects/nedit/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for NCL and NCAR Graphics | http://www.ncl.ucar.edu


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
