Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libgsf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libgsf

MacPorts ports tree · gnome/libgsf/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install gir1.2-gsf-1

Debian stable package indexes · gir1.2-gsf-1 · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install gsf-office-thumbnailer

openSUSE Tumbleweed package metadata · gsf-office-thumbnailer · 来源: download.opensuse.org

概览

软件包摘要

I/O abstraction library for dealing with structured file formats

命令和别名

  • gsf
  • gsf-office-thumbnailer
  • gsf-vba-dump

历史

项目历史与用法

libgsf is the GNOME Structured File Library, an I/O abstraction for compound and structured file formats such as Microsoft OLE2, ZIP/JAR, gzip, bzip, OpenDocument-related streams, metadata, and thumbnails. It came out of Gnumeric's need for maintainable spreadsheet file-format infrastructure.

项目历史

The libgsf README says the project was started by Jody Goldberg and aims to provide an efficient, extensible I/O abstraction for dealing with different structured file formats. The GTK-Doc manual adds that it began in 2002 as part of the Gnumeric project, replacing libole2 for Microsoft Excel file handling because libole2 had become difficult to maintain and generalize.

The GitLab repository history includes an initial backup commit dated 2002-05-23. Since then, the 1.14 series has continued as a quiet GNOME infrastructure library with fixes for OLE2 edge cases, large files, ZIP64 behavior, thumbnailing, introspection, fuzzed-file crashes, and metadata handling.

采用历史

libgsf was adopted through GNOME Office and file-format tooling rather than as a famous end-user command. It is infrastructure for applications that need structured file reading and writing without duplicating OLE, ZIP, compression, metadata, and stream code.

The Homebrew package exposes command-line tools such as gsf, gsf-office-thumbnailer, and gsf-vba-dump, showing the library's practical packaging surface: archive-like inspection, office document thumbnails, and VBA extraction/debugging around compound document formats.

使用方式

Developers use libgsf through its C API to read and write structured files and streams. The reference manual groups APIs around basic I/O, stream sources, ZIP files, compression, MS OLE2, metadata, OASIS Open Document support, and related utilities.

Packagers ship it for applications that depend on GNOME/GLib-style structured file handling. Its release notes show continued attention to malformed files and very large OLE/ZIP cases, which are exactly the edge cases shared libraries are meant to centralize.

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

libgsf is a small dependency with a long tail: most users do not ask for it by name, but office-file importers, thumbnailers, and data tools benefit from one shared implementation of gnarly container formats.

It is package-nerd significant because it demonstrates the GNOME/GLib style of extracting reusable infrastructure from an application. Gnumeric needed better Excel container handling; the result became a general library that distributions can patch, fuzz, and update once.

时间线

  • 2002: The reference manual says GSF started as part of Gnumeric to replace libole2 for Microsoft Excel file handling.
  • 2002-05-23: The GitLab repository records the initial backup commit.
  • 2016: Release 1.14.38 fixed BSD test compatibility and ZIP64 behavior.
  • 2024: Release 1.14.53 fixed integer overflows affecting memory allocation and improved OLE/OpenDocument handling.
  • 2026: Release 1.14.57 fixed problems with OLE files larger than 4 GB and improved gzip, bzip, and ZIP handling for 4 GB and larger reads and writes.

Related projects

  • Gnumeric is the spreadsheet project from which libgsf emerged.
  • libole2 is the older library that GSF replaced for Gnumeric's Excel file handling.
  • GLib, GNOME, GTK-Doc, OLE2, ZIP, OpenDocument, and office thumbnailing tools are part of the surrounding ecosystem.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gsfcli全局可执行文件
gsf-office-thumbnailercli全局可执行文件
gsf-vba-dumpcli全局可执行文件

新鲜度

版本和新鲜度

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

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

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

安装元数据

软件包元数据

软件包键brew:libgsf
版本1.14.58
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libgsf
主页https://gitlab.gnome.org/GNOME/libgsf
仓库https://gitlab.gnome.org/GNOME/libgsf
上游文档https://gnome.pages.gitlab.gnome.org/libgsf/api
许可证LGPL-2.1-only
源码归档https://download.gnome.org/sources/libgsf/1.14/libgsf-1.14.58.tar.xz
最后更新2026-06-25T13:37:51+02:00
Pulseupdated
依赖gettext, glib
构建依赖pkgconf
macOS 提供的库bzip2, libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gir1.2-gsf-1 1.14.53-1

GObject introspection data for the Structured File Library

http://projects.gnome.org/libgsf/

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

libgsf-1-114 1.14.53-1

Structured File Library - runtime version

http://projects.gnome.org/libgsf/

sudo apt install libgsf-1-114
  • Section: libs
  • Architecture: amd64
  • Source Package: libgsf
  • 6 依赖
  • normalized package name match
  • 匹配方式:Libgsf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgsf-1-114 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgsf-1-common 1.14.53-1

Structured File Library - common files

http://projects.gnome.org/libgsf/

sudo apt install libgsf-1-common
  • Section: libs
  • Architecture: all
  • Source Package: libgsf
  • normalized package name match
  • 匹配方式:Libgsf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgsf-1-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgsf-1-dev 1.14.53-1

Structured File Library - development files

http://projects.gnome.org/libgsf/

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

libgsf-bin 1.14.53-1

Structured File Library - programs

http://projects.gnome.org/libgsf/

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

libgsf

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

gir1.2-gsf-1 1.14.51-2build2

GObject introspection data for the Structured File Library

http://projects.gnome.org/libgsf/

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

libgsf-1-114 1.14.51-2build2

Structured File Library - runtime version

http://projects.gnome.org/libgsf/

sudo apt install libgsf-1-114
  • Section: libs
  • Architecture: amd64
  • Source Package: libgsf
  • 6 依赖
  • normalized package name match
  • 匹配方式:Libgsf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgsf-1-114 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgsf-1-common 1.14.51-2build2

Structured File Library - common files

http://projects.gnome.org/libgsf/

sudo apt install libgsf-1-common
  • Section: libs
  • Architecture: all
  • Source Package: libgsf
  • normalized package name match
  • 匹配方式:Libgsf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgsf-1-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgsf-1-dev 1.14.51-2build2

Structured File Library - development files

http://projects.gnome.org/libgsf/

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

libgsf-bin 1.14.51-2build2

Structured File Library - programs

http://projects.gnome.org/libgsf/

sudo apt install libgsf-bin
  • Section: universe/gnome
  • Architecture: amd64
  • Source Package: libgsf
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libgsf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgsf-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libgsf 1.14.58-r0

Utility library for reading and writing structured file formats

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

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

libgsf-dev 1.14.58-r0

Utility library for reading and writing structured file formats (development files)

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

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

libgsf-doc 1.14.58-r0

Utility library for reading and writing structured file formats (documentation)

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

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

libgsf-lang 1.14.58-r0

Languages for package libgsf

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

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

libgsf 1.14.58-1.fc45

GNOME Structured File library

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

sudo dnf install libgsf
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libgsf
  • 9 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libgsf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libgsf 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