# Install stk with Homebrew, apt, dnf, MacPorts, pacman, zypper

Sound Synthesis Toolkit. Version 5.0.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:stk
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stk
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stk
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install libstk-5.0.0
```

  Evidence: Debian stable package indexes: libstk-5.0.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install stk
```

  Evidence: Fedora Rawhide package metadata: stk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S stk
```

  Evidence: Arch Linux sync databases: stk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install libstk-4.6.2
```

  Evidence: Ubuntu 24.04 LTS package indexes: libstk-4.6.2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install libstk4.6.2
```

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

## Package facts

- **Package key:** brew:stk
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stk>
- **Version:** 5.0.1
- **Source summary:** Sound Synthesis Toolkit
- **Homepage:** <https://ccrma.stanford.edu/software/stk/>
- **Repository:** <https://github.com/thestk/stk>
- **Upstream docs:** <https://ccrma.stanford.edu/software/stk>
- **License:** MIT
- **Source archive:** <https://ccrma.stanford.edu/software/stk/release/stk-5.0.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- treesed (cli)
- treesed (alias)

## Build dependencies

- autoconf
- automake

## Install behavior

- Post-install hook: not defined
- Caveats: The header files have been put in a standard search path, it is possible to use an include statement in programs as follows: #include "stk/FileLoop.h" #include "stk/FileWvOut.h" src/ projects/ and rawwaves/ have all been copied to $HOMEBREW_PREFIX/opt/stk/share/stk
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.0.1
- Local data: ok
- Upstream repository: https://ccrma.stanford.edu/software/stk/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

The Synthesis ToolKit in C++ is an open source set of audio signal-processing and algorithmic-synthesis classes by Perry R. Cook and Gary P. Scavone. It is less a single end-user CLI than a portable audio-programming toolkit that package managers carry for developers, researchers, and music-software builders.

### Project history

The official README credits Cook and Scavone and dates STK to 1995-2023. It says STK was designed for rapid development of music synthesis and audio-processing software, with emphasis on cross-platform functionality, realtime control, ease of use, and educational examples.

### Adoption history

STK's README notes that it has existed in one form or another since 1996 and supports Linux, Macintosh OS X, and Windows for realtime audio and MIDI, with generic non-realtime builds on other C++ platforms. The GitHub project mirrors that academic and cross-platform history into a form modern package managers can fetch and build.

### How it is used

Users consume STK as headers, source, raw waves, documentation, and example programs. It can generate AU, WAV, AIFF, raw, and MAT-file output and can be driven by MIDI, Tcl/Tk GUI scripts, or SKINI control messages.

### Why package nerds care

Package maintainers care about STK because it is a compact, source-available C++ audio toolkit with examples, docs, and platform-specific build paths. It bridges older computer-music research culture and contemporary Unix package distribution.

### Timeline

- 1995: Official README credits STK to Perry R. Cook and Gary P. Scavone beginning in 1995.
- 1996: Official README says STK has been available in one form or another since 1996.
- 2013: The thestk/stk GitHub repository was created.
- 2023: Official README credits the project span as 1995-2023.

### Related projects

- Tcl/Tk is used for simple GUI scripts in the official distribution.
- SKINI is STK's MIDI-like text-message synthesis control format.
- The CCRMA Stanford site is the official documentation surface named by the README.

### Sources

- <https://api.github.com/repos/thestk/stk>
- <https://ccrma.stanford.edu/software/stk>
- <https://github.com/thestk/stk#readme>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** stk
- **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 - libstk-5.0.0 - 5.0.1+dfsg-1+b1: normalized package name match | Debian stable package indexes: libstk-5.0.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Sound Synthesis Toolkit | https://ccrma.stanford.edu/software/stk/
- Debian apt - libstk-dev - 5.0.1+dfsg-1+b1: normalized package name match | Debian stable package indexes: libstk-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Sound Synthesis Toolkit (development files) | https://ccrma.stanford.edu/software/stk/
- Debian apt - stk - 5.0.1+dfsg-1+b1: normalized package name match | Debian stable package indexes: stk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Sound Synthesis Toolkit (example applications) | https://ccrma.stanford.edu/software/stk/
- Debian apt - stk-doc - 5.0.1+dfsg-1: normalized package name match | Debian stable package indexes: stk-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Sound Synthesis Toolkit (documentation) | https://ccrma.stanford.edu/software/stk/
- Ubuntu apt - libstk-4.6.2 - 4.6.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libstk-4.6.2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Sound Synthesis Toolkit | https://ccrma.stanford.edu/software/stk/
- Ubuntu apt - libstk-dev - 4.6.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libstk-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Sound Synthesis Toolkit (development files) | https://ccrma.stanford.edu/software/stk/
- Ubuntu apt - stk - 4.6.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: stk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Sound Synthesis Toolkit (example applications) | https://ccrma.stanford.edu/software/stk/
- Ubuntu apt - stk-doc - 4.6.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: stk-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Sound Synthesis Toolkit (documentation) | https://ccrma.stanford.edu/software/stk/
- dnf - stk - 4.6.1-12.fc44: normalized package name match | Fedora Rawhide package metadata: stk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Synthesis ToolKit in C++ | https://ccrma.stanford.edu/software/stk/
- dnf - stk-demo - 4.6.1-12.fc44: normalized package name match | Fedora Rawhide package metadata: stk-demo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Demo applications for stk | https://ccrma.stanford.edu/software/stk/
- dnf - stk-devel - 4.6.1-12.fc44: normalized package name match | Fedora Rawhide package metadata: stk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for stk | https://ccrma.stanford.edu/software/stk/
- pacman - stk - 5.0.1-4: normalized package name match | Arch Linux sync databases: stk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Synthesis ToolKit in C++ | https://ccrma.stanford.edu/software/stk/
- zypper - libstk4.6.2 - 4.6.2-1.11: normalized package name match | openSUSE Tumbleweed package metadata: libstk4.6.2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Synthesis ToolKit in C++ | https://ccrma.stanford.edu/software/stk/
- zypper - stk-data - 4.6.2-1.11: normalized package name match | openSUSE Tumbleweed package metadata: stk-data from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Data files for STK, a music synthesis library | https://ccrma.stanford.edu/software/stk/
- zypper - stk-devel - 4.6.2-1.11: normalized package name match | openSUSE Tumbleweed package metadata: stk-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for STK, a music synthesis library | https://ccrma.stanford.edu/software/stk/
- MacPorts - stk: normalized package name match | MacPorts ports tree: audio/stk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [csound](https://www.automicvault.com/pkg/brew/csound/) - Popular package that depends on this formula.
- [mpdscribble](https://www.automicvault.com/pkg/brew/mpdscribble/) - Shares av.db curated category or tags: audio, c-plus-plus, cli, media.
- [speech-tools](https://www.automicvault.com/pkg/brew/speech-tools/) - Shares av.db curated category or tags: audio, c-plus-plus, cli, media.
- [taglib](https://www.automicvault.com/pkg/brew/taglib/) - Shares av.db curated category or tags: audio, c-plus-plus, cli, media.
- [vamp-plugin-sdk](https://www.automicvault.com/pkg/brew/vamp-plugin-sdk/) - Shares av.db curated category or tags: audio, c-plus-plus, cli, media.
- [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.

## Combined YAML source

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