How To Install clucene-core on AlmaLinux 8

In this tutorial we learn how to install clucene-core in AlmaLinux 8. clucene-core is Core clucene module

Introduction

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

What is clucene-core

CLucene is a C++ port of the popular Apache Lucene search engine (http CLucene aims to be a high-speed alternative to Java Lucene, its API is very similar to that of the Java version. CLucene has recently been brought up to date with Lucene 2.3.2. It contains most of the same functionality as the Java version.

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

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

sudo dnf -y install clucene-core

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

sudo yum -y install clucene-core

How To Uninstall clucene-core on AlmaLinux 8

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

sudo dnf remove clucene-core

References

Summary

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