How To Install hamlib-c++-devel on Rocky Linux 8

In this tutorial we learn how to install hamlib-c++-devel on Rocky Linux 8. hamlib-c++-devel is Hamlib radio control library C++ binding development headers and libraries

Introduction

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

What is hamlib-c++-devel

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

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

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

sudo dnf -y install hamlib-c++-devel

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

sudo yum -y install hamlib-c++-devel

How To Uninstall hamlib-c++-devel on Rocky Linux 8

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

sudo dnf remove hamlib-c++-devel

hamlib-c++-devel Package Contents on Rocky Linux 8

/usr/include/hamlib/rigclass.h
/usr/include/hamlib/rotclass.h
/usr/lib64/libhamlib++.so

References

Summary

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