# ncurses を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

ncurses のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ncurses
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ncurses
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ncurses
```

  証拠: MacPorts ports tree: devel/ncurses/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ncurses
```

  証拠: Alpine Linux edge package indexes: ncurses from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install ncurses
```

  証拠: Fedora Rawhide package metadata: ncurses 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#ncurses
```

  証拠: nixpkgs package indexes: ncurses from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S ncurses
```

  証拠: Arch Linux sync databases: ncurses from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install lib32ncurses-dev
```

  証拠: Debian stable package indexes: lib32ncurses-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libncurses5
```

  証拠: openSUSE Tumbleweed package metadata: libncurses5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:ncurses
- **パッケージマネージャ:** Homebrew
- **バージョン:** 6.6
- **ソース概要:** Text-based UI library
- **ホームページ:** <https://invisible-island.net/ncurses/announce.html>
- **最終更新:** 2026-07-18T20:27:11-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- captoinfo (エイリアス)
- clear (エイリアス)
- infocmp (エイリアス)
- infotocap (エイリアス)
- ncurses6-config (エイリアス)
- ncursesw6-config (エイリアス)
- reset (エイリアス)
- tabs (エイリアス)
- tic (エイリアス)
- toe (エイリアス)
- tput (エイリアス)
- tset (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 6.6
## プロジェクトの歴史と使われ方

ncurses, short for new curses, is the dominant free curses implementation for building text user interfaces on character-cell terminals. It emulates and extends System V Release 4 curses, uses terminfo, and ships both libraries and utilities such as tic, infocmp, tput, clear, reset, tabs, toe, and tset.

### プロジェクトの歴史

The lineage runs through earlier curses and pcurses work. Thomas Dickey's ncurses licensing history discusses ncurses 0.7.2 from May 22, 1993 and ncurses 1.8.1 from November 5, 1993, with Pavel Curtis and Zeyd Ben-Halim copyright lineage. Dickey's history also identifies ncurses 1.9.9e on March 24, 1996 as the end of Zeyd Ben-Halim's maintainership and April 6, 1996 as Dickey's first patch against his ncurses archive.

### 採用の歴史

The ncurses 6.4 announcement says that in mid-June 1995 the maintainer of 4.4BSD curses declared it obsolete and encouraged BSD-family systems to switch to ncurses. The same announcement describes ncurses as used in almost every Linux-kernel-based system aside from some embedded applications, as the system curses library on OpenBSD, FreeBSD, and macOS, and in environments such as Cygwin and MinGW.

### 使われ方

Package users depend on ncurses both directly and indirectly. Developers link libncurses, libpanel, libmenu, and libform for full-screen terminal apps; shell scripts use tput and reset; terminfo maintainers use tic and infocmp; and many interactive CLI tools pull it in through readline-like or TUI dependencies.

### パッケージ好きにとっての重要性

ncurses is foundational packaging infrastructure. It is small enough to feel mundane, but it sits under installers, text editors, terminal multiplexers, system configuration tools, roguelikes, debuggers, and countless TUIs. ABI variants, wide-character builds, terminfo database paths, and compatibility with system curses make it a perennial packaging concern.

### タイムライン

- May 22, 1993: ncurses 0.7.2 appears in Thomas Dickey's reconstructed licensing history.
- November 5, 1993: ncurses 1.8.1 release documented in the same history.
- Mid-June 1995: 4.4BSD curses maintainer encourages switching to ncurses.
- March 24, 1996: ncurses 1.9.9e marks the end of Zeyd Ben-Halim's maintainership.
- April 6, 1996: Thomas Dickey begins patching his ncurses archive.
- December 31, 2022: ncurses 6.4 released, with the announcement summarizing its broad OS adoption.

### Related projects

- curses, pcurses, PDCurses, terminfo, termcap, X/Open Curses, BSD curses, GNU Screen, terminal UI applications

### ソース

- <https://formulae.brew.sh/formula/ncurses>
- <https://github.com/ThomasDickey/ncurses-snapshots>
- <https://invisible-island.net/ncurses/>
- <https://invisible-island.net/ncurses/ncurses-license.html>
- <https://lists.gnu.org/archive/html/info-gnu/2022-12/msg00010.html>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - lib32ncurses-dev - 6.5+20250216-2: normalized package name match | Debian stable package indexes: lib32ncurses-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | developer's libraries for ncurses (32-bit) | https://invisible-island.net/ncurses/
- Debian apt - lib32ncurses6 - 6.5+20250216-2: normalized package name match | Debian stable package indexes: lib32ncurses6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared libraries for terminal handling (32-bit) | https://invisible-island.net/ncurses/
- Debian apt - lib32ncursesw6 - 6.5+20250216-2: normalized package name match | Debian stable package indexes: lib32ncursesw6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared libraries for terminal handling (wide character support) (32-bit) | https://invisible-island.net/ncurses/
- Debian apt - lib32tinfo6 - 6.5+20250216-2: normalized package name match | Debian stable package indexes: lib32tinfo6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared low-level terminfo library for terminal handling (32-bit) | https://invisible-island.net/ncurses/
- Debian apt - libncurses-dev - 6.5+20250216-2: normalized package name match | Debian stable package indexes: libncurses-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | developer's libraries for ncurses | https://invisible-island.net/ncurses/
- Debian apt - libncurses6 - 6.5+20250216-2: normalized package name match | Debian stable package indexes: libncurses6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared libraries for terminal handling | https://invisible-island.net/ncurses/
- Debian apt - libncursesw6 - 6.5+20250216-2: normalized package name match | Debian stable package indexes: libncursesw6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared libraries for terminal handling (wide character support) | https://invisible-island.net/ncurses/
- Debian apt - libtinfo6 - 6.5+20250216-2: normalized package name match | Debian stable package indexes: libtinfo6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared low-level terminfo library for terminal handling | https://invisible-island.net/ncurses/
- Debian apt - ncurses-base - 6.5+20250216-2: normalized package name match | Debian stable package indexes: ncurses-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | basic terminal type definitions | https://invisible-island.net/ncurses/
- Debian apt - ncurses-bin - 6.5+20250216-2: normalized package name match | Debian stable package indexes: ncurses-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal-related programs and man pages | https://invisible-island.net/ncurses/
- Debian apt - ncurses-doc - 6.5+20250216-2: normalized package name match | Debian stable package indexes: ncurses-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | developer's guide and documentation for ncurses | https://invisible-island.net/ncurses/
- Debian apt - ncurses-examples - 6.5+20250216-2: normalized package name match | Debian stable package indexes: ncurses-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | test programs and examples for ncurses | https://invisible-island.net/ncurses/
- Debian apt - ncurses-term - 6.5+20250216-2: normalized package name match | Debian stable package indexes: ncurses-term from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | additional terminal type definitions | https://invisible-island.net/ncurses/
- Nix - ncurses: normalized package name match | nixpkgs package indexes: ncurses from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - lib32ncurses-dev - 6.4+20240113-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: lib32ncurses-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | developer's libraries for ncurses (32-bit) | https://invisible-island.net/ncurses/
- Ubuntu apt - lib32ncurses6 - 6.4+20240113-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: lib32ncurses6 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | shared libraries for terminal handling (32-bit) | https://invisible-island.net/ncurses/


## Combined YAML source

View the package source record on GitHub. [combined/ncurses.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ncurses.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
