How To Install portaudio on Rocky Linux 8
Introduction
In this tutorial we learn how to install portaudio on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install portaudio.
Install portaudio on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the portaudio package we can use the following command:
sudo dnf remove portaudio
portaudio Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/6cda2f1a51f9e15449be28491b43928abe4e7a
/usr/lib/.build-id/59
/usr/lib/.build-id/59/b3a855816063f27feaa16351c1937a031c2fb2
/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
References
Summary
In this tutorial we learn how to install portaudio on Rocky Linux 8 using yum and dnf.