How To Install codec2 on Fedora 34

codec2 is Next-Generation Digital Voice for Two-Way Radio Next-Generation Digital Voice for Two-Way Radio

Introduction

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

What is codec2

Codec 2 is an open source (LGPL licensed) speech codec for 2400 bit/s and below. This is the runtime library package. codec2 0.9.2 7.fc34 x86_64 347 k codec2-0.9.2-7.fc34.src.rpm fedora Next-Generation Digital Voice for Two-Way Radio http LGPLv2 Codec 2 is an open source (LGPL licensed) speech codec for 2400 bit/s and below. This is the runtime library package.

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

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

sudo dnf -y install codec2

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

sudo yum -y install codec2

How To Uninstall codec2 on Fedora 34

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

sudo dnf remove codec2

codec2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/c43a87f97970e34e6a71f4fc4a9865312dfecc
/usr/lib/libcodec2.so.0.9
/usr/share/doc/codec2
/usr/share/doc/codec2/README.md
/usr/share/licenses/codec2
/usr/share/licenses/codec2/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/f86202fab957d021e51dded25ddf5768cb5fbc
/usr/lib64/libcodec2.so.0.9
/usr/share/doc/codec2
/usr/share/doc/codec2/README.md
/usr/share/licenses/codec2
/usr/share/licenses/codec2/COPYING

References

Summary

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