How To Install gpsd-libs on Rocky Linux 8

In this tutorial we learn how to install gpsd-libs on Rocky Linux 8. gpsd-libs is Client libraries in C for talking to a running gpsd or GPS

Introduction

In this tutorial we learn how to install gpsd-libs on Rocky Linux 8.

What is gpsd-libs

This package contains the gpsd libraries that manage access to a GPS for applications.

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

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

sudo dnf -y install gpsd-libs

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

sudo yum -y install gpsd-libs

How To Uninstall gpsd-libs on Rocky Linux 8

To uninstall only the gpsd-libs package we can use the following command:

sudo dnf remove gpsd-libs

gpsd-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/b504a4b47997426218d7479f2b3ae67f5cd833
/usr/lib64/libgps.so.25
/usr/lib64/libgps.so.25.0.0

References

Summary

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