macOS
brew install libiconvlocal Homebrew formula metadata
sudo port install libiconvMacPorts ports tree · textproc/libiconv/Portfile · 来源: api.github.com
安装
brew install libiconvlocal Homebrew formula metadata
sudo port install libiconvMacPorts ports tree · textproc/libiconv/Portfile · 来源: api.github.com
nix profile install nixpkgs#libiconvnixpkgs package indexes · libiconv · 来源: raw.githubusercontent.com
sudo pacman -S libiconvArch Linux sync databases · libiconv · 来源: geo.mirror.pkgbuild.com
scoop install main/iconvScoop official bucket manifest trees · bucket/iconv.json · 来源: api.github.com
概览
Conversion library
历史
GNU libiconv is the GNU character-set conversion library for systems that lack a usable iconv implementation or lack Unicode-capable conversions.
The GNU project page frames libiconv around the internet-era problem of moving text among Unicode and older language- or country-dependent encodings. It provides both the iconv() library interface and an iconv command-line program.
GNU libiconv's long-term role has been portability rather than novelty: it supplies consistent conversion support on platforms where libc iconv is absent, incomplete, or not compatible with the encodings an application needs.
The package became common in Unix packaging because many projects use Autoconf tests for iconv and need a fallback on macOS, BSD, Windows ports, or older commercial Unix systems.
The GNU documentation explicitly calls out GNU gettext integration and the circular first-install relationship between gettext and libiconv on some systems, which is why packagers often care about bootstrap order.
Developers link against libiconv through iconv_open, iconv, and iconv_close, while users can call the iconv program to convert files or streams between encodings. Build systems commonly surface it through LIBICONV or LTLIBICONV substitutions.
libiconv is one of the classic portability packages: invisible when libc has enough charset support, essential when it does not. It also exposes subtle packaging choices around libc replacement, gettext, locale charsets, and whether a dependency should use the system iconv or GNU's implementation.
For package maintainers, it is a reminder that text encoding is infrastructure. A tiny mismatch in iconv availability can decide whether internationalized software builds or produces correct output.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
iconv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/libiconv/
安装元数据
| 软件包键 | brew:libiconv |
|---|---|
| 版本 | 1.19 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libiconv |
| 主页 | https://www.gnu.org/software/libiconv/ |
| 仓库 | https://git.savannah.gnu.org/git/libiconv.git |
| 上游文档 | https://www.gnu.org/software/libiconv |
| 许可证 | GPL-3.0-or-later AND LGPL-2.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/libiconv/libiconv-1.19.tar.gz |
| 构建依赖 | autoconf, automake |
| macOS 提供的库 | gperf |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libiconv |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libiconv
nix profile install nixpkgs#libiconvlibiconv 1.19-1
GNU charset conversion library
http://www.gnu.org/software/libiconv/
sudo pacman -S libiconvlibiconv
sudo port install libiconviconv
nix profile install nixpkgs#iconvmain/iconv
scoop install main/iconv来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.