# unac を Homebrew, MacPorts, apt でインストール

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

## インストール

```sh
sudo av install brew:unac
```

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

### macOS

- Homebrew (100%):

```sh
brew install unac
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install unac
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install libunac1
```

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

## パッケージ情報

- **パッケージキー:** brew:unac
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.8.0
- **ソース概要:** C library and command that removes accents from a string
- **ホームページ:** <https://savannah.nongnu.org/projects/unac>
- **最終更新:** 2026-07-14T20:07:12+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- unaccent (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

unac is a small C library and command-line utility for removing accents from text by converting through Unicode with iconv. Its package history is the classic Unix-library story: a narrow text-processing primitive, a manpage-driven CLI, and distribution through source tarballs and OS packages.

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

The official README describes unac as a C library plus the `unaccent` command. The code history on Savannah shows active early-2000s maintenance by Loic Dachary, with releases around Unicode data updates, iconv portability, bug fixes, and manual-page improvements.

The official NEWS file records version 1.8.0 upgrading to Unicode 4.0, version 1.7.0 fixing a Unicode 3.2 bug, and version 1.6.0 upgrading to Unicode 3.2.0. The ChangeLog records release activity from 2000 through 2004, which frames unac as mature legacy infrastructure rather than a fast-moving modern text stack.

### 採用の歴史

The official project page announced Debian and RPM packages in the early 2000s, and the input package metadata lists Homebrew, MacPorts, Debian, and Ubuntu package names. That is the relevant adoption story: unac became a distro-packaged text-normalization dependency and command rather than a highly visible end-user tool.

### 使われ方

The README says the input charset must be specified, after which unac converts text to UTF-16 with iconv, removes accents, and converts the result back. The `unaccent` command can process an input flow or a string argument, making it useful in shell pipelines and indexing/import scripts.

Package users reach for unac when they need a tiny native accent-folding tool without pulling in a larger application framework. The tradeoff is that it reflects older Unicode and iconv-era design assumptions.

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

unac is significant in the package-nerd niche because it preserves a focused pre-ICU style Unix component: a C library, manpages, autotools build, and a single CLI that does one text-normalization job.

It is not a major ecosystem pillar, but it is the sort of small dependency that matters when old software, search systems, or packaging recipes still expect `unaccent` behavior.

### タイムライン

- 2000: ChangeLog records unac 1.2.0 release activity.
- 2001: Versions 1.3.0, 1.4.0, and 1.5.0 appear in the official ChangeLog and NEWS.
- 2002: Versions 1.6.0 and 1.7.0 update Unicode support and bug handling.
- 2004: Version 1.8.0 upgrades to Unicode 4.0.

### Related projects

- Text-Unaccent and phpUnac were released alongside unac in early project announcements.
- iconv and GNU libiconv are central related components because unac relies on charset conversion before accent removal.

### ソース

- <https://git.savannah.nongnu.org/cgit/unac.git/plain/ChangeLog>
- <https://git.savannah.nongnu.org/cgit/unac.git/plain/NEWS>
- <https://git.savannah.nongnu.org/cgit/unac.git/plain/README>
- <https://www.nongnu.org/unac/>
- source_facts.package-manager


## セキュリティノート

library-like package without higher-risk signals.

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

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

- Debian apt - libunac1 - 1.8.0-10+b3: normalized package name match | Debian stable package indexes: libunac1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | unac programming library - runtime version
- Debian apt - libunac1-dev - 1.8.0-10+b3: normalized package name match | Debian stable package indexes: libunac1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C programmer's library that removes accents from a string
- Debian apt - unaccent - 1.8.0-10+b3: normalized package name match | Debian stable package indexes: unaccent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Replace accented letters by their unaccented equivalent
- Ubuntu apt - libunac1 - 1.8.0-10: normalized package name match | Ubuntu 24.04 LTS package indexes: libunac1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | unac programming library - runtime version
- Ubuntu apt - libunac1-dev - 1.8.0-10: normalized package name match | Ubuntu 24.04 LTS package indexes: libunac1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C programmer's library that removes accents from a string
- Ubuntu apt - unaccent - 1.8.0-10: normalized package name match | Ubuntu 24.04 LTS package indexes: unaccent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Replace accented letters by their unaccented equivalent
- MacPorts - unac: normalized package name match | MacPorts ports tree: textproc/unac/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/unac.yml](https://github.com/mxcl/pkgdb/blob/main/combined/unac.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
