How To Install clucene-core on CentOS 7

In this tutorial we learn how to install clucene-core on CentOS 7. clucene-core is Core clucene module

Introduction

In this tutorial we learn how to install clucene-core on CentOS 7.

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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install clucene-core.

Install clucene-core on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install clucene-core

Install clucene-core on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install clucene-core

How To Uninstall clucene-core on CentOS 7

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 CentOS 7 using yum and dnf.