How To Install gpsd-devel on Rocky Linux 8

In this tutorial we learn how to install gpsd-devel on Rocky Linux 8. gpsd-devel is Development files for the gpsd library

Introduction

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

What is gpsd-devel

This package provides C header files for the gpsd shared libraries that manage access to a GPS for applications

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

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

sudo dnf -y install gpsd-devel

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

sudo yum -y install gpsd-devel

How To Uninstall gpsd-devel on Rocky Linux 8

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

sudo dnf remove gpsd-devel

gpsd-devel Package Contents on Rocky Linux 8

/usr/include/gps.h
/usr/include/libgpsmm.h
/usr/lib64/libgps.so
/usr/lib64/pkgconfig/libgps.pc
/usr/share/doc/gpsd-devel
/usr/share/doc/gpsd-devel/TODO
/usr/share/man/man3/libgps.3.gz
/usr/share/man/man3/libgpsmm.3.gz
/usr/share/man/man5/gpsd_json.5.gz
/usr/share/man/man5/srec.5.gz

References

Summary

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