# 使用 Homebrew, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libhandy

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

## 安装

```sh
sudo av install brew:libhandy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libhandy
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libhandy
```

  证据: MacPorts ports tree: gnome/libhandy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install libhandy
```

  证据: Fedora Rawhide package metadata: libhandy 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#libhandy
```

  证据: nixpkgs package indexes: pkgs/by-name/li/libhandy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libhandy
```

  证据: Arch Linux sync databases: libhandy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install gir1.2-handy-0.0
```

  证据: Ubuntu 24.04 LTS package indexes: gir1.2-handy-0.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install glade-catalog-libhandy
```

  证据: openSUSE Tumbleweed package metadata: glade-catalog-libhandy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libhandy
- **软件包管理器:** Homebrew
- **版本:** 1.8.3
- **来源摘要:** Building blocks for modern adaptive GNOME apps
- **主页:** <https://gitlab.gnome.org/GNOME/libhandy>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- handy-1-demo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.3
## 项目历史与用法

Libhandy is Purism and GNOME's GTK 3 widget library for adaptive applications, especially interfaces that need to work on both desktop windows and phone-sized screens. It is historically important because it bridged Librem 5 mobile work, mainstream GNOME applications, and the later GTK 4-era libadwaita direction.

### 项目历史

Purism's June 10, 2021 retrospective says Libhandy was created after experiments with mobile-specific and adaptive widgets showed that GTK developers needed a library they could include without modifying GTK itself. The name reflects Handy, the German word for a mobile phone, and the upstream README states the library's aim as helping develop mobile-device UI using GTK/GNOME.

The NEWS file records version 0.81.0 migrating the project to GNOME GitLab, archiving the previous source.puri.sm project, switching CI to GNOME infrastructure, and publishing reference documentation through GNOME GitLab Pages. The same release made documentation and Glade catalog installation parallel-installable with libhandy 0.0, a packaging-friendly move during API transition.

### 采用历史

Libhandy began as part of Purism's Librem 5 effort, but Purism described it as quickly gaining popularity among GNOME application developers and being used by both third-party GNOME apps and core apps such as Settings, Files, and Web. It became an unofficial high-level widget layer above GTK before the GTK 4 work was redirected into libadwaita.

The batch input lists packages for Homebrew, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE, showing that Libhandy's adaptive-widget role crossed from phone-oriented development into general distribution packaging.

### 使用方式

Developers use Libhandy to add adaptive GTK 3 widgets such as leaflet, carousel, view switcher, preferences, deck, flap, keypad, and other interface pieces. The handy-1-demo executable is the package-level demonstration surface for trying those widgets.

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

Libhandy is a rare dependency whose history explains a platform transition: it made GNOME-on-phone work practical without forking the desktop ecosystem, then informed libadwaita as GTK 4 arrived. For package maintainers, it is also a compatibility library for GTK 3 applications that adopted adaptive GNOME UI patterns before moving to libadwaita.

### 时间线

- 2018: Purism and GNOME contributors were actively using Libhandy widgets for adaptive Librem 5 application work.
- Version 0.81.0: The project migrated to GNOME GitLab and started publishing reference documentation with GNOME GitLab Pages.
- Version 1.0.0: The NEWS file marked the 1.0 API line with no extra release-note changes.
- 2021-06-10: Purism described Libhandy's creation, GNOME adoption, and its relationship to libadwaita.

### Related projects

- GTK 3 is the toolkit targeted by Libhandy.
- GNOME applications such as Settings, Files, and Web are named by Purism as adopters of Libhandy-style adaptive UI work.
- libadwaita is the GTK 4-era successor direction described by Purism for GNOME's high-level adaptive widgets.
- The Librem 5 and Phosh ecosystem supplied much of the original mobile GNOME pressure that made Libhandy useful.

### 来源

- <https://formulae.brew.sh/formula/libhandy>
- <https://gitlab.gnome.org/GNOME/libhandy>
- <https://gitlab.gnome.org/GNOME/libhandy/-/raw/main/NEWS>
- <https://gitlab.gnome.org/GNOME/libhandy/-/raw/main/README.md>
- <https://gnome.pages.gitlab.gnome.org/libhandy/doc/main>
- <https://puri.sm/posts/making-a-platform-adaptive-for-everyone/>


## 安全说明

library-like package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - libhandy: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libhandy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-handy-0.0 - 0.0.13-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-handy-0.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject introspection files for libhandy | https://source.puri.sm/Librem5/libhandy
- Ubuntu apt - handy-0.0-examples - 0.0.13-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: handy-0.0-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Example programs for libhandy | https://source.puri.sm/Librem5/libhandy
- Ubuntu apt - libhandy-0.0-0 - 0.0.13-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libhandy-0.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library with GTK widgets for mobile phones | https://source.puri.sm/Librem5/libhandy
- Ubuntu apt - libhandy-0.0-dev - 0.0.13-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libhandy-0.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for libhandy | https://source.puri.sm/Librem5/libhandy
- dnf - libhandy - 1.8.3-16.fc45: normalized package name match | Fedora Rawhide package metadata: libhandy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Building blocks for modern adaptive GNOME apps | https://gitlab.gnome.org/GNOME/libhandy
- dnf - libhandy-devel - 1.8.3-16.fc45: normalized package name match | Fedora Rawhide package metadata: libhandy-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libhandy | https://gitlab.gnome.org/GNOME/libhandy
- pacman - libhandy - 1.8.3-2: normalized package name match | Arch Linux sync databases: libhandy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GTK 3 UI elements for mobile devices | https://gitlab.gnome.org/GNOME/libhandy
- zypper - glade-catalog-libhandy - 1.8.3-2.4: normalized package name match | openSUSE Tumbleweed package metadata: glade-catalog-libhandy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Glade catalog for libhandy | https://gitlab.gnome.org/GNOME/libhandy
- zypper - libhandy-1-0 - 1.8.3-2.4: normalized package name match | openSUSE Tumbleweed package metadata: libhandy-1-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A GTK+ library to develop UI for mobile devices | https://gitlab.gnome.org/GNOME/libhandy
- zypper - libhandy-devel - 1.8.3-2.4: normalized package name match | openSUSE Tumbleweed package metadata: libhandy-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Source and header files for libhandy | https://gitlab.gnome.org/GNOME/libhandy
- zypper - libhandy-lang - 1.8.3-2.4: normalized package name match | openSUSE Tumbleweed package metadata: libhandy-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package libhandy | https://gitlab.gnome.org/GNOME/libhandy
- zypper - typelib-1_0-Handy-1_0 - 1.8.3-2.4: normalized package name match | openSUSE Tumbleweed package metadata: typelib-1_0-Handy-1_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Introspection bindings for libhandy | https://gitlab.gnome.org/GNOME/libhandy
- MacPorts - libhandy: normalized package name match | MacPorts ports tree: gnome/libhandy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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