# 使用 Homebrew, apt, MacPorts, Nix, pacman, zypper 安装 libgig

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

## 安装

```sh
sudo av install brew:libgig
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libgig
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libgig
```

  证据: MacPorts ports tree: audio/libgig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install gigtools
```

  证据: Debian stable package indexes: gigtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#libgig
```

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

- pacman (92%):

```sh
sudo pacman -S libgig
```

  证据: Arch Linux sync databases: libgig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libakai0
```

  证据: openSUSE Tumbleweed package metadata: libakai0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libgig
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libgig>
- **版本:** 4.5.2
- **来源摘要:** Library for Gigasampler and DLS (Downloadable Sounds) Level 1/2 files
- **主页:** <https://www.linuxsampler.org/libgig/>
- **仓库:** <https://svn.linuxsampler.org/svn/libgig/trunk>
- **上游文档:** <https://download.linuxsampler.org/doc/libgig/html>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://download.linuxsampler.org/packages/libgig-4.5.2.tar.bz2>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- akaidump (cli)
- akaiextract (cli)
- dlsdump (cli)
- gig2mono (cli)
- gig2stereo (cli)
- gigdump (cli)
- gigextract (cli)
- gigmerge (cli)
- korg2gig (cli)
- korgdump (cli)
- rifftree (cli)
- sf2dump (cli)
- sf2extract (cli)
- wav2gig (cli)
- akaidump (别名)
- akaiextract (别名)
- dlsdump (别名)
- gig2mono (别名)
- gig2stereo (别名)
- gigdump (别名)
- gigextract (别名)
- gigmerge (别名)
- korg2gig (别名)
- korgdump (别名)
- rifftree (别名)
- sf2dump (别名)
- sf2extract (别名)
- wav2gig (别名)

## 依赖

- libsndfile

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.5.2
- 本地数据: OK
- 上游仓库: https://www.linuxsampler.org/libgig/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

libgig is the LinuxSampler project's C++ library for GigaSampler/GigaStudio .gig files and related sampler formats. It packages the unglamorous but essential file-format work behind LinuxSampler, gigedit, and command-line sample-library inspection and conversion tools.

### 项目历史

The LinuxSampler project page says libgig was written by Christian Schoenebeck and released as source under the GPL, with AKAI classes under the LGPL. The release list reaches back to libgig 0.6.0 on 20 December 2003 and shows a 1.0.0 release on 26 November 2004.

Over time libgig expanded beyond GigaSampler/GigaStudio and DLS Level 1/2 files to include KORG sample-based instruments, SoundFont v2 files, and AKAI sampler data. The same page records platform evolution: POSIX-oriented development, Windows support since 3.1.1, file resizing work since 3.0.0, and C++11 plus UUID requirements since 4.3.0.

### 采用历史

libgig's adoption is bound to the LinuxSampler suite. The LinuxSampler downloads page places libgig as a mandatory dependency for LinuxSampler and gigedit, and the libgig page names qsampler-related metadata use and third-party access to GigaSampler files.

Package managers often expose the command-line tools under names such as gigtools, making libgig useful even outside the full sampler stack for dumping, extracting, merging, and converting sampler-file data.

### 使用方式

Users use libgig directly as a library or indirectly through tools such as gigdump, gigextract, gigmerge, gig2mono, gig2stereo, korgdump, korg2gig, sf2dump, sf2extract, akaidump, akaiextract, dlsdump, and rifftree.

The project is especially useful around legacy and proprietary sampler media, where preserving, inspecting, or converting instrument libraries matters more than creating new audio synthesis code.

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

libgig is a good example of a package that exists because file formats outlive products. GigaSampler and GigaStudio-era sample libraries remain useful, and libgig gives free-software audio stacks a maintained way to read and manipulate them.

For packagers, it is part of a small LinuxSampler constellation: libgig below LinuxSampler and gigedit, with qsampler and JSampler as frontends around the sampler engine.

### 时间线

- 2003: libgig 0.6.0 source package released on 20 December 2003.
- 2004: libgig 1.0.0 released on 26 November 2004.
- 2006: libgig 3.0.0 released, with later documentation noting file-resizing implementation changes from this line.
- 2007: libgig 3.1.1 released, with project documentation noting Windows support since this release.
- 2015: libgig 4.0.0 released.
- 2021: libgig 4.3.0 released, requiring a C++11 compiler and an OS-provided UUID function.
- 2025: libgig 4.5.2 source package listed with a 17 December 2025 timestamp.

### Related projects

- LinuxSampler is the main consuming sampler engine. gigedit edits .gig instruments, qsampler and JSampler are frontends in the same suite, and liblscp provides LinuxSampler Control Protocol support.

### 来源

- <https://download.linuxsampler.org/doc/libgig/html>
- <https://formulae.brew.sh/formula/libgig>
- <https://svn.linuxsampler.org/svn/libgig/trunk>
- <https://www.linuxsampler.org/downloads.html>
- <https://www.linuxsampler.org/libgig/>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libgig
- **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 - gigtools - 4.4.1-1+b1: normalized package name match | Debian stable package indexes: gigtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line tools for Gigasampler and DLS Level 1/2 files | https://www.linuxsampler.org/libgig/
- Debian apt - libakai0t64 - 4.4.1-1+b1: normalized package name match | Debian stable package indexes: libakai0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for loading and modifying akai files | https://www.linuxsampler.org/libgig/
- Debian apt - libgig-dev - 4.4.1-1+b1: normalized package name match | Debian stable package indexes: libgig-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for libgig | https://www.linuxsampler.org/libgig/
- Debian apt - libgig-doc - 4.4.1-1: normalized package name match | Debian stable package indexes: libgig-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | HTML documentation for libgig | https://www.linuxsampler.org/libgig/
- Debian apt - libgig10t64 - 4.4.1-1+b1: normalized package name match | Debian stable package indexes: libgig10t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for loading and modifying Gigasampler and DLS files | https://www.linuxsampler.org/libgig/
- Nix - libgig: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libgig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gigtools - 4.3.0~ds1-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gigtools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line tools for Gigasampler and DLS Level 1/2 files | https://www.linuxsampler.org/libgig/
- Ubuntu apt - libakai0t64 - 4.3.0~ds1-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libakai0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for loading and modifying akai files | https://www.linuxsampler.org/libgig/
- Ubuntu apt - libgig-dev - 4.3.0~ds1-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgig-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for libgig | https://www.linuxsampler.org/libgig/
- Ubuntu apt - libgig-doc - 4.3.0~ds1-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgig-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | HTML documentation for libgig | https://www.linuxsampler.org/libgig/
- Ubuntu apt - libgig10t64 - 4.3.0~ds1-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgig10t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for loading and modifying Gigasampler and DLS files | https://www.linuxsampler.org/libgig/
- pacman - libgig - 4.5.2-1: normalized package name match | Arch Linux sync databases: libgig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C++ library for loading, modifying and creating .gig, .ksf, .kmp, .sf2 and DLS files | https://www.linuxsampler.org/libgig/
- zypper - libakai0 - 4.5.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libakai0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for accessing AKAI disk images | https://linuxsampler.org/
- zypper - libgig-devel - 4.5.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libgig-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for loading Gigasampler and DLS Level 1/2 files | https://linuxsampler.org/
- zypper - libgig-tools - 4.5.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libgig-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Example applications for libgig | https://linuxsampler.org/
- zypper - libgig13 - 4.5.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libgig13 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for loading Gigasampler and DLS Level 1/2 files | https://linuxsampler.org/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libsndfile](https://www.automicvault.com/zh-hans/pkg/brew/libsndfile/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dirt](https://www.automicvault.com/zh-hans/pkg/brew/dirt/) - Shares av.db curated category or tags: audio, cli, media, sampler.
- [fluid-synth](https://www.automicvault.com/zh-hans/pkg/brew/fluid-synth/) - Shares av.db curated category or tags: audio, cli, media, soundfont.
- [abcde](https://www.automicvault.com/zh-hans/pkg/brew/abcde/) - Shares av.db curated category or tags: audio, cli, media.
- [adplay](https://www.automicvault.com/zh-hans/pkg/brew/adplay/) - Shares av.db curated category or tags: audio, cli, media.
- [adplug](https://www.automicvault.com/zh-hans/pkg/brew/adplug/) - Shares av.db curated category or tags: audio, cli, media.
- [aften](https://www.automicvault.com/zh-hans/pkg/brew/aften/) - Shares av.db curated category or tags: audio, cli, media.
- [alsa-lib](https://www.automicvault.com/zh-hans/pkg/brew/alsa-lib/) - Shares av.db curated category or tags: audio, cli, media.
- [bandcamp-dl](https://www.automicvault.com/zh-hans/pkg/brew/bandcamp-dl/) - Shares av.db curated category or tags: audio, cli, media.
- [libopenmpt](https://www.automicvault.com/zh-hans/pkg/brew/libopenmpt/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, files, libsndfile, media.

## Combined YAML source

View the package source record on GitHub. [combined/libgig.yml](https://github.com/automic-vault/db/blob/main/combined/libgig.yml)


## 来源

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