How To Install geoclue2-libs on Rocky Linux 8

In this tutorial we learn how to install geoclue2-libs on Rocky Linux 8. geoclue2-libs is Geoclue client library

Introduction

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

What is geoclue2-libs

The geoclue2-libs package contains a convenience library to interact with Geoclue service.

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

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

sudo dnf -y install geoclue2-libs

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

sudo yum -y install geoclue2-libs

How To Uninstall geoclue2-libs on Rocky Linux 8

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

sudo dnf remove geoclue2-libs

geoclue2-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/ac16aa41df392fcdf22445c01dbcb70f1ec1d7
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Geoclue-2.0.typelib
/usr/lib/libgeoclue-2.so.0
/usr/lib/libgeoclue-2.so.0.0.0
/usr/share/licenses/geoclue2-libs
/usr/share/licenses/geoclue2-libs/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/eba6e8f31fd8e1653e894e5611b7b1497ddab1
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Geoclue-2.0.typelib
/usr/lib64/libgeoclue-2.so.0
/usr/lib64/libgeoclue-2.so.0.0.0
/usr/share/licenses/geoclue2-libs
/usr/share/licenses/geoclue2-libs/COPYING.LIB

References

Summary

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