How To Install geoclue2-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install geoclue2-libs.x86_64 in Amazon Linux 2. geoclue2-libs.x86_64 is Geoclue client library

Introduction

In this tutorial we learn how to install geoclue2-libs.x86_64 on Amazon Linux 2.

What is geoclue2-libs.x86_64

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

We can use yum to install geoclue2-libs.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install geoclue2-libs.x86_64.

Install geoclue2-libs.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install geoclue2-libs.x86_64 using yum by running the following command:

sudo yum -y install geoclue2-libs.x86_64

How To Uninstall geoclue2-libs.x86_64 on Amazon Linux 2

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

sudo yum remove geoclue2-libs.x86_64

geoclue2-libs.x86_64 Package Contents on Amazon Linux 2

/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-2.4.5
/usr/share/licenses/geoclue2-libs-2.4.5/COPYING.LIB

References

Summary

In this tutorial we learn how to install geoclue2-libs.x86_64 on Amazon Linux 2 using yum.