# 使用 Homebrew 安装 libgr

查看 libgr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:libgr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libgr
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:libgr
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libgr>
- **版本:** 0.73.26
- **来源摘要:** GR framework: a graphics library for visualisation applications
- **主页:** <https://gr-framework.org/>
- **仓库:** <https://github.com/sciapp/gr>
- **上游文档:** <https://gr-framework.org/>
- **许可证:** MIT
- **源码归档:** <https://github.com/sciapp/gr/archive/refs/tags/v0.73.26.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gksqt (cli)
- grplot (cli)
- gksqt (别名)
- grplot (别名)

## 依赖

- cairo
- ffmpeg
- freetype
- glfw
- jpeg-turbo
- libpng
- libtiff
- pixman
- qhull
- qtbase
- zeromq

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.73.26
- 本地数据: OK
- 上游仓库: https://github.com/sciapp/gr
- 检测到的最新版本: v0.73.26 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

GR Framework is a compact cross-platform visualization system for scientific and technical applications. Its C library is based on Graphical Kernel System ideas and OpenGL, while its bindings make it useful from Python, Julia, C, Rust, and other environments.

### 项目历史

The GR documentation says the framework was developed by the Scientific IT-Systems group at the Peter Grunberg Institute, Forschungszentrum Juelich, with Josef Heinen as the main developer and maintainer. It positions GR as a self-contained visualization library suited to real-time and signal-processing environments.

GR combines an implementation of GKS with OpenGL-backed rendering and related components such as GR3 for simple 3D scenes. The documentation records GR3 as work by Florian Rhiem and describes the library as usable directly from C or through Python ctypes and Julia ccall interfaces.

### 采用历史

GR spread through scientific Python and Julia more than through a standalone desktop-app story. The project references presentations at PyCon DE 2012 and 2013, PyCon US 2013, EuroPython 2014 and 2015, EuroSciPy 2015, JuliaCon 2015 and 2016, and SciPy 2016.

The project documentation says release 0.6 added Matplotlib backend support, and version 0.10.0 added inline graphics for IPython, Jupyter, and Julia-style interactive workflows. That made GR attractive as a fast plotting backend in notebooks and numerical environments.

### 使用方式

Users install libgr for the native GR libraries and tools such as gksqt and grplot. Developers call the C API or use language packages to produce 2D graphs, 3D scenes, inline notebook graphics, and GUI-integrated scientific visualizations.

Because GR is self-contained and portable, it is often packaged as a native dependency below higher-level plotting packages. The Homebrew libgr formula gives macOS users the C-level runtime expected by language bindings and plotting frontends.

### 为什么软件包爱好者会关心

GR is package-manager interesting because many users meet it indirectly through plotting stacks: a Python or Julia plotting package suddenly depends on a native graphics runtime, Qt terminal, fonts, OpenGL behavior, and platform-specific display plumbing.

The package name libgr highlights the native-library layer beneath the friendlier GR Framework name. For maintainers, this means tracking not only source releases but also binary artifacts, shared-library search paths, and GUI terminal behavior.

### 时间线

- 2011: GR references include Neutron Science Visualization Software work at Juelich.
- 2012: GR was presented at PyCon DE and described as a universal framework for visualization applications.
- 2013: GR was presented at PyCon US and PyCon DE.
- 2015-03-09: The v0.10.0 tag was created; the documentation associates 0.10.0 with inline graphics support for IPython and Jupyter-style environments.
- 2016: GR was presented at JuliaCon and SciPy, showing adoption in Julia and Python scientific-computing communities.

### Related projects

- GKS and OpenGL are the graphics foundations named by the GR documentation.
- Matplotlib, IPython, Jupyter, and Julia are major environments described by GR's documentation and references.
- GR3, GR.jl, python-gr, ruby-gr, and grplot are related components or bindings around the native library.

### 来源

- <https://github.com/sciapp/gr>
- <https://github.com/sciapp/gr/blob/master/README.md>
- <https://gr-framework.org/>
- <https://gr-framework.org/about.html>
- <https://gr-framework.org/references.html>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libgr
- **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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Scientific computing packages](https://pkg.so/zh-hans/scientific-computing-tools/) - Matched scientific computing metadata.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libtiff](https://pkg.so/zh-hans/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [cairo](https://pkg.so/zh-hans/brew/cairo/) - Runtime dependency declared by Homebrew.
- [zeromq](https://pkg.so/zh-hans/brew/zeromq/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [magics](https://pkg.so/zh-hans/brew/magics/) - Shares pkgdb curated category or tags: cli, plotting, science, visualization.
- [gts](https://pkg.so/zh-hans/brew/gts/) - Shares pkgdb curated category or tags: 3d, c-library, cli, science.
- [grace](https://pkg.so/zh-hans/brew/grace/) - Shares pkgdb curated category or tags: cli, plotting, science, visualization.
- [fftw](https://pkg.so/zh-hans/brew/fftw/) - Shares pkgdb curated category or tags: c-library, cli, science.
- [cfitsio](https://pkg.so/zh-hans/brew/cfitsio/) - Shares pkgdb curated category or tags: c-library, cli, science.
- [vtk](https://pkg.so/zh-hans/brew/vtk/) - Shares pkgdb curated category or tags: cli, science, visualization.
- [gnuplot](https://pkg.so/zh-hans/brew/gnuplot/) - Shares pkgdb curated category or tags: cli, plotting, science.
- [openslide](https://pkg.so/zh-hans/brew/openslide/) - Shares pkgdb curated category or tags: c-library, cli, science.
- [root](https://pkg.so/zh-hans/brew/root/) - Local package facts share a topical domain. Shared terms: cli, freetype, jpeg, jpeg-turbo, libpng.
- [itk](https://pkg.so/zh-hans/brew/itk/) - Local package facts share a topical domain. Shared terms: cli, freetype, jpeg, jpeg-turbo, libpng.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
