How To Install SDL_sound on Fedora 34

SDL_sound is Library handling decoding of several popular sound file formats Library handling decoding of several popular sound file formats

Introduction

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

What is SDL_sound

SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .OGG. It is meant to make the programmer’s sound playback tasks simpler. The programmer gives SDL_sound a filename, or feeds it data directly from one of many sources, and then reads the decoded waveform data back at her leisure. If resource constraints are a concern, SDL_sound can process sound data in programmer-specified blocks. Alternately, SDL_sound can decode a whole sound file and hand back a single pointer to the whole waveform. SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly and behind-the-scenes, if the programmer desires. SDL_sound 1.0.3 27.fc34 x86_64 113 k SDL_sound-1.0.3-27.fc34.src.rpm fedora Library handling decoding of several popular sound file formats http LGPLv2+ SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .OGG. It is meant to make the programmer’s sound playback tasks simpler. The programmer gives SDL_sound a filename, or feeds it data directly from one of many sources, and then reads the decoded waveform data back at her leisure. If resource constraints are a concern, SDL_sound can process sound data in programmer-specified blocks. Alternately, SDL_sound can decode a whole sound file and hand back a single pointer to the whole waveform. SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly and behind-the-scenes, if the programmer desires.

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

Install SDL_sound 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 SDL_sound using dnf by running the following command:

sudo dnf -y install SDL_sound

Install SDL_sound 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 SDL_sound using yum by running the following command:

sudo yum -y install SDL_sound

How To Uninstall SDL_sound on Fedora 34

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

sudo dnf remove SDL_sound

SDL_sound Package Contents on Fedora 34

/usr/bin/playsound
/usr/bin/playsound_simple
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/b15aa0df90332decb3586de38d460368e31783
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/50cc9febc7541d9cc46d31c9d7e75b7567db62
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/7331e809f1731bb5362523d793f561234f6e87
/usr/lib/libSDL_sound-1.0.so.1
/usr/lib/libSDL_sound-1.0.so.1.0.2
/usr/share/doc/SDL_sound
/usr/share/doc/SDL_sound/README
/usr/share/doc/SDL_sound/TODO
/usr/share/licenses/SDL_sound
/usr/share/licenses/SDL_sound/COPYING
/usr/bin/playsound
/usr/bin/playsound_simple
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/6050fbdd14e92a07a3c0e1f69b72763d30f90c
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/befdac70e19baac2ad3b7809fc6e4e7117b4fc
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/a9a401d2bf97cf331808bc8e462795475cbd74
/usr/lib64/libSDL_sound-1.0.so.1
/usr/lib64/libSDL_sound-1.0.so.1.0.2
/usr/share/doc/SDL_sound
/usr/share/doc/SDL_sound/README
/usr/share/doc/SDL_sound/TODO
/usr/share/licenses/SDL_sound
/usr/share/licenses/SDL_sound/COPYING

References

Summary

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