# Install imlib2 with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Image loading and rendering library. Version 1.12.6 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:imlib2
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install imlib2
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install imlib2
```

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

### Linux

- apk (92%):

```sh
sudo apk add imlib2
```

  Evidence: Alpine Linux edge package indexes: imlib2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libimlib2-dev
```

  Evidence: Debian stable package indexes: libimlib2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install imlib2
```

  Evidence: Fedora Rawhide package metadata: imlib2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#imlib2
```

  Evidence: nixpkgs package indexes: pkgs/by-name/im/imlib2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S imlib2
```

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

- zypper (92%):

```sh
sudo zypper install imlib2
```

  Evidence: openSUSE Tumbleweed package metadata: imlib2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:imlib2
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/imlib2>
- **Version:** 1.12.6
- **Source summary:** Image loading and rendering library
- **Homepage:** <https://sourceforge.net/projects/enlightenment/>
- **Repository:** <https://git.enlightenment.org/old/legacy-imlib2>
- **Upstream docs:** <https://docs.enlightenment.org/api/imlib2/html>
- **License:** Imlib2
- **Source archive:** <https://downloads.sourceforge.net/project/enlightenment/imlib2-src/1.12.6/imlib2-1.12.6.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- imlib2_bumpmap (cli)
- imlib2_colorspace (cli)
- imlib2_conv (cli)
- imlib2_grab (cli)
- imlib2_load (cli)
- imlib2_poly (cli)
- imlib2_show (cli)
- imlib2_test (cli)
- imlib2_view (cli)
- imlib2_bumpmap (alias)
- imlib2_colorspace (alias)
- imlib2_conv (alias)
- imlib2_grab (alias)
- imlib2_load (alias)
- imlib2_poly (alias)
- imlib2_show (alias)
- imlib2_test (alias)
- imlib2_view (alias)

## Dependencies

- freetype
- giflib
- jpeg-turbo
- libpng
- libtiff
- libx11
- libxcb
- libxext
- xz

## Build dependencies

- pkgconf

## Uses from macOS

- bzip2

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.12.6
- Local data: ok
- Upstream repository: https://sourceforge.net/projects/enlightenment/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Imlib2 is a C image loading, saving, rendering, and manipulation library from the Enlightenment ecosystem. Its own README describes it as a complete rewrite of the Imlib 1.x series, with a more modular, simple, and flexible architecture.

### Project history

Imlib2 predates most modern GitHub-centered package histories. The official SourceForge project for Enlightenment was registered in 1999, and the official ChangeLog records Imlib2 releases at least back to the 1.2.x line in 2006. The repository later lived in the Enlightenment Git service under the legacy-imlib2 name.

The project has remained active as a low-level graphics library rather than an end-user image editor. The ChangeLog shows steady maintenance across loader fixes, scaling and alpha behavior, security-sensitive parser work, and support for formats such as AVIF, HEIF, JPEG XL, QOI, SVG, and Y4M in later releases.

### Adoption history

Imlib2 is widely packaged because many Unix graphics and desktop tools depend on a small C library for image loading and rendering. The input metadata lists packages across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE; Homebrew also publishes a formula for the library.

Its adoption is less about direct command-line invocation and more about being a shared library under desktop utilities, lightweight viewers, and Enlightenment-era software. The README names Eterm, feh, and geist as example consumers.

### How it is used

Imlib2 is used by C programs to load and save images, render and manipulate pixel data, draw polygons, and work with image formats through load/save modules. The Homebrew formula exposes helper commands such as imlib2_load, imlib2_view, imlib2_conv, and imlib2_grab, but the main value is the library and development headers.

### Why package nerds care

Imlib2 is package-nerd significant because it is the old-school Unix graphics dependency that keeps showing up in distro dependency trees. It illustrates a different kind of package importance: not a fashionable CLI, but a long-lived C ABI and loader ecosystem that distributions keep carrying because other software still builds on it.

### Timeline

- 1999-11-04: Enlightenment project registered on SourceForge.
- 2006-03-18: Imlib2 v1.2.2 recorded in the official ChangeLog.
- 2007-05-06: v1.4.0 recorded in the official ChangeLog.
- 2020-08-01: v1.7.0 recorded in the official ChangeLog.
- 2023-08-17: v1.12.0 recorded in the official ChangeLog.
- 2026-01-03: v1.12.6 recorded in the official ChangeLog.

### Related projects

- Imlib2 is part of the broader Enlightenment family. Its README names Eterm, feh, and geist as examples of software using the library, and its history is connected to Imlib 1.x through the rewrite described in the README.

### Sources

- <https://formulae.brew.sh/formula/imlib2>
- <https://git.enlightenment.org/old/legacy-imlib2>
- <https://git.enlightenment.org/old/legacy-imlib2/src/branch/master/ChangeLog>
- <https://git.enlightenment.org/old/legacy-imlib2/src/branch/master/README.in>
- <https://sourceforge.net/projects/enlightenment/>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** imlib2
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - libimlib2-dev - 1.12.4-2: normalized package name match | Debian stable package indexes: libimlib2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image loading, rendering, saving library (development files) | https://docs.enlightenment.org/api/imlib2/html/index.html
- Debian apt - libimlib2t64 - 1.12.4-2: normalized package name match | Debian stable package indexes: libimlib2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image loading, rendering, saving library | https://docs.enlightenment.org/api/imlib2/html/index.html
- Nix - imlib2: normalized package name match | nixpkgs package indexes: pkgs/by-name/im/imlib2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libimlib2-dev - 1.12.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libimlib2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image loading, rendering, saving library (development files) | https://docs.enlightenment.org/api/imlib2/html/index.html
- Ubuntu apt - libimlib2t64 - 1.12.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libimlib2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image loading, rendering, saving library | https://docs.enlightenment.org/api/imlib2/html/index.html
- apk - imlib2 - 1.12.6-r0: normalized package name match | Alpine Linux edge package indexes: imlib2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Image manipulation library | https://sourceforge.net/projects/enlightenment/
- apk - imlib2-dev - 1.12.6-r0: normalized package name match | Alpine Linux edge package indexes: imlib2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Image manipulation library (development files) | https://sourceforge.net/projects/enlightenment/
- dnf - imlib2 - 1.12.5-2.fc44: normalized package name match | Fedora Rawhide package metadata: imlib2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Image loading, saving, rendering, and manipulation library | http://docs.enlightenment.org/api/imlib2/html/
- dnf - imlib2-devel - 1.12.5-2.fc44: normalized package name match | Fedora Rawhide package metadata: imlib2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development package for imlib2 | http://docs.enlightenment.org/api/imlib2/html/
- dnf - imlib2-id3tag-loader - 1.12.5-2.fc44: normalized package name match | Fedora Rawhide package metadata: imlib2-id3tag-loader from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Imlib2 id3tag-loader | http://docs.enlightenment.org/api/imlib2/html/
- pacman - imlib2 - 1.12.6-1: normalized package name match | Arch Linux sync databases: imlib2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support | https://sourceforge.net/projects/enlightenment/
- zypper - imlib2 - 1.12.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: imlib2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Image handling and conversion library | https://sourceforge.net/projects/enlightenment
- zypper - imlib2-demo - 1.12.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: imlib2-demo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Imlib 2 - demo programs | https://sourceforge.net/projects/enlightenment
- zypper - imlib2-devel - 1.12.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: imlib2-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Imlib 2 - development libraries | https://sourceforge.net/projects/enlightenment
- zypper - imlib2-filters - 1.12.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: imlib2-filters from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Imlib 2 - plugin filters | https://sourceforge.net/projects/enlightenment
- zypper - imlib2-loaders - 1.12.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: imlib2-loaders from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Imlib 2 - image loaders | https://sourceforge.net/projects/enlightenment


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [giflib](https://www.automicvault.com/pkg/brew/giflib/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [libtiff](https://www.automicvault.com/pkg/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [feh](https://www.automicvault.com/pkg/brew/feh/) - Popular package that depends on this formula.
- [libcaca](https://www.automicvault.com/pkg/brew/libcaca/) - Popular package that depends on this formula.
- [ssocr](https://www.automicvault.com/pkg/brew/ssocr/) - Popular package that depends on this formula.
- [efl](https://www.automicvault.com/pkg/brew/efl/) - Shares av.db curated category or tags: cli, graphics, media, rendering.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: c, cli, graphics, library, media.
- [glew](https://www.automicvault.com/pkg/brew/glew/) - Shares av.db curated category or tags: c, cli, graphics, media.
- [aalib](https://www.automicvault.com/pkg/brew/aalib/) - Shares av.db curated category or tags: cli, graphics, library, media.
- [batik](https://www.automicvault.com/pkg/brew/batik/) - Shares av.db curated category or tags: cli, graphics, media.
- [dicebear](https://www.automicvault.com/pkg/brew/dicebear/) - Shares av.db curated category or tags: cli, graphics, media.
- [epstool](https://www.automicvault.com/pkg/brew/epstool/) - Shares av.db curated category or tags: cli, graphics, media.
- [fig2dev](https://www.automicvault.com/pkg/brew/fig2dev/) - Shares av.db curated category or tags: cli, graphics, media.
- [graphicsmagick](https://www.automicvault.com/pkg/brew/graphicsmagick/) - Both packages work with overlapping file formats or content types. Shared terms: cli, freetype, graphics, image, jpeg.

## Combined YAML source

View the package source record on GitHub. [combined/imlib2.yml](https://github.com/automic-vault/db/blob/main/combined/imlib2.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
