Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, apt 安装 unac

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install unac

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install unac

MacPorts ports tree · textproc/unac/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install libunac1

Debian stable package indexes · libunac1 · 来源: deb.debian.org

概览

软件包摘要

C library and command that removes accents from a string

命令和别名

  • unaccent

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
unaccentcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.8.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://savannah.nongnu.org/projects/unac

安装元数据

软件包元数据

软件包键brew:unac
版本1.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/unac
主页https://savannah.nongnu.org/projects/unac
仓库https://git.savannah.nongnu.org/cgit/unac.git
上游文档https://www.nongnu.org/unac
许可证GPL-2.0-or-later
源码归档https://deb.debian.org/debian/pool/main/u/unac/unac_1.8.0.orig.tar.gz
构建依赖autoconf, automake, gettext, libtool
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameunac
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libunac1 1.8.0-10+b3

unac programming library - runtime version

sudo apt install libunac1
  • Section: libs
  • Architecture: amd64
  • Source Package: unac
  • 1 依赖
  • normalized package name match
  • 匹配方式:Unac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libunac1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libunac1-dev 1.8.0-10+b3

C programmer's library that removes accents from a string

sudo apt install libunac1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: unac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Unac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libunac1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

unaccent 1.8.0-10+b3

Replace accented letters by their unaccented equivalent

sudo apt install unaccent
  • Section: utils
  • Architecture: amd64
  • Source Package: unac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Unac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: unaccent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libunac1 1.8.0-10

unac programming library - runtime version

sudo apt install libunac1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: unac
  • 1 依赖
  • normalized package name match
  • 匹配方式:Unac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libunac1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libunac1-dev 1.8.0-10

C programmer's library that removes accents from a string

sudo apt install libunac1-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: unac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Unac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libunac1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

unaccent 1.8.0-10

Replace accented letters by their unaccented equivalent

sudo apt install unaccent
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: unac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Unac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: unaccent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

unac

sudo port install unac
  • normalized package name match
  • 匹配方式:Unac
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/unac/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment