How To Install clucene-core on Rocky Linux 8

In this tutorial we learn how to install clucene-core on Rocky Linux 8. clucene-core is Core clucene module

Introduction

In this tutorial we learn how to install clucene-core on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove clucene-core

clucene-core Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/002c02d5a745618ca819234ea6700099a28cf3
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/3c687808019417dc851e3466fa05af83a926a5
/usr/lib/libclucene-core.so.1
/usr/lib/libclucene-core.so.2.3.3.4
/usr/lib/libclucene-shared.so.1
/usr/lib/libclucene-shared.so.2.3.3.4
/usr/share/doc/clucene-core
/usr/share/doc/clucene-core/APACHE.license
/usr/share/doc/clucene-core/AUTHORS
/usr/share/doc/clucene-core/COPYING
/usr/share/doc/clucene-core/ChangeLog
/usr/share/doc/clucene-core/LGPL.license
/usr/share/doc/clucene-core/README
/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/2065321a9cce0c39b3134ec7e6a9488406a26a
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/a9378d30ea21fb13fe56778ab5976829265ac1
/usr/lib64/libclucene-core.so.1
/usr/lib64/libclucene-core.so.2.3.3.4
/usr/lib64/libclucene-shared.so.1
/usr/lib64/libclucene-shared.so.2.3.3.4
/usr/share/doc/clucene-core
/usr/share/doc/clucene-core/APACHE.license
/usr/share/doc/clucene-core/AUTHORS
/usr/share/doc/clucene-core/COPYING
/usr/share/doc/clucene-core/ChangeLog
/usr/share/doc/clucene-core/LGPL.license
/usr/share/doc/clucene-core/README

References

Summary

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