How To Install stk on Fedora 34

stk is Synthesis ToolKit in C++

Introduction

In this tutorial we learn how to install stk on Fedora 34.

What is stk

The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language. STK was designed to facilitate rapid development of music synthesis and audio processing software, with an emphasis on cross-platform functionality, realtime control, ease of use, and educational example code. The Synthesis ToolKit is extremely portable (it’s mostly platform-independent C and C++ code), and it’s completely user-extensible (all source included, no unusual libraries, and no hidden drivers). We like to think that this increases the chances that our programs will still work in another 5-10 years. In fact, the ToolKit has been working continuously for about 10 years now. STK currently runs with realtime support (audio and MIDI) on Linux, Macintosh OS X, and Windows computer platforms. Generic, non-realtime support has been tested under NeXTStep, Sun, and other platforms and should work with any standard C++ compiler.

We can use yum or dnf to install stk on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install stk.

Install stk on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install stk using dnf by running the following command:

sudo dnf -y install stk

Install stk on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install stk using yum by running the following command:

sudo yum -y install stk

How To Uninstall stk on Fedora 34

To uninstall only the stk package we can use the following command:

sudo dnf remove stk

stk Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/fa6138e7c8e96dd5238ebbfed0736ae9536107
/usr/lib64/libstk-4.6.1.so
/usr/share/doc/stk
/usr/share/doc/stk/README.md
/usr/share/stk
/usr/share/stk/rawwaves
/usr/share/stk/rawwaves/ahh.raw
/usr/share/stk/rawwaves/bassdrum.raw
/usr/share/stk/rawwaves/britestk.raw
/usr/share/stk/rawwaves/cowbell1.raw
/usr/share/stk/rawwaves/crashcym.raw
/usr/share/stk/rawwaves/dope.raw
/usr/share/stk/rawwaves/eee.raw
/usr/share/stk/rawwaves/fwavblnk.raw
/usr/share/stk/rawwaves/halfwave.raw
/usr/share/stk/rawwaves/hihatcym.raw
/usr/share/stk/rawwaves/impuls10.raw
/usr/share/stk/rawwaves/impuls20.raw
/usr/share/stk/rawwaves/impuls40.raw
/usr/share/stk/rawwaves/mand1.raw
/usr/share/stk/rawwaves/mand10.raw
/usr/share/stk/rawwaves/mand11.raw
/usr/share/stk/rawwaves/mand12.raw
/usr/share/stk/rawwaves/mand2.raw
/usr/share/stk/rawwaves/mand3.raw
/usr/share/stk/rawwaves/mand4.raw
/usr/share/stk/rawwaves/mand5.raw
/usr/share/stk/rawwaves/mand6.raw
/usr/share/stk/rawwaves/mand7.raw
/usr/share/stk/rawwaves/mand8.raw
/usr/share/stk/rawwaves/mand9.raw
/usr/share/stk/rawwaves/mandpluk.raw
/usr/share/stk/rawwaves/marmstk1.raw
/usr/share/stk/rawwaves/ooo.raw
/usr/share/stk/rawwaves/peksblnk.raw
/usr/share/stk/rawwaves/ppksblnk.raw
/usr/share/stk/rawwaves/ridecymb.raw
/usr/share/stk/rawwaves/silence.raw
/usr/share/stk/rawwaves/sineblnk.raw
/usr/share/stk/rawwaves/sinewave.raw
/usr/share/stk/rawwaves/snardrum.raw
/usr/share/stk/rawwaves/snglpeak.raw
/usr/share/stk/rawwaves/tambourn.raw
/usr/share/stk/rawwaves/tomhidrm.raw
/usr/share/stk/rawwaves/tomlowdr.raw
/usr/share/stk/rawwaves/tommiddr.raw
/usr/share/stk/rawwaves/twopeaks.raw

References

Summary

In this tutorial we learn how to install stk on Fedora 34 using yum and dnf.