Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman, scoop 安装 libiconv

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libiconv

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libiconv

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

Windows

Scoop已验证 · 92%
scoop install main/iconv

Scoop official bucket manifest trees · bucket/iconv.json · 来源: api.github.com

概览

软件包摘要

Conversion library

命令和别名

  • iconv

历史

项目历史与用法

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.

时间线

  • 1998: GNU libiconv documentation carries Free Software Foundation copyright from this period.
  • 2024: GNU libiconv 1.18 release notes described POSIX:2024 API compatibility work.
  • 2026: The GNU project page documented libiconv 1.19 source and manuals.

Related projects

  • GNU gettext is closely related because gettext can use libiconv for message conversion and shares build-system history around iconv.m4.
  • glibc iconv is the main system implementation that may make GNU libiconv unnecessary on GNU/Linux systems.
  • POSIX iconv is the standard API surface that libiconv implements for portable software.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://www.gnu.org/software/libiconv/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/libiconv/none 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibiconv
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

libiconv

nix profile install nixpkgs#libiconv
  • normalized package name match
  • 匹配方式:Libiconv
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: libiconv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

libiconv 1.19-1

GNU charset conversion library

http://www.gnu.org/software/libiconv/

sudo pacman -S libiconv
  • License: LGPL-2.1-only AND GPL-3.0-only
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libiconv
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libiconv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

libiconv

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

iconv

nix profile install nixpkgs#iconv
  • installed executable or alias match
  • 匹配方式:Iconv
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: iconv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Scoop92%

main/iconv

scoop install main/iconv
  • installed executable or alias match
  • 匹配方式:Iconv
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/iconv.json from https://api.github.com/repos/ScoopInstaller/Main/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