How To Install GeoIP-update.noarch on Amazon Linux 2

In this tutorial we learn how to install GeoIP-update.noarch in Amazon Linux 2. GeoIP-update.noarch is Crontab entry to facilitate automatic updates of databases

Introduction

In this tutorial we learn how to install GeoIP-update.noarch on Amazon Linux 2.

What is GeoIP-update.noarch

Crontab entry to provide weekly updates of the GeoIP free databases.

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

Install GeoIP-update.noarch 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 GeoIP-update.noarch using yum by running the following command:

sudo yum -y install GeoIP-update.noarch

How To Uninstall GeoIP-update.noarch on Amazon Linux 2

To uninstall only the GeoIP-update.noarch package we can use the following command:

sudo yum remove GeoIP-update.noarch

GeoIP-update.noarch Package Contents on Amazon Linux 2

/etc/cron.weekly/geoipupdate

References

Summary

In this tutorial we learn how to install GeoIP-update.noarch on Amazon Linux 2 using yum.