How To Install hamlib-devel on Rocky Linux 8

In this tutorial we learn how to install hamlib-devel on Rocky Linux 8. hamlib-devel is Development library to control radio transceivers and receivers

Introduction

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

What is hamlib-devel

Hamlib radio control library C development headers and libraries for building C applications with Hamlib.

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

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

sudo dnf -y install hamlib-devel

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

sudo yum -y install hamlib-devel

How To Uninstall hamlib-devel on Rocky Linux 8

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

sudo dnf remove hamlib-devel

hamlib-devel Package Contents on Rocky Linux 8

/usr/include/hamlib
/usr/include/hamlib/ampclass.h
/usr/include/hamlib/amplifier.h
/usr/include/hamlib/amplist.h
/usr/include/hamlib/rig.h
/usr/include/hamlib/rig_dll.h
/usr/include/hamlib/riglist.h
/usr/include/hamlib/rotator.h
/usr/include/hamlib/rotlist.h
/usr/lib64/libhamlib.so
/usr/lib64/pkgconfig/hamlib.pc
/usr/lib64/tcl8.6/Hamlib/hamlibtcl.so
/usr/share/aclocal/hamlib.m4
/usr/share/doc/hamlib-devel
/usr/share/doc/hamlib-devel/README.developer

References

Summary

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