macOS
brew install unaclocal Homebrew formula metadata
sudo port install unacMacPorts ports tree · textproc/unac/Portfile · 来源: api.github.com
安装
brew install unaclocal Homebrew formula metadata
sudo port install unacMacPorts ports tree · textproc/unac/Portfile · 来源: api.github.com
sudo apt install libunac1Debian stable package indexes · libunac1 · 来源: deb.debian.org
概览
C library and command that removes accents from a string
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
unaccent | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | unac |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libunac1 1.8.0-10+b3
unac programming library - runtime version
sudo apt install libunac1libunac1-dev 1.8.0-10+b3
C programmer's library that removes accents from a string
sudo apt install libunac1-devunaccent 1.8.0-10+b3
Replace accented letters by their unaccented equivalent
sudo apt install unaccentlibunac1 1.8.0-10
unac programming library - runtime version
sudo apt install libunac1libunac1-dev 1.8.0-10
C programmer's library that removes accents from a string
sudo apt install libunac1-devunaccent 1.8.0-10
Replace accented letters by their unaccented equivalent
sudo apt install unaccentunac
sudo port install unac来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.