How To Install portaudio on AlmaLinux 8

In this tutorial we learn how to install portaudio in AlmaLinux 8. portaudio is Free, cross platform, open-source, audio I/O library

Introduction

In this tutorial we learn how to install portaudio on AlmaLinux 8.

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.

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

Install portaudio on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install portaudio

Install portaudio on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 AlmaLinux 8

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

sudo dnf remove portaudio

References

Summary

In this tutorial we learn how to install portaudio on AlmaLinux 8 using yum and dnf.