# giflib を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

giflib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:giflib
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install giflib
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install giflib
```

  証拠: MacPorts ports tree: graphics/giflib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add giflib
```

  証拠: Alpine Linux edge package indexes: giflib from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install giflib
```

  証拠: Fedora Rawhide package metadata: giflib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#giflib
```

  証拠: nixpkgs package indexes: pkgs/by-name/gi/giflib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S giflib
```

  証拠: Arch Linux sync databases: giflib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install giflib-tools
```

  証拠: Debian stable package indexes: giflib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install giflib-devel
```

  証拠: openSUSE Tumbleweed package metadata: giflib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:giflib
- **パッケージマネージャ:** Homebrew
- **バージョン:** 6.1.3
- **ソース概要:** Library and utilities for processing GIFs
- **ホームページ:** <https://giflib.sourceforge.net/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gifbuild (エイリアス)
- gifclrmp (エイリアス)
- giffix (エイリアス)
- giftext (エイリアス)
- giftool (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 6.1.3
## プロジェクトの歴史と使われ方

GIFLIB is the long-lived C service library and utility collection for reading, writing, inspecting, and transforming GIF images.

### プロジェクトの歴史

GIFLIB traces its code lineage to a DOS library and command-line tool set written by Gershon Elber between the GIF87 and GIF89 specifications, with version 1.0 dated June 1989. Eric S. Raymond ported the code to System V Unix by the end of 1989 and reworked parts of the API between 1989 and 1992.

During the LZW patent era, part of the code base traveled as libungif with GIF compression removed. Compression support was merged back after the blocking patent expired in 2004, and the project resumed the giflib name. In 2012, Raymond returned to project leadership and released 4.2 and 5.0, with 5.0 addressing thread safety, GIF89 control blocks, and obsolete utility cleanup.

### 採用の歴史

GIFLIB's own history records that the Unix port was incorporated into NCSA Mosaic in 1994, making it part of the early web's image stack. The project describes the code as deployed across browsers, graphics applications, operating systems, smartphones, game consoles, and embedded devices.

### 使われ方

Practitioners use GIFLIB through its C API and through utilities such as gifbuild, gifclrmp, giffix, giftext, and giftool. The library supports sequential GIF I/O and whole-image in-memory workflows, while the utility set helps inspect, repair, compose, and transform GIF files.

### パッケージ好きにとっての重要性

GIFLIB matters to package maintainers because it is small, mature image infrastructure with a large reverse-dependency surface. ABI changes, security hardening, fuzzing fixes, and utility packaging decisions carry ecosystem weight beyond the package's size.

### タイムライン

- 1989: GIFLIB 1.0 dated in the original DOS lineage.
- 1994: GIFLIB-derived code used in NCSA Mosaic.
- 1998: Toshio Kuratomi shipped 4.0.
- 2004: Compression support merged back after patent expiry.
- 2012: Version 5.0 released with thread-safety and GIF89 API work.
- 2026: Upstream SourceForge code browser shows active 6.x maintenance.

### Related projects

- libungif is part of GIFLIB's patent-era history. Gifsicle, ImageMagick, browser engines, and many image-processing stacks occupy adjacent or dependent parts of the GIF ecosystem.

### ソース

- <https://giflib.sourceforge.net/>
- <https://giflib.sourceforge.net/gif_lib.html>
- <https://giflib.sourceforge.net/history.html>
- <https://sourceforge.net/p/giflib/code/ci/master/tree/>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - giflib-tools - 5.2.2-1+deb13u1: normalized package name match | Debian stable package indexes: giflib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for GIF images (utilities) | https://giflib.sourceforge.net/
- Debian apt - libgif-dev - 5.2.2-1+deb13u1: normalized package name match | Debian stable package indexes: libgif-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for GIF images (development) | https://giflib.sourceforge.net/
- Debian apt - libgif7 - 5.2.2-1+deb13u1: normalized package name match | Debian stable package indexes: libgif7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for GIF images (library) | https://giflib.sourceforge.net/
- Nix - giflib: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/giflib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - giflib-tools - 5.2.2-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: giflib-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for GIF images (utilities) | https://giflib.sourceforge.net/
- Ubuntu apt - libgif-dev - 5.2.2-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgif-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for GIF images (development) | https://giflib.sourceforge.net/
- Ubuntu apt - libgif7 - 5.2.2-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgif7 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for GIF images (library) | https://giflib.sourceforge.net/
- apk - giflib - 5.2.2-r1: normalized package name match | Alpine Linux edge package indexes: giflib from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A library for reading and writing GIF images | https://sourceforge.net/projects/giflib/
- apk - giflib-dev - 5.2.2-r1: normalized package name match | Alpine Linux edge package indexes: giflib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A library for reading and writing GIF images (development files) | https://sourceforge.net/projects/giflib/
- apk - giflib-doc - 5.2.2-r1: normalized package name match | Alpine Linux edge package indexes: giflib-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A library for reading and writing GIF images (documentation) | https://sourceforge.net/projects/giflib/
- apk - giflib-static - 5.2.2-r1: normalized package name match | Alpine Linux edge package indexes: giflib-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A library for reading and writing GIF images (static library) | https://sourceforge.net/projects/giflib/
- apk - giflib-utils - 5.2.2-r1: normalized package name match | Alpine Linux edge package indexes: giflib-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Programs for manipulating GIF format image files | https://sourceforge.net/projects/giflib/
- dnf - giflib - 6.1.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: giflib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A library and utilities for processing GIFs | http://www.sourceforge.net/projects/giflib/
- dnf - giflib-devel - 6.1.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: giflib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for programs using the giflib library | http://www.sourceforge.net/projects/giflib/
- dnf - giflib-utils - 6.1.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: giflib-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Programs for manipulating GIF format image files | http://www.sourceforge.net/projects/giflib/
- dnf - mingw32-giflib - 6.1.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-giflib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows giflib library | http://www.sourceforge.net/projects/giflib/


## Combined YAML source

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


## ソース

- 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
