How To Install geoclue2-devel on CentOS 8

geoclue2-devel is Development files for geoclue2 Development files for geoclue2

Introduction

In this tutorial we learn how to install geoclue2-devel on CentOS 8.

What is geoclue2-devel

The geoclue2-devel package contains files for developing applications that use geoclue2. geoclue2-devel 2.5.5 2.el8 x86_64 79 k geoclue2-2.5.5-2.el8.src.rpm powertools Development files for geoclue2 http GPLv2+ The geoclue2-devel package contains files for developing applications that use geoclue2.

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

Install geoclue2-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install geoclue2-devel using dnf by running the following command:

sudo dnf -y install geoclue2-devel

Install geoclue2-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install geoclue2-devel

How To Uninstall geoclue2-devel on CentOS 8

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

sudo dnf remove geoclue2-devel

geoclue2-devel Package Contents on CentOS 8

/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/lib/libgeoclue-2.so
/usr/lib/pkgconfig/geoclue-2.0.pc
/usr/lib/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
/usr/share/gir-1.0/Geoclue-2.0.gir
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/geoclue
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Agent.html
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Client.html
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Location.html
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Manager.html
/usr/share/gtk-doc/html/geoclue/geoclue-gclue-enums.html
/usr/share/gtk-doc/html/geoclue/geoclue.devhelp2
/usr/share/gtk-doc/html/geoclue/home.png
/usr/share/gtk-doc/html/geoclue/index.html
/usr/share/gtk-doc/html/geoclue/ix01.html
/usr/share/gtk-doc/html/geoclue/left-insensitive.png
/usr/share/gtk-doc/html/geoclue/left.png
/usr/share/gtk-doc/html/geoclue/license.html
/usr/share/gtk-doc/html/geoclue/ref-agent-dbus.html
/usr/share/gtk-doc/html/geoclue/ref-dbus.html
/usr/share/gtk-doc/html/geoclue/right-insensitive.png
/usr/share/gtk-doc/html/geoclue/right.png
/usr/share/gtk-doc/html/geoclue/style.css
/usr/share/gtk-doc/html/geoclue/up-insensitive.png
/usr/share/gtk-doc/html/geoclue/up.png
/usr/share/gtk-doc/html/libgeoclue
/usr/share/gtk-doc/html/libgeoclue/GClueClient.html
/usr/share/gtk-doc/html/libgeoclue/GClueClientProxy.html
/usr/share/gtk-doc/html/libgeoclue/GClueLocation.html
/usr/share/gtk-doc/html/libgeoclue/GClueLocationProxy.html
/usr/share/gtk-doc/html/libgeoclue/GClueManager.html
/usr/share/gtk-doc/html/libgeoclue/GClueManagerProxy.html
/usr/share/gtk-doc/html/libgeoclue/GClueSimple.html
/usr/share/gtk-doc/html/libgeoclue/annotation-glossary.html
/usr/share/gtk-doc/html/libgeoclue/ch01.html
/usr/share/gtk-doc/html/libgeoclue/ch02.html
/usr/share/gtk-doc/html/libgeoclue/ch03.html
/usr/share/gtk-doc/html/libgeoclue/ch04.html
/usr/share/gtk-doc/html/libgeoclue/ch05.html
/usr/share/gtk-doc/html/libgeoclue/home.png
/usr/share/gtk-doc/html/libgeoclue/index.html
/usr/share/gtk-doc/html/libgeoclue/ix01.html
/usr/share/gtk-doc/html/libgeoclue/left-insensitive.png
/usr/share/gtk-doc/html/libgeoclue/left.png
/usr/share/gtk-doc/html/libgeoclue/libgeoclue-gclue-enums.html
/usr/share/gtk-doc/html/libgeoclue/libgeoclue.devhelp2
/usr/share/gtk-doc/html/libgeoclue/license.html
/usr/share/gtk-doc/html/libgeoclue/right-insensitive.png
/usr/share/gtk-doc/html/libgeoclue/right.png
/usr/share/gtk-doc/html/libgeoclue/style.css
/usr/share/gtk-doc/html/libgeoclue/up-insensitive.png
/usr/share/gtk-doc/html/libgeoclue/up.png
/usr/share/vala
/usr/share/vala/vapi
/usr/share/vala/vapi/libgeoclue-2.0.deps
/usr/share/vala/vapi/libgeoclue-2.0.vapi
/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
/usr/share/gir-1.0/Geoclue-2.0.gir
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/geoclue
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Agent.html
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Client.html
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Location.html
/usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Manager.html
/usr/share/gtk-doc/html/geoclue/geoclue-gclue-enums.html
/usr/share/gtk-doc/html/geoclue/geoclue.devhelp2
/usr/share/gtk-doc/html/geoclue/home.png
/usr/share/gtk-doc/html/geoclue/index.html
/usr/share/gtk-doc/html/geoclue/ix01.html
/usr/share/gtk-doc/html/geoclue/left-insensitive.png
/usr/share/gtk-doc/html/geoclue/left.png
/usr/share/gtk-doc/html/geoclue/license.html
/usr/share/gtk-doc/html/geoclue/ref-agent-dbus.html
/usr/share/gtk-doc/html/geoclue/ref-dbus.html
/usr/share/gtk-doc/html/geoclue/right-insensitive.png
/usr/share/gtk-doc/html/geoclue/right.png
/usr/share/gtk-doc/html/geoclue/style.css
/usr/share/gtk-doc/html/geoclue/up-insensitive.png
/usr/share/gtk-doc/html/geoclue/up.png
/usr/share/gtk-doc/html/libgeoclue
/usr/share/gtk-doc/html/libgeoclue/GClueClient.html
/usr/share/gtk-doc/html/libgeoclue/GClueClientProxy.html
/usr/share/gtk-doc/html/libgeoclue/GClueLocation.html
/usr/share/gtk-doc/html/libgeoclue/GClueLocationProxy.html
/usr/share/gtk-doc/html/libgeoclue/GClueManager.html
/usr/share/gtk-doc/html/libgeoclue/GClueManagerProxy.html
/usr/share/gtk-doc/html/libgeoclue/GClueSimple.html
/usr/share/gtk-doc/html/libgeoclue/annotation-glossary.html
/usr/share/gtk-doc/html/libgeoclue/ch01.html
/usr/share/gtk-doc/html/libgeoclue/ch02.html
/usr/share/gtk-doc/html/libgeoclue/ch03.html
/usr/share/gtk-doc/html/libgeoclue/ch04.html
/usr/share/gtk-doc/html/libgeoclue/ch05.html
/usr/share/gtk-doc/html/libgeoclue/home.png
/usr/share/gtk-doc/html/libgeoclue/index.html
/usr/share/gtk-doc/html/libgeoclue/ix01.html
/usr/share/gtk-doc/html/libgeoclue/left-insensitive.png
/usr/share/gtk-doc/html/libgeoclue/left.png
/usr/share/gtk-doc/html/libgeoclue/libgeoclue-gclue-enums.html
/usr/share/gtk-doc/html/libgeoclue/libgeoclue.devhelp2
/usr/share/gtk-doc/html/libgeoclue/license.html
/usr/share/gtk-doc/html/libgeoclue/right-insensitive.png
/usr/share/gtk-doc/html/libgeoclue/right.png
/usr/share/gtk-doc/html/libgeoclue/style.css
/usr/share/gtk-doc/html/libgeoclue/up-insensitive.png
/usr/share/gtk-doc/html/libgeoclue/up.png
/usr/share/vala
/usr/share/vala/vapi
/usr/share/vala/vapi/libgeoclue-2.0.deps
/usr/share/vala/vapi/libgeoclue-2.0.vapi

References

Summary

In this tutorial we learn how to install geoclue2-devel on CentOS 8 using yum and dnf.