# libiconv mit Homebrew, MacPorts, Nix, pacman, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libiconv in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:libiconv
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install libiconv
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libiconv
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libiconv
```

  Evidenz: nixpkgs package indexes: libiconv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S libiconv
```

  Evidenz: Arch Linux sync databases: libiconv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/iconv
```

  Evidenz: Scoop official bucket manifest trees: bucket/iconv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:libiconv
- **Paketmanager:** Homebrew
- **Version:** 1.19
- **Quellzusammenfassung:** Conversion library
- **Homepage:** <https://www.gnu.org/software/libiconv/>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- iconv (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.19
## Projektgeschichte und Nutzung

GNU libiconv is the GNU character-set conversion library for systems that lack a usable iconv implementation or lack Unicode-capable conversions.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://formulae.brew.sh/formula/libiconv>
- <https://lists.gnu.org/archive/html/info-gnu/2024-12/msg00004.html>
- <https://www.gnu.org/software/libiconv>
- <https://www.gnu.org/software/libiconv/documentation/libiconv-1.19/iconv.1.html>
- <https://www.gnu.org/software/libiconv/documentation/libiconv-1.19/iconv.3.html>


## Sicherheitshinweise

library-like package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- library-like package without higher-risk signals

## Andere Paketmanager-Einträge

- Nix - libiconv: normalized package name match | nixpkgs package indexes: libiconv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- pacman - libiconv - 1.19-1: normalized package name match | Arch Linux sync databases: libiconv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GNU charset conversion library | http://www.gnu.org/software/libiconv/
- MacPorts - libiconv: normalized package name match | MacPorts ports tree: textproc/libiconv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - iconv: installed executable or alias match | nixpkgs package indexes: iconv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Scoop - main/iconv: installed executable or alias match | Scoop official bucket manifest trees: bucket/iconv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/libiconv.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libiconv.yml)


## Quellen

- 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
