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

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

## インストール

```sh
sudo av install brew:libgsf
```

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

### macOS

- Homebrew (100%):

```sh
brew install libgsf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libgsf
```

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

### Linux

- apk (92%):

```sh
sudo apk add libgsf
```

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

- dnf (92%):

```sh
sudo dnf install libgsf
```

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

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

- pacman (92%):

```sh
sudo pacman -S libgsf
```

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

- Debian apt (92%):

```sh
sudo apt install gir1.2-gsf-1
```

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

- zypper (92%):

```sh
sudo zypper install gsf-office-thumbnailer
```

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

## パッケージ情報

- **パッケージキー:** brew:libgsf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.14.58
- **ソース概要:** I/O abstraction library for dealing with structured file formats
- **ホームページ:** <https://gitlab.gnome.org/GNOME/libgsf>
- **リポジトリ:** <https://github.com/GNOME/libgsf>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gsf (エイリアス)
- gsf-office-thumbnailer (エイリアス)
- gsf-vba-dump (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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.

### ソース

- <https://gitlab.gnome.org/GNOME/libgsf>
- <https://gitlab.gnome.org/GNOME/libgsf/-/raw/master/NEWS>
- <https://gitlab.gnome.org/GNOME/libgsf/-/raw/master/README>
- <https://gnome.pages.gitlab.gnome.org/libgsf/api/index.html>


## セキュリティノート

library-like package without higher-risk signals.

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

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

- Debian apt - gir1.2-gsf-1 - 1.14.53-1: normalized package name match | Debian stable package indexes: gir1.2-gsf-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for the Structured File Library | http://projects.gnome.org/libgsf/
- Debian apt - libgsf-1-114 - 1.14.53-1: normalized package name match | Debian stable package indexes: libgsf-1-114 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Structured File Library - runtime version | http://projects.gnome.org/libgsf/
- Debian apt - libgsf-1-common - 1.14.53-1: normalized package name match | Debian stable package indexes: libgsf-1-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Structured File Library - common files | http://projects.gnome.org/libgsf/
- Debian apt - libgsf-1-dev - 1.14.53-1: normalized package name match | Debian stable package indexes: libgsf-1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Structured File Library - development files | http://projects.gnome.org/libgsf/
- Debian apt - libgsf-bin - 1.14.53-1: normalized package name match | Debian stable package indexes: libgsf-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Structured File Library - programs | http://projects.gnome.org/libgsf/
- Nix - libgsf: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libgsf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-gsf-1 - 1.14.51-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-gsf-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GObject introspection data for the Structured File Library | http://projects.gnome.org/libgsf/
- Ubuntu apt - libgsf-1-114 - 1.14.51-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgsf-1-114 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Structured File Library - runtime version | http://projects.gnome.org/libgsf/
- Ubuntu apt - libgsf-1-common - 1.14.51-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgsf-1-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Structured File Library - common files | http://projects.gnome.org/libgsf/
- Ubuntu apt - libgsf-1-dev - 1.14.51-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgsf-1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Structured File Library - development files | http://projects.gnome.org/libgsf/
- Ubuntu apt - libgsf-bin - 1.14.51-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgsf-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Structured File Library - programs | http://projects.gnome.org/libgsf/
- apk - libgsf - 1.14.58-r0: normalized package name match | Alpine Linux edge package indexes: libgsf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility library for reading and writing structured file formats | https://gitlab.gnome.org/GNOME/libgsf
- apk - libgsf-dev - 1.14.58-r0: normalized package name match | Alpine Linux edge package indexes: libgsf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility library for reading and writing structured file formats (development files) | https://gitlab.gnome.org/GNOME/libgsf
- apk - libgsf-doc - 1.14.58-r0: normalized package name match | Alpine Linux edge package indexes: libgsf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility library for reading and writing structured file formats (documentation) | https://gitlab.gnome.org/GNOME/libgsf
- apk - libgsf-lang - 1.14.58-r0: normalized package name match | Alpine Linux edge package indexes: libgsf-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package libgsf | https://gitlab.gnome.org/GNOME/libgsf
- dnf - libgsf - 1.14.58-3.fc45: normalized package name match | Fedora Rawhide package metadata: libgsf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNOME Structured File library | https://gitlab.gnome.org/GNOME/libgsf/


## Combined YAML source

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