# Install libgig with Homebrew, apt, MacPorts, Nix, pacman, zypper

Library for Gigasampler and DLS (Downloadable Sounds) Level 1/2 files. Version 4.5.2 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libgig
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libgig
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:libgig
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libgig>
- **Version:** 4.5.2
- **Source summary:** Library for Gigasampler and DLS (Downloadable Sounds) Level 1/2 files
- **Homepage:** <https://www.linuxsampler.org/libgig/>
- **Repository:** <https://svn.linuxsampler.org/svn/libgig/trunk>
- **Upstream docs:** <https://download.linuxsampler.org/doc/libgig/html>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://download.linuxsampler.org/packages/libgig-4.5.2.tar.bz2>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- 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 (alias)
- akaiextract (alias)
- dlsdump (alias)
- gig2mono (alias)
- gig2stereo (alias)
- gigdump (alias)
- gigextract (alias)
- gigmerge (alias)
- korg2gig (alias)
- korgdump (alias)
- rifftree (alias)
- sf2dump (alias)
- sf2extract (alias)
- wav2gig (alias)

## Dependencies

- libsndfile

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.5.2
- Local data: ok
- Upstream repository: https://www.linuxsampler.org/libgig/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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/>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libsndfile](https://www.automicvault.com/pkg/brew/libsndfile/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dirt](https://www.automicvault.com/pkg/brew/dirt/) - Shares av.db curated category or tags: audio, cli, media, sampler.
- [fluid-synth](https://www.automicvault.com/pkg/brew/fluid-synth/) - Shares av.db curated category or tags: audio, cli, media, soundfont.
- [abcde](https://www.automicvault.com/pkg/brew/abcde/) - Shares av.db curated category or tags: audio, cli, media.
- [adplay](https://www.automicvault.com/pkg/brew/adplay/) - Shares av.db curated category or tags: audio, cli, media.
- [adplug](https://www.automicvault.com/pkg/brew/adplug/) - Shares av.db curated category or tags: audio, cli, media.
- [aften](https://www.automicvault.com/pkg/brew/aften/) - Shares av.db curated category or tags: audio, cli, media.
- [alsa-lib](https://www.automicvault.com/pkg/brew/alsa-lib/) - Shares av.db curated category or tags: audio, cli, media.
- [bandcamp-dl](https://www.automicvault.com/pkg/brew/bandcamp-dl/) - Shares av.db curated category or tags: audio, cli, media.
- [libopenmpt](https://www.automicvault.com/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)


## Sources

- 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
