How To Install clucene-core on CentOS 8

clucene-core is Core clucene module Core clucene module

Introduction

In this tutorial we learn how to install clucene-core on CentOS 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. clucene-core 2.3.3.4 31.20130812.e8e3d20git.el8 x86_64 596 k clucene-2.3.3.4-31.20130812.e8e3d20git.el8.src.rpm appstream Core clucene module http LGPLv2+ or ASL 2.0 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 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove clucene-core

clucene-core Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/36a1e1594845fb375c83bdceb4be5b9099d9dd
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/3786d3e6bf56759d30638e0a7ac85d5f20f219
/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/a7
/usr/lib/.build-id/a7/a1d280e6229f9023f0309470b1948fc365f756
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/13cfb05f45267fab5371b98d24fe1ad2861a8a
/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 CentOS 8 using yum and dnf.