macOS
brew install libgsflocal Homebrew formula metadata
sudo port install libgsfMacPorts ports tree · gnome/libgsf/Portfile · source: api.github.com
brew
I/O abstraction library for dealing with structured file formats. Version 1.14.58 via Homebrew; verified 2026-06-25.
install
brew install libgsflocal Homebrew formula metadata
sudo port install libgsfMacPorts ports tree · gnome/libgsf/Portfile · source: api.github.com
sudo apk add libgsfAlpine Linux edge package indexes · libgsf · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-gsf-1Debian stable package indexes · gir1.2-gsf-1 · source: deb.debian.org
sudo dnf install libgsfFedora Rawhide package metadata · libgsf · source: dl.fedoraproject.org
nix profile install nixpkgs#libgsfnixpkgs package indexes · pkgs/by-name/li/libgsf/package.nix · source: api.github.com
sudo pacman -S libgsfArch Linux sync databases · libgsf · source: geo.mirror.pkgbuild.com
sudo zypper install gsf-office-thumbnaileropenSUSE Tumbleweed package metadata · gsf-office-thumbnailer · source: download.opensuse.org
overview
I/O abstraction library for dealing with structured file formats
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gsf | cli | global executable | |
gsf-office-thumbnailer | cli | global executable | |
gsf-vba-dump | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://gitlab.gnome.org/GNOME/libgsf
install metadata
| Package key | brew:libgsf |
|---|---|
| Version | 1.14.58 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libgsf |
| Homepage | https://gitlab.gnome.org/GNOME/libgsf |
| Repository | https://gitlab.gnome.org/GNOME/libgsf |
| Upstream docs | https://gnome.pages.gitlab.gnome.org/libgsf/api |
| License | LGPL-2.1-only |
| Source archive | https://download.gnome.org/sources/libgsf/1.14/libgsf-1.14.58.tar.xz |
| Last updated | 2026-06-25T13:37:51+02:00 |
| Pulse | updated |
| Dependencies | gettext, glib |
| Build dependencies | pkgconf |
| Uses from macOS | bzip2, libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libgsf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-1libgsf-1-114 1.14.53-1
Structured File Library - runtime version
http://projects.gnome.org/libgsf/
sudo apt install libgsf-1-114libgsf-1-common 1.14.53-1
Structured File Library - common files
http://projects.gnome.org/libgsf/
sudo apt install libgsf-1-commonlibgsf-1-dev 1.14.53-1
Structured File Library - development files
http://projects.gnome.org/libgsf/
sudo apt install libgsf-1-devlibgsf-bin 1.14.53-1
Structured File Library - programs
http://projects.gnome.org/libgsf/
sudo apt install libgsf-binlibgsf
nix profile install nixpkgs#libgsfgir1.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-1libgsf-1-114 1.14.51-2build2
Structured File Library - runtime version
http://projects.gnome.org/libgsf/
sudo apt install libgsf-1-114libgsf-1-common 1.14.51-2build2
Structured File Library - common files
http://projects.gnome.org/libgsf/
sudo apt install libgsf-1-commonlibgsf-1-dev 1.14.51-2build2
Structured File Library - development files
http://projects.gnome.org/libgsf/
sudo apt install libgsf-1-devlibgsf-bin 1.14.51-2build2
Structured File Library - programs
http://projects.gnome.org/libgsf/
sudo apt install libgsf-binlibgsf 1.14.58-r0
Utility library for reading and writing structured file formats
https://gitlab.gnome.org/GNOME/libgsf
sudo apk add libgsflibgsf-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-devlibgsf-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-doclibgsf-lang 1.14.58-r0
Languages for package libgsf
https://gitlab.gnome.org/GNOME/libgsf
sudo apk add libgsf-langlibgsf 1.14.58-1.fc45
GNOME Structured File library
https://gitlab.gnome.org/GNOME/libgsf/
sudo dnf install libgsfsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.