How To Install libasync on Fedora 34

libasync is Svxlink async libs Svxlink async libs

Introduction

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

What is libasync

The Async library is a programming framework that is used to write event driven applications. It provides abstractions for file descriptor watches, timers, network communications, serial port communications and config file reading. Async is written in such a way that it can support other frameworks. Right now there are two basic frameworks, a simple “select” based implementation and a Qt implementation. The idea is that advanced libraries can be implemented in such a way that they only depend on Async. That means that these libraries can be used in both Qt and pure console applications and in any future frameworks supported by Async (e.g. Gtk, wxWidgets etc). Another big part of Async is the audio pipe framework. It is an audio handling framework that is geared towards single channel (mono) audio applications. The framework consists of a large number of audio handling classes such as audio i/o, filtering, mixing, audio codecs etc. libasync 2 1.5.0 9.fc34 x86_64 210 k svxlink-17.12.2-9.fc34.src.rpm fedora Svxlink async libs http GPLv2+ The Async library is a programming framework that is used to write event driven applications. It provides abstractions for file descriptor watches, timers, network communications, serial port communications and config file reading. Async is written in such a way that it can support other frameworks. Right now there are two basic frameworks, a simple “select” based implementation and a Qt implementation. The idea is that advanced libraries can be implemented in such a way that they only depend on Async. That means that these libraries can be used in both Qt and pure console applications and in any future frameworks supported by Async (e.g. Gtk, wxWidgets etc). Another big part of Async is the audio pipe framework. It is an audio handling framework that is geared towards single channel (mono) audio applications. The framework consists of a large number of audio handling classes such as audio i/o, filtering, mixing, audio codecs etc.

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

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

sudo dnf -y install libasync

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

sudo yum -y install libasync

How To Uninstall libasync on Fedora 34

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

sudo dnf remove libasync

libasync Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/08d728f2012c7880ff2b2e61f64bd0cad5cb02
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/fb995b3558f9bc0435c835ac824cadd50de6ce
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/0c85ed8f4512b85f8aef23fc82a3f0ca721b7d
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/6356049a1ea7e4d4d68261f46c7e4789c2f92c
/usr/lib/libasyncaudio.so.1.5
/usr/lib/libasyncaudio.so.1.5.0
/usr/lib/libasynccore.so.1.5
/usr/lib/libasynccore.so.1.5.0
/usr/lib/libasynccpp.so.1.5
/usr/lib/libasynccpp.so.1.5.0
/usr/lib/libasyncqt.so.1.5
/usr/lib/libasyncqt.so.1.5.0
/usr/share/doc/libasync
/usr/share/doc/libasync/COPYRIGHT
/usr/share/doc/libasync/ChangeLog
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/b81ba7d8eb890625d75fe754e0802cde7d0010
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/9c7c176765071594d3e30de4e4ca3c81927e81
/usr/lib/.build-id/de
/usr/lib/.build-id/de/dac0515a20ce397ea1399f31334ce5d0d369de
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/f7cff0f3ab81d929d4680201891c72aaafe350
/usr/lib64/libasyncaudio.so.1.5
/usr/lib64/libasyncaudio.so.1.5.0
/usr/lib64/libasynccore.so.1.5
/usr/lib64/libasynccore.so.1.5.0
/usr/lib64/libasynccpp.so.1.5
/usr/lib64/libasynccpp.so.1.5.0
/usr/lib64/libasyncqt.so.1.5
/usr/lib64/libasyncqt.so.1.5.0
/usr/share/doc/libasync
/usr/share/doc/libasync/COPYRIGHT
/usr/share/doc/libasync/ChangeLog

References

Summary

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