macOS
brew install glewlocal Homebrew formula metadata
sudo port install glewMacPorts ports tree · graphics/glew/Portfile · 来源: api.github.com
安装
brew install glewlocal Homebrew formula metadata
sudo port install glewMacPorts ports tree · graphics/glew/Portfile · 来源: api.github.com
sudo apk add glewAlpine Linux edge package indexes · glew · 来源: dl-cdn.alpinelinux.org
sudo dnf install glewFedora Rawhide package metadata · glew · 来源: dl.fedoraproject.org
nix profile install nixpkgs#glewnixpkgs package indexes · pkgs/by-name/gl/glew/package.nix · 来源: api.github.com
sudo pacman -S glewArch Linux sync databases · glew · 来源: geo.mirror.pkgbuild.com
sudo zypper install glewopenSUSE Tumbleweed package metadata · glew · 来源: download.opensuse.org
sudo apt install glew-utilsDebian stable package indexes · glew-utils · 来源: deb.debian.org
概览
OpenGL Extension Wrangler Library
历史
GLEW, the OpenGL Extension Wrangler Library, is a C and C++ extension-loading library that discovers OpenGL, WGL, GLX, and EGL capabilities at runtime. It became a standard packaging target because OpenGL applications often need the same generated headers, library, and inspection tools across operating systems.
GLEW's copyright history names Milan Ikits, Marcelo E. Magallon, and Lev Povalahev in the early 2000s, and the project site records a long release line beginning before the 1.2.5 release in December 2004. The project later moved through SourceForge and GitHub, while continuing to distribute generated release snapshots.
The 1.x series tracked OpenGL 2.x, 3.x, and 4.x extension growth. GLEW 2.0 in 2016 added forward-compatible-context support plus OSMesa and EGL support, and GLEW 2.1 in 2017 added support for OpenGL 4.6.
GLEW's project news records inclusion in the OpenGL SDK and NVIDIA OpenGL SDK in 2007, an important adoption signal for an extension loader. The library's stability, permissive license, and simple include-and-initialize workflow helped it become a default dependency for tutorials, examples, and desktop OpenGL applications.
Package managers usually ship both the library and the `glewinfo` and `visualinfo` utilities. That turns GLEW from a build dependency into a diagnostics package for graphics stacks, useful when comparing driver extension exposure across Linux, macOS, Windows, BSD, and Mesa-based systems.
Practitioners include `GL/glew.h`, create a valid OpenGL context, call `glewInit()`, and then test extension or version variables before using optional API entry points. `glewinfo` verifies extension entry points, while `visualinfo` reports visuals or pixel formats.
Developers who need new extension data can regenerate sources with the project's generation workflow, but the README recommends packaged release snapshots for most users.
GLEW matters to package maintainers because it smooths over a historically awkward boundary between graphics drivers, OpenGL headers, generated loaders, and application build systems. A distro-provided GLEW package lets many older and portable OpenGL projects avoid vendoring generated extension code.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
glewinfo | cli | 全局可执行文件 | |
visualinfo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:glew |
|---|---|
| 版本 | 2.3.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/glew |
| 主页 | https://glew.sourceforge.net/ |
| 仓库 | https://github.com/nigels-com/glew |
| 上游文档 | https://glew.sourceforge.net/basic.html |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://downloads.sourceforge.net/project/glew/glew/2.3.1/glew-2.3.1.tgz |
| 最后更新 | 2026-06-22T14:03:34-07:00 |
| Pulse | updated |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | glew |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
glew-utils 2.2.0-4+b2
OpenGL Extension Wrangler - utilities
sudo apt install glew-utilslibglew-dev 2.2.0-4+b2
OpenGL Extension Wrangler - development environment
sudo apt install libglew-devlibglew2.2 2.2.0-4+b2
OpenGL Extension Wrangler - runtime environment
sudo apt install libglew2.2glew
nix profile install nixpkgs#glewglew-utils 2.2.0-4build1
OpenGL Extension Wrangler - utilities
sudo apt install glew-utilslibglew-dev 2.2.0-4build1
OpenGL Extension Wrangler - development environment
sudo apt install libglew-devlibglew2.2 2.2.0-4build1
OpenGL Extension Wrangler - runtime environment
sudo apt install libglew2.2glew 2.3.1-r0
A cross-platform C/C++ extension loading library
sudo apk add glewglew-dev 2.3.1-r0
A cross-platform C/C++ extension loading library (development files)
sudo apk add glew-devglew-tools 2.3.1-r0
A cross-platform C/C++ extension loading library (tools)
sudo apk add glew-toolsglew 2.2.0-12.fc44
The OpenGL Extension Wrangler Library
https://github.com/nigels-com/glew
sudo dnf install glewglew-devel 2.2.0-12.fc44
Development files for glew
https://github.com/nigels-com/glew
sudo dnf install glew-devellibGLEW 2.2.0-12.fc44
libGLEW
https://github.com/nigels-com/glew
sudo dnf install libGLEWglew 2.3.1-1
The OpenGL Extension Wrangler Library
https://github.com/nigels-com/glew
sudo pacman -S glewglew 2.3.1-1.2
OpenGL Extension Wrangler Library
https://github.com/nigels-com/glew
sudo zypper install glewglew-devel 2.3.1-1.2
Development files for glew
https://github.com/nigels-com/glew
sudo zypper install glew-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.