How To Install xapian-core on AlmaLinux 8

In this tutorial we learn how to install xapian-core in AlmaLinux 8. xapian-core is The Xapian Probabilistic Information Retrieval Library

Introduction

In this tutorial we learn how to install xapian-core on AlmaLinux 8.

What is xapian-core

Xapian is an Open Source Probabilistic Information Retrieval Library. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications

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

Install xapian-core 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 xapian-core using dnf by running the following command:

sudo dnf -y install xapian-core

Install xapian-core 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 xapian-core using yum by running the following command:

sudo yum -y install xapian-core

How To Uninstall xapian-core on AlmaLinux 8

To uninstall only the xapian-core package we can use the following command:

sudo dnf remove xapian-core

References

Summary

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