How To Install libao on Fedora 34

libao is Cross Platform Audio Output Library Cross Platform Audio Output Library

Introduction

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

What is libao

Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms. libao 1.2.0 20.fc34 x86_64 54 k libao-1.2.0-20.fc34.src.rpm fedora Cross Platform Audio Output Library http GPLv2+ Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms.

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

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

sudo dnf -y install libao

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

sudo yum -y install libao

How To Uninstall libao on Fedora 34

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

sudo dnf remove libao

libao Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/c17feef9301ea5796ad5bd6bff7d395b560610
/usr/lib/.build-id/38
/usr/lib/.build-id/38/981f38e5f5a409f2e9721942b9b14d4014995f
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/30f47ba54582d0a6e7e6fb22871577a1d19ac5
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/4af73cd6baa933c55dbcc6c05e3a369b07efbf
/usr/lib/ao
/usr/lib/ao/plugins-4
/usr/lib/ao/plugins-4/libalsa.so
/usr/lib/ao/plugins-4/liboss.so
/usr/lib/ao/plugins-4/libpulse.so
/usr/lib/libao.so.4
/usr/lib/libao.so.4.1.0
/usr/share/doc/libao
/usr/share/doc/libao/AUTHORS
/usr/share/doc/libao/CHANGES
/usr/share/doc/libao/COPYING
/usr/share/doc/libao/README
/usr/share/man/man5/libao.conf.5.gz
/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/d82588c121a66c7818ebcae0cebc7da19cc597
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/a7f30f40b1e614b2b4779a67ed6954c8556e3c
/usr/lib/.build-id/7a/c8578cdfb68a66341dbd29d27b464733ee2096
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/e527475a57c9c14f5a90be9dd682e03681e1f8
/usr/lib64/ao
/usr/lib64/ao/plugins-4
/usr/lib64/ao/plugins-4/libalsa.so
/usr/lib64/ao/plugins-4/liboss.so
/usr/lib64/ao/plugins-4/libpulse.so
/usr/lib64/libao.so.4
/usr/lib64/libao.so.4.1.0
/usr/share/doc/libao
/usr/share/doc/libao/AUTHORS
/usr/share/doc/libao/CHANGES
/usr/share/doc/libao/COPYING
/usr/share/doc/libao/README
/usr/share/man/man5/libao.conf.5.gz

References

Summary

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