# libnotify を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

libnotify のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libnotify
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libnotify
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libnotify
```

  証拠: MacPorts ports tree: devel/libnotify/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libnotify
```

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

- dnf (92%):

```sh
sudo dnf install libnotify
```

  証拠: Fedora Rawhide package metadata: libnotify 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#libnotify
```

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

- pacman (92%):

```sh
sudo pacman -S libnotify
```

  証拠: Arch Linux sync databases: libnotify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install gir1.2-notify-0.7
```

  証拠: Debian stable package indexes: gir1.2-notify-0.7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libnotify-devel
```

  証拠: openSUSE Tumbleweed package metadata: libnotify-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libnotify
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.8.8
- **ソース概要:** Library that sends desktop notifications to a notification daemon
- **ホームページ:** <https://gitlab.gnome.org/GNOME/libnotify>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- notify-send (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.8.8
## プロジェクトの歴史と使われ方

libnotify is the GNOME library and notify-send tool for sending passive desktop notifications to a notification daemon. It implements the freedesktop.org org.freedesktop.Notifications model through a small GLib/GObject-facing C API.

### プロジェクトの歴史

The GNOME documentation identifies Notify API version 0.7 and library version 0.8.8, with authors including Marco Trevisan, Logan Rathbone, Christian Hammond, Mike Hearn, and John Palmieri. The README describes libnotify as a library for sending notifications defined by the freedesktop.org Desktop Notifications specification.

Over the 0.7 series, libnotify modernized its build and command-line tooling: NEWS records Meson support in 0.7.8, a notify-send man page and autotools removal in 0.7.9, and richer notify-send behavior in 0.7.10 such as replacement, wait, actions, responses, and failure exit codes.

### 採用の歴史

libnotify became the common packaging surface for scripts and desktop programs that need cross-desktop notification popups. Its notify-send executable is especially visible because it lets shell scripts and CLI tools trigger the same notification service used by graphical applications.

### 使われ方

Programs initialize libnotify, create NotifyNotification objects, set hints such as urgency, category, image, sound, transient, and desktop-entry, and submit notifications through a notification daemon. The README notes that sandboxed applications can use the XDG Portal Notification API path, and that GLib applications should prefer GNotification.

### パッケージ好きにとっての重要性

libnotify is package-nerd significant because it is a small library with a very visible command-line tool and a cross-desktop D-Bus contract. It often appears as a light dependency in desktop stacks, test scripts, and system hooks where notify-send is the public face of the library.

### タイムライン

- 0.7.8: NEWS records Meson build-system support and notify-send support for full URLs as hint values.
- 0.7.9: NEWS records a notify-send man page, Darwin linking fixes, and autotools removal.
- 0.7.10: NEWS records notify-send support for replacement, waiting, actions, responses, and failing exit codes.
- 0.7.13: NEWS records use of Desktop Portal Notification when running confined under snap or flatpak.
- 2024-08-18: The freedesktop.org Desktop Notifications Specification was published as version 1.3.

### Related projects

- Related standards and APIs include org.freedesktop.Notifications, D-Bus, XDG Portal Notification API, and GLib GNotification.
- Related implementations include desktop notification daemons used by GNOME and other freedesktop-compatible desktops.

### ソース

- <https://github.com/GNOME/libnotify>
- <https://github.com/GNOME/libnotify/blob/master/NEWS>
- <https://gnome.pages.gitlab.gnome.org/libnotify/>
- <https://specifications.freedesktop.org/notification-spec/latest/>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - gir1.2-notify-0.7 - 0.8.6-1: normalized package name match | Debian stable package indexes: gir1.2-notify-0.7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends desktop notifications to a notification daemon (Introspection files)
- Debian apt - libnotify-bin - 0.8.6-1: normalized package name match | Debian stable package indexes: libnotify-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends desktop notifications to a notification daemon (Utilities)
- Debian apt - libnotify-dev - 0.8.6-1: normalized package name match | Debian stable package indexes: libnotify-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends desktop notifications to a notification daemon (Development files)
- Debian apt - libnotify-doc - 0.8.6-1: normalized package name match | Debian stable package indexes: libnotify-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends desktop notifications to a notification daemon (Documentation)
- Debian apt - libnotify4 - 0.8.6-1: normalized package name match | Debian stable package indexes: libnotify4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends desktop notifications to a notification daemon
- Nix - libnotify: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libnotify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-notify-0.7 - 0.8.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-notify-0.7 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | sends desktop notifications to a notification daemon (Introspection files)
- Ubuntu apt - libnotify-bin - 0.8.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnotify-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | sends desktop notifications to a notification daemon (Utilities)
- Ubuntu apt - libnotify-dev - 0.8.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnotify-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | sends desktop notifications to a notification daemon (Development files)
- Ubuntu apt - libnotify-doc - 0.8.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnotify-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | sends desktop notifications to a notification daemon (Documentation)
- Ubuntu apt - libnotify4 - 0.8.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnotify4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | sends desktop notifications to a notification daemon
- apk - libnotify - 0.8.8-r0: normalized package name match | Alpine Linux edge package indexes: libnotify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Desktop notification library | https://gitlab.gnome.org/GNOME/libnotify
- apk - libnotify-dev - 0.8.8-r0: normalized package name match | Alpine Linux edge package indexes: libnotify-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Desktop notification library (development files) | https://gitlab.gnome.org/GNOME/libnotify
- apk - libnotify-doc - 0.8.8-r0: normalized package name match | Alpine Linux edge package indexes: libnotify-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Desktop notification library (documentation) | https://gitlab.gnome.org/GNOME/libnotify
- dnf - libnotify - 0.8.8-8.fc45: normalized package name match | Fedora Rawhide package metadata: libnotify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Desktop notification library | https://gitlab.gnome.org/GNOME/libnotify
- dnf - libnotify-devel - 0.8.8-8.fc45: normalized package name match | Fedora Rawhide package metadata: libnotify-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libnotify | https://gitlab.gnome.org/GNOME/libnotify


## Combined YAML source

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