Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libnotify

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libnotify

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libnotify

MacPorts ports tree · devel/libnotify/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libnotify

Alpine Linux edge package indexes · libnotify · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install libnotify

Fedora Rawhide package metadata · libnotify · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libnotify

nixpkgs package indexes · pkgs/by-name/li/libnotify/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libnotify

Arch Linux sync databases · libnotify · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install gir1.2-notify-0.7

Debian stable package indexes · gir1.2-notify-0.7 · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libnotify-devel

openSUSE Tumbleweed package metadata · libnotify-devel · 来源: download.opensuse.org

概览

软件包摘要

Library that sends desktop notifications to a notification daemon

命令和别名

  • notify-send

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 6 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
notify-sendcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.8.8
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://gitlab.gnome.org/GNOME/libnotify

安装元数据

软件包元数据

软件包键brew:libnotify
版本0.8.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libnotify
主页https://gitlab.gnome.org/GNOME/libnotify
仓库https://gitlab.gnome.org/GNOME/libnotify
上游文档https://gnome.pages.gitlab.gnome.org/libnotify
许可证LGPL-2.1-or-later
源码归档https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.8.tar.xz
依赖gdk-pixbuf, gettext, glib
构建依赖docbook-xsl, gobject-introspection, gtk-doc, meson, ninja, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibnotify
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

gir1.2-notify-0.7 0.8.6-1

sends desktop notifications to a notification daemon (Introspection files)

sudo apt install gir1.2-notify-0.7
  • Section: introspection
  • Architecture: amd64
  • Source Package: libnotify
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libnotify
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-notify-0.7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnotify-bin 0.8.6-1

sends desktop notifications to a notification daemon (Utilities)

sudo apt install libnotify-bin
  • Section: utils
  • Architecture: amd64
  • Source Package: libnotify
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libnotify
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnotify-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnotify-dev 0.8.6-1

sends desktop notifications to a notification daemon (Development files)

sudo apt install libnotify-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libnotify
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libnotify
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnotify-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnotify-doc 0.8.6-1

sends desktop notifications to a notification daemon (Documentation)

sudo apt install libnotify-doc
  • Section: doc
  • Architecture: all
  • Source Package: libnotify
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libnotify
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnotify-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnotify4 0.8.6-1

sends desktop notifications to a notification daemon

sudo apt install libnotify4
  • Section: libs
  • Architecture: amd64
  • Source Package: libnotify
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libnotify
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnotify4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libnotify

nix profile install nixpkgs#libnotify
  • normalized package name match
  • 匹配方式:Libnotify
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libnotify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.2-notify-0.7 0.8.3-1build2

sends desktop notifications to a notification daemon (Introspection files)

sudo apt install gir1.2-notify-0.7
  • Section: introspection
  • Architecture: amd64
  • Source Package: libnotify
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libnotify
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-notify-0.7 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnotify-bin 0.8.3-1build2

sends desktop notifications to a notification daemon (Utilities)

sudo apt install libnotify-bin
  • Section: utils
  • Architecture: amd64
  • Source Package: libnotify
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libnotify
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnotify-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnotify-dev 0.8.3-1build2

sends desktop notifications to a notification daemon (Development files)

sudo apt install libnotify-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libnotify
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libnotify
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnotify-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnotify-doc 0.8.3-1build2

sends desktop notifications to a notification daemon (Documentation)

sudo apt install libnotify-doc
  • Section: utils
  • Architecture: all
  • Source Package: libnotify
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libnotify
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnotify-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnotify4 0.8.3-1build2

sends desktop notifications to a notification daemon

sudo apt install libnotify4
  • Section: libs
  • Architecture: amd64
  • Source Package: libnotify
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libnotify
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnotify4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libnotify 0.8.8-r0

Desktop notification library

https://gitlab.gnome.org/GNOME/libnotify

sudo apk add libnotify
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libnotify
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libnotify
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnotify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libnotify-dev 0.8.8-r0

Desktop notification library (development files)

https://gitlab.gnome.org/GNOME/libnotify

sudo apk add libnotify-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libnotify
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libnotify
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnotify-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libnotify-doc 0.8.8-r0

Desktop notification library (documentation)

https://gitlab.gnome.org/GNOME/libnotify

sudo apk add libnotify-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libnotify
  • normalized package name match
  • 匹配方式:Libnotify
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnotify-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libnotify 0.8.8-1.fc45

Desktop notification library

https://gitlab.gnome.org/GNOME/libnotify

sudo dnf install libnotify
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libnotify
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libnotify
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libnotify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libnotify-devel 0.8.8-1.fc45

Development files for libnotify

https://gitlab.gnome.org/GNOME/libnotify

sudo dnf install libnotify-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libnotify
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libnotify
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libnotify-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment