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

In this tutorial we learn how to install geoclue2-devel.x86_64 in Amazon Linux 2. geoclue2-devel.x86_64 is Development files for geoclue2

Introduction

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

What is geoclue2-devel.x86_64

The geoclue2-devel package contains files for developing applications that use geoclue2.

We can use yum to install geoclue2-devel.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-devel.x86_64.

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

sudo yum -y install geoclue2-devel.x86_64

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

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

sudo yum remove geoclue2-devel.x86_64

geoclue2-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libgeoclue-2.0
/usr/include/libgeoclue-2.0/gclue-client.h
/usr/include/libgeoclue-2.0/gclue-enum-types.h
/usr/include/libgeoclue-2.0/gclue-enums.h
/usr/include/libgeoclue-2.0/gclue-helpers.h
/usr/include/libgeoclue-2.0/gclue-location.h
/usr/include/libgeoclue-2.0/gclue-manager.h
/usr/include/libgeoclue-2.0/gclue-simple.h
/usr/include/libgeoclue-2.0/geoclue.h
/usr/lib64/libgeoclue-2.so
/usr/lib64/pkgconfig/geoclue-2.0.pc
/usr/lib64/pkgconfig/libgeoclue-2.0.pc
/usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
/usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Client.xml
/usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Location.xml
/usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Manager.xml
/usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
/usr/share/gir-1.0/Geoclue-2.0.gir

References

Summary

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