How To Install codec2-devel on Rocky Linux 8

In this tutorial we learn how to install codec2-devel on Rocky Linux 8. codec2-devel is Development files for Codec 2

Introduction

In this tutorial we learn how to install codec2-devel on Rocky Linux 8.

What is codec2-devel

Codec 2 is an open source (LGPL licensed) speech codec for 2400 bit/s and below. This package contains the development files required to compile programs that use codec2.

We can use yum or dnf to install codec2-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install codec2-devel.

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

sudo dnf -y install codec2-devel

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

sudo yum -y install codec2-devel

How To Uninstall codec2-devel on Rocky Linux 8

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

sudo dnf remove codec2-devel

codec2-devel Package Contents on Rocky Linux 8

/usr/bin/c2dec
/usr/bin/c2demo
/usr/bin/c2enc
/usr/bin/c2sim
/usr/bin/drs232
/usr/bin/drs232_ldpc
/usr/bin/fdmdv_demod
/usr/bin/fdmdv_get_test_bits
/usr/bin/fdmdv_interleave
/usr/bin/fdmdv_mod
/usr/bin/fdmdv_put_test_bits
/usr/bin/fec_dec
/usr/bin/fec_enc
/usr/bin/fm_demod
/usr/bin/fsk_mod
/usr/bin/insert_errors
/usr/include/codec2
/usr/include/codec2/codec2.h
/usr/include/codec2/codec2_cohpsk.h
/usr/include/codec2/codec2_fdmdv.h
/usr/include/codec2/codec2_fifo.h
/usr/include/codec2/codec2_fm.h
/usr/include/codec2/codec2_ofdm.h
/usr/include/codec2/comp.h
/usr/include/codec2/comp_prim.h
/usr/include/codec2/freedv_api.h
/usr/include/codec2/freedv_api_internal.h
/usr/include/codec2/fsk.h
/usr/include/codec2/golay23.h
/usr/include/codec2/kiss_fft.h
/usr/include/codec2/modem_stats.h
/usr/include/codec2/varicode.h
/usr/include/codec2/version.h
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/b1f8be353677dcb5515bb1d673f9a30e89d2dd
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/528fd1b09aaf6d074a2e1a097318339b5ff890
/usr/lib/.build-id/1b/eb6964dcde4ab880f14173e2419be7f7d7e01a
/usr/lib/.build-id/21
/usr/lib/.build-id/21/9ff52fdd2d232f1f42c35a40ccaa741b7f4724
/usr/lib/.build-id/28
/usr/lib/.build-id/28/5ec4597f6854853a74243daf1c040b55516d1d
/usr/lib/.build-id/41
/usr/lib/.build-id/41/6ce13f0e0461c95aa5c2e011fc8230a16779f0
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/3e73f68a799d2b08ba2c07b2ba4c4299f13221
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/8793e4374e971715e33fdc2863a00206738226
/usr/lib/.build-id/89
/usr/lib/.build-id/89/b3f60ec4869ef4de3acd18cd17b65980af6e03
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/4a220b104adb35e51be1543361e8d76ad929ee
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/e91154e67fd1dc74848f7b27e120de98e8a9e1
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/d6083ec872b904e10129fbf30023062d90d0e8
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/9b075bb41cad815ce4b51e7dd7cf8613e31453
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/0a8d072bc75c3b6fe8b86eb8f5205a670d39fc
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/09ad58db0ad8dd818493ad0f1fe5e8b39c477d
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/51e03d955acb5d2f69cc667529e38ab510d8d3
/usr/lib64/libcodec2.so
/usr/lib64/pkgconfig/codec2.pc

References

Summary

In this tutorial we learn how to install codec2-devel on Rocky Linux 8 using yum and dnf.