How To Install python3-hamlib on Rocky Linux 8

In this tutorial we learn how to install python3-hamlib on Rocky Linux 8. python3-hamlib is Hamlib radio control library Python binding

Introduction

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

What is python3-hamlib

Hamlib Python Language bindings to allow radio control from Python scripts.

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

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

sudo dnf -y install python3-hamlib

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

sudo yum -y install python3-hamlib

How To Uninstall python3-hamlib on Rocky Linux 8

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

sudo dnf remove python3-hamlib

python3-hamlib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/9aaafe26aebbbc8523e0115a43977fea121fcb
/usr/lib64/python3.6/site-packages/Hamlib.py
/usr/lib64/python3.6/site-packages/_Hamlib.so
/usr/lib64/python3.6/site-packages/__pycache__/Hamlib.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/Hamlib.cpython-36.pyc

References

Summary

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