How To Install geocode-glib on AlmaLinux 8

In this tutorial we learn how to install geocode-glib in AlmaLinux 8. geocode-glib is Geocoding helper library

Introduction

In this tutorial we learn how to install geocode-glib on AlmaLinux 8.

What is geocode-glib

geocode-glib is a convenience library for the geocoding (finding longitude, and latitude from an address) and reverse geocoding (finding an address from coordinates). It uses Nominatim service to achieve that. It also caches (reverse-)geocoding requests for faster results and to avoid unnecessary server load.

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

Install geocode-glib on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install geocode-glib

Install geocode-glib on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install geocode-glib

How To Uninstall geocode-glib on AlmaLinux 8

To uninstall only the geocode-glib package we can use the following command:

sudo dnf remove geocode-glib

References

Summary

In this tutorial we learn how to install geocode-glib on AlmaLinux 8 using yum and dnf.