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

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

## インストール

```sh
sudo av install brew:gcab
```

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

### macOS

- Homebrew (100%):

```sh
brew install gcab
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gcab
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install gcab
```

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

- dnf (92%):

```sh
sudo dnf install gcab
```

  証拠: Fedora Rawhide package metadata: gcab from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gcab
```

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

- pacman (92%):

```sh
sudo pacman -S gcab
```

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

- zypper (92%):

```sh
sudo zypper install gcab
```

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

## パッケージ情報

- **パッケージキー:** brew:gcab
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gcab>
- **バージョン:** 1.6
- **ソース概要:** Windows installer (.MSI) tool
- **ホームページ:** <https://wiki.gnome.org/msitools>
- **上流ドキュメント:** <https://wiki.gnome.org/msitools>
- **ライセンス:** LGPL-2.1-or-later
- **ソースアーカイブ:** <https://download.gnome.org/sources/gcab/1.6/gcab-1.6.tar.xz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gcab (cli)
- gcab (エイリアス)

## 依存関係

- gettext
- glib

## ビルド依存関係

- gettext
- gobject-introspection
- meson
- ninja
- pkgconf
- vala

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.6
- ローカルデータ: OK
- 上流リポジトリ: https://wiki.gnome.org/msitools
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

gcab is a GNOME-hosted command-line tool and GObject library for creating Microsoft Cabinet files. In package-manager culture it is usually encountered near msitools, libgsf, Wine-derived Windows Installer tooling, and cross-platform packaging workflows.

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

The gcab repository describes GCab as a GObject library to create cabinet files. The broader GNOME msitools project describes its tool family as programs for inspecting and building Windows Installer files, based on libmsi, which in turn is a portable subset of Wine's Windows Installer implementation.

### 採用の歴史

Official GitLab tags show gcab releases from early 2013 through the 1.x series, with v1.0 tagged in January 2018 and v1.6 tagged in July 2023. That release pattern places gcab among the small infrastructure packages that desktop distributions carry because higher-level Windows packaging tools depend on them.

### 使われ方

The package provides the gcab command for cabinet archive work and the libgcab library interface. It is most relevant where Unix-like build systems need to assemble or inspect Windows installer-related artifacts without using native Windows tooling.

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

gcab matters to package maintainers because Cabinet files are a Windows packaging primitive, while GNOME's msitools stack makes those formats scriptable from Unix packaging pipelines. It is a small package, but it sits at the awkward boundary between Linux build systems and Windows installer formats.

### タイムライン

- 2013: Early gcab 0.x tags published in GNOME GitLab history.
- 2018: gcab v1.0 tagged.
- 2023: gcab v1.6 tagged.

### Related projects

- Related official GNOME projects include msitools and libgsf; msitools also documents its relationship to Wine's Windows Installer implementation and WiX-like tooling.

### ソース

- <https://gitlab.gnome.org/GNOME/gcab>
- <https://gitlab.gnome.org/GNOME/gcab/-/raw/master/README.md>
- <https://gitlab.gnome.org/GNOME/gcab/-/tags>
- <https://gitlab.gnome.org/GNOME/msitools>
- <https://gitlab.gnome.org/GNOME/msitools/-/raw/master/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gcab
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - gcab - 1.6-1+b3: normalized package name match | Debian stable package indexes: gcab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Microsoft Cabinet file manipulation tool | https://wiki.gnome.org/msitools
- Debian apt - gir1.2-gcab-1.0 - 1.6-1+b3: normalized package name match | Debian stable package indexes: gir1.2-gcab-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Microsoft Cabinet file manipulation library - gir bindings | https://wiki.gnome.org/msitools
- Debian apt - libgcab-1.0-0 - 1.6-1+b3: normalized package name match | Debian stable package indexes: libgcab-1.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Microsoft Cabinet file manipulation library | https://wiki.gnome.org/msitools
- Debian apt - libgcab-dev - 1.6-1+b3: normalized package name match | Debian stable package indexes: libgcab-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Microsoft Cabinet file manipulation library - development files | https://wiki.gnome.org/msitools
- Debian apt - libgcab-doc - 1.6-1: normalized package name match | Debian stable package indexes: libgcab-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Microsoft Cabinet file manipulation library - documentation | https://wiki.gnome.org/msitools
- Debian apt - libgcab-tests - 1.6-1+b3: normalized package name match | Debian stable package indexes: libgcab-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Microsoft Cabinet file manipulation library - as-installed tests | https://wiki.gnome.org/msitools
- Nix - gcab: normalized package name match | nixpkgs package indexes: pkgs/by-name/gc/gcab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gcab - 1.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gcab from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Microsoft Cabinet file manipulation tool | https://wiki.gnome.org/msitools
- Ubuntu apt - gir1.2-gcab-1.0 - 1.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-gcab-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Microsoft Cabinet file manipulation library - gir bindings | https://wiki.gnome.org/msitools
- Ubuntu apt - libgcab-1.0-0 - 1.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgcab-1.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Microsoft Cabinet file manipulation library | https://wiki.gnome.org/msitools
- Ubuntu apt - libgcab-dev - 1.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgcab-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Microsoft Cabinet file manipulation library - development files | https://wiki.gnome.org/msitools
- Ubuntu apt - libgcab-doc - 1.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgcab-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Microsoft Cabinet file manipulation library - documentation | https://wiki.gnome.org/msitools
- Ubuntu apt - libgcab-tests - 1.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgcab-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Microsoft Cabinet file manipulation library - as-installed tests | https://wiki.gnome.org/msitools
- dnf - gcab - 1.6-12.fc45: normalized package name match | Fedora Rawhide package metadata: gcab from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Cabinet file library and tool | http://ftp.gnome.org/pub/GNOME/sources/gcab
- dnf - libgcab1 - 1.6-12.fc45: normalized package name match | Fedora Rawhide package metadata: libgcab1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Library to create Cabinet archives | http://ftp.gnome.org/pub/GNOME/sources/gcab
- dnf - libgcab1-devel - 1.6-12.fc45: normalized package name match | Fedora Rawhide package metadata: libgcab1-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files to create Cabinet archives | http://ftp.gnome.org/pub/GNOME/sources/gcab


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [glib](https://pkg.so/ja/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/ja/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/ja/brew/meson/) - Build dependency declared by Homebrew.
- [msitools](https://pkg.so/ja/brew/msitools/) - Popular package that depends on this formula.
- [pango](https://pkg.so/ja/brew/pango/) - Shares pkgdb curated category or tags: cli, developer-tools, gnome.
- [libxml2](https://pkg.so/ja/brew/libxml2/) - Shares pkgdb curated category or tags: cli, developer-tools, gnome.
- [gobject-introspection](https://pkg.so/ja/brew/gobject-introspection/) - Shares pkgdb curated category or tags: cli, developer-tools, gnome.
- [gtk+3](https://pkg.so/ja/brew/gtk-3/) - Shares pkgdb curated category or tags: cli, developer-tools, gnome.
- [libxslt](https://pkg.so/ja/brew/libxslt/) - Shares pkgdb curated category or tags: cli, developer-tools, gnome.
- [gtk4](https://pkg.so/ja/brew/gtk4/) - Shares pkgdb curated category or tags: cli, developer-tools, gnome.
- [ghex](https://pkg.so/ja/brew/ghex/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gettext, glib.
- [gitg](https://pkg.so/ja/brew/gitg/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gettext, glib.

## Combined YAML source

View the package source record on GitHub. [combined/gcab.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gcab.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
