How To Install geocode-glib.x86_64 on Amazon Linux 2

In this tutorial we learn how to install geocode-glib.x86_64 in Amazon Linux 2. geocode-glib.x86_64 is Geocoding helper library

Introduction

In this tutorial we learn how to install geocode-glib.x86_64 on Amazon Linux 2.

What is geocode-glib.x86_64

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 to install geocode-glib.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install geocode-glib.x86_64.

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

sudo yum -y install geocode-glib.x86_64

How To Uninstall geocode-glib.x86_64 on Amazon Linux 2

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

sudo yum remove geocode-glib.x86_64

geocode-glib.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/girepository-1.0/GeocodeGlib-1.0.typelib
/usr/lib64/libgeocode-glib.so.0
/usr/lib64/libgeocode-glib.so.0.0.0
/usr/share/doc/geocode-glib-3.20.1
/usr/share/doc/geocode-glib-3.20.1/AUTHORS
/usr/share/doc/geocode-glib-3.20.1/NEWS
/usr/share/doc/geocode-glib-3.20.1/README
/usr/share/icons/gnome/scalable/places/poi-airport.svg
/usr/share/icons/gnome/scalable/places/poi-bar.svg
/usr/share/icons/gnome/scalable/places/poi-building.svg
/usr/share/icons/gnome/scalable/places/poi-bus-stop.svg
/usr/share/icons/gnome/scalable/places/poi-car.svg
/usr/share/icons/gnome/scalable/places/poi-light-rail-station.svg
/usr/share/icons/gnome/scalable/places/poi-marker.svg
/usr/share/icons/gnome/scalable/places/poi-place-of-worship.svg
/usr/share/icons/gnome/scalable/places/poi-railway-station.svg
/usr/share/icons/gnome/scalable/places/poi-restaurant.svg
/usr/share/icons/gnome/scalable/places/poi-school.svg
/usr/share/icons/gnome/scalable/places/poi-town.svg
/usr/share/licenses/geocode-glib-3.20.1
/usr/share/licenses/geocode-glib-3.20.1/COPYING.LIB

References

Summary

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