How To Install portaudio on Fedora 34

portaudio is Free, cross platform, open-source, audio I/O library Free, cross platform, open-source, audio I/O library

Introduction

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

What is portaudio

PortAudio is a portable audio I/O library designed for cross-platform support of audio. It uses a callback mechanism to request audio processing. Audio can be generated in various formats, including 32 bit floating point, and will be converted to the native format internally. portaudio 19 34.fc34 x86_64 95 k portaudio-19-34.fc34.src.rpm fedora Free, cross platform, open-source, audio I/O library http MIT PortAudio is a portable audio I/O library designed for cross-platform support of audio. It uses a callback mechanism to request audio processing. Audio can be generated in various formats, including 32 bit floating point, and will be converted to the native format internally.

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

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

sudo dnf -y install portaudio

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

sudo yum -y install portaudio

How To Uninstall portaudio on Fedora 34

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

sudo dnf remove portaudio

portaudio Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/93150a15b1ec96d602b635bf334dc29650dd76
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/7e240ffc2d89a4f8337a1f52633749208f6cb8
/usr/lib64/libportaudio.so.2
/usr/lib64/libportaudio.so.2.0.0
/usr/lib64/libportaudiocpp.so.0
/usr/lib64/libportaudiocpp.so.0.0.12
/usr/share/doc/portaudio
/usr/share/doc/portaudio/README.txt
/usr/share/licenses/portaudio
/usr/share/licenses/portaudio/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/0f2bd9f6b4cc805080d8f0e455a9ee73eca2b4
/usr/lib/.build-id/58
/usr/lib/.build-id/58/7a212c6c9786e972b275121b831dc54d0f87c7
/usr/lib/libportaudio.so.2
/usr/lib/libportaudio.so.2.0.0
/usr/lib/libportaudiocpp.so.0
/usr/lib/libportaudiocpp.so.0.0.12
/usr/share/doc/portaudio
/usr/share/doc/portaudio/README.txt
/usr/share/licenses/portaudio
/usr/share/licenses/portaudio/LICENSE.txt

References

Summary

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