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

Graphics Library. Version 26.1.4 via Homebrew; verified 2026-07-03.

## Install

```sh
sudo av install brew:mesa
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mesa
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mesa
```

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

### Linux

- apk (92%):

```sh
sudo apk add mesa
```

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

- Debian apt (92%):

```sh
sudo apt install libd3dadapter9-mesa
```

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

- dnf (92%):

```sh
sudo dnf install mesa-dri-drivers
```

  Evidence: Fedora Rawhide package metadata: mesa-dri-drivers 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#mesa
```

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

- pacman (92%):

```sh
sudo pacman -S mesa
```

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

- zypper (92%):

```sh
sudo zypper install Mesa
```

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

## Package facts

- **Package key:** brew:mesa
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mesa>
- **Version:** 26.1.4
- **Source summary:** Graphics Library
- **Homepage:** <https://www.mesa3d.org/>
- **Repository:** <https://gitlab.freedesktop.org/mesa/mesa>
- **Upstream docs:** <https://docs.mesa3d.org/>
- **License:** MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND HPND AND HPND-sell-variant AND ICU AND MIT-Khronos-old AND SGI-B-2.0 AND LicenseRef-Homebrew-public-domain AND (GPL-1.0-or-later WITH Linux-syscall-note) AND (GPL-2.0-only WITH Linux-syscall-note)
- **Source archive:** <https://archive.mesa3d.org/mesa-26.1.4.tar.xz>
- **Last updated:** 2026-07-03T08:48:36Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- afuc-asm (cli)
- afuc-disasm (cli)
- aubinator (cli)
- aubinator_error_decode (cli)
- brw_asm (cli)
- brw_disasm (cli)
- computerator (cli)
- elk_asm (cli)
- elk_disasm (cli)
- glsl_compiler (cli)
- intel_dev_info (cli)
- intel_dump_gpu (cli)
- intel_error2aub (cli)
- intel_error2hangdump (cli)
- intel_hang_replay (cli)
- intel_measure.py (cli)
- intel_monitor (cli)
- intel_sanitize_gpu (cli)
- intel_stub_gpu (cli)
- lima_disasm (cli)
- mda (cli)
- mesa-overlay-control.py (cli)
- mesa-screenshot-control.py (cli)
- nv_push_dump (cli)
- panfrost_texfeatures (cli)
- panfrostdump (cli)
- spirv2nir (cli)
- afuc-asm (alias)
- afuc-disasm (alias)
- aubinator (alias)
- aubinator_error_decode (alias)
- brw_asm (alias)
- brw_disasm (alias)
- computerator (alias)
- elk_asm (alias)
- elk_disasm (alias)
- glsl_compiler (alias)
- intel_dev_info (alias)
- intel_dump_gpu (alias)
- intel_error2aub (alias)
- intel_error2hangdump (alias)
- intel_hang_replay (alias)
- intel_measure.py (alias)
- intel_monitor (alias)
- intel_sanitize_gpu (alias)
- intel_stub_gpu (alias)
- lima_disasm (alias)
- mda (alias)
- mesa-overlay-control.py (alias)
- mesa-screenshot-control.py (alias)
- nv_push_dump (alias)
- panfrost_texfeatures (alias)
- panfrostdump (alias)
- spirv2nir (alias)

## Dependencies

- libclc
- libpng
- libx11
- libxcb
- libxext
- libxfixes
- llvm
- molten-vk
- spirv-llvm-translator
- spirv-tools
- xcb-util-keysyms
- zstd

## Build dependencies

- bindgen
- bison
- glslang
- libxrandr
- libxrender
- libxshmfence
- libyaml
- meson
- ninja
- pkgconf
- python@3.14
- rust
- xorgproto

## Uses from macOS

- expat

## 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: 26.1.4
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://www.mesa3d.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Mesa is one of the foundational open-source graphics libraries in Unix and Linux graphics stacks. Brian Paul began the project in August 1993 as a spare-time implementation of a simple 3D graphics library using the then-new OpenGL API, inspired partly by VOGL. After negotiating with SGI over distribution of an OpenGL-like library, Mesa 1.0 was released on the internet in February 1995. The project history notes that Mesa soon received patches, features, and daily user feedback, and that it helped many users encounter OpenGL on systems where vendor OpenGL support was limited.

### Project history

Mesa's technical milestones track the rise of open graphics acceleration. Mesa 2.0 implemented OpenGL 1.1 in 1996; Mesa 2.2 added support for 3dfx Voodoo through Glide in 1997; Mesa 3.0 was the first public implementation of the OpenGL 1.2 API in 1998. In 1999 Mesa became a key component of Direct Rendering Infrastructure work for XFree86, with drivers following for 3dfx, 3dLabs, Intel, Matrox, and ATI hardware. Tungsten Graphics, cofounded by Paul and other graphics developers in 2001 and later acquired by VMware, became another major chapter in Mesa's development. Gallium, developed by Keith Whitwell and other Tungsten Graphics employees, introduced a GPU abstraction layer that shaped later Mesa drivers.

### Adoption history

The modern package is not merely a developer library; it is part of the operating-system graphics substrate. Mesa implements APIs including OpenGL, OpenGL ES, Vulkan, EGL, OpenCL, and VA-API, and provides hardware, layered, virtual-GPU, and software drivers. Its documented driver set includes Intel, AMD Radeon, NVIDIA NVK/Nouveau-related support, Qualcomm Adreno/Freedreno, Broadcom VC4/V3D, ARM Mali drivers, Vivante, VMware SVGA3D, VirGL, Zink, LLVMpipe, and Softpipe.

### How it is used

In Homebrew and other package managers, Mesa fills the graphics-runtime and development-library niche: applications, toolkits, games, emulators, CI environments, and headless renderers depend on it for standardized graphics APIs without bundling vendor-specific stacks. Its history explains why the package is both a library and an infrastructure project, maintained through freedesktop.org with an upstream GitLab workflow and broad hardware-driver participation.

### Sources

- <https://docs.mesa3d.org/history.html>
- <https://docs.mesa3d.org/repository.html>
- <https://docs.mesa3d.org/systems.html>
- <https://formulae.brew.sh/formula/mesa>
- <https://www.mesa3d.org/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libd3dadapter9-mesa - 25.0.7-2: normalized package name match | Debian stable package indexes: libd3dadapter9-mesa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | state-tracker for Direct3D9 | https://mesa3d.org/
- Debian apt - libd3dadapter9-mesa-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libd3dadapter9-mesa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | state-tracker for Direct3D9 -- development files | https://mesa3d.org/
- Debian apt - libegl-mesa0 - 25.0.7-2: normalized package name match | Debian stable package indexes: libegl-mesa0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | free implementation of the EGL API -- Mesa vendor library | https://mesa3d.org/
- Debian apt - libegl1-mesa-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libegl1-mesa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | free implementation of the EGL API -- development files | https://mesa3d.org/
- Debian apt - libgbm-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libgbm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic buffer management API -- development files | https://mesa3d.org/
- Debian apt - libgbm1 - 25.0.7-2: normalized package name match | Debian stable package indexes: libgbm1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic buffer management API -- runtime | https://mesa3d.org/
- Debian apt - libgl1-mesa-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libgl1-mesa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package | https://mesa3d.org/
- Debian apt - libgl1-mesa-dri - 25.0.7-2: normalized package name match | Debian stable package indexes: libgl1-mesa-dri from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | free implementation of the OpenGL API -- DRI modules | https://mesa3d.org/
- Debian apt - libgles2-mesa-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libgles2-mesa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package | https://mesa3d.org/
- Debian apt - libglx-mesa0 - 25.0.7-2: normalized package name match | Debian stable package indexes: libglx-mesa0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | free implementation of the OpenGL API -- GLX vendor library | https://mesa3d.org/
- Debian apt - libosmesa6 - 25.0.7-2: normalized package name match | Debian stable package indexes: libosmesa6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mesa Off-screen rendering extension | https://mesa3d.org/
- Debian apt - libosmesa6-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libosmesa6-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mesa Off-screen rendering extension -- development files | https://mesa3d.org/
- Debian apt - libxatracker-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: libxatracker-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X acceleration library -- development files | https://mesa3d.org/
- Debian apt - libxatracker2 - 25.0.7-2: normalized package name match | Debian stable package indexes: libxatracker2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X acceleration library -- runtime | https://mesa3d.org/
- Debian apt - mesa-common-dev - 25.0.7-2: normalized package name match | Debian stable package indexes: mesa-common-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Developer documentation for Mesa | https://mesa3d.org/
- Debian apt - mesa-drm-shim - 25.0.7-2: normalized package name match | Debian stable package indexes: mesa-drm-shim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | DRM shim libraries | https://mesa3d.org/


## 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.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Runtime dependency declared by Homebrew.
- [molten-vk](https://www.automicvault.com/pkg/brew/molten-vk/) - Runtime dependency declared by Homebrew.
- [bindgen](https://www.automicvault.com/pkg/brew/bindgen/) - Build dependency declared by Homebrew.
- [bison](https://www.automicvault.com/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [glslang](https://www.automicvault.com/pkg/brew/glslang/) - Build dependency declared by Homebrew.
- [fox](https://www.automicvault.com/pkg/brew/fox/) - Popular package that depends on this formula.
- [geomview](https://www.automicvault.com/pkg/brew/geomview/) - Popular package that depends on this formula.
- [webkitgtk](https://www.automicvault.com/pkg/brew/webkitgtk/) - Popular package that depends on this formula.
- [b43-fwcutter](https://www.automicvault.com/pkg/brew/b43-fwcutter/) - Shares av.db curated category or tags: cli, drivers, system.
- [libxpm](https://www.automicvault.com/pkg/brew/libxpm/) - Shares av.db curated category or tags: cli, graphics, system.
- [libmps](https://www.automicvault.com/pkg/brew/libmps/) - Shares av.db curated category or tags: cli, system, system-library.
- [abduco](https://www.automicvault.com/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system.
- [acl](https://www.automicvault.com/pkg/brew/acl/) - Shares av.db curated category or tags: cli, system.
- [acpica](https://www.automicvault.com/pkg/brew/acpica/) - Shares av.db curated category or tags: cli, system.
- [afio](https://www.automicvault.com/pkg/brew/afio/) - Shares av.db curated category or tags: cli, system.
- [afsctool](https://www.automicvault.com/pkg/brew/afsctool/) - Shares av.db curated category or tags: cli, system.
- [xorg-server](https://www.automicvault.com/pkg/brew/xorg-server/) - Local package facts share a topical domain. Shared terms: cli, keysyms, libx11, libxcb, libxext.
- [xdpyinfo](https://www.automicvault.com/pkg/brew/xdpyinfo/) - Local package facts share a topical domain. Shared terms: cli, libx11, libxcb, libxext, system.

## Combined YAML source

View the package source record on GitHub. [combined/mesa.yml](https://github.com/automic-vault/db/blob/main/combined/mesa.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
