How To Install clucene-core.x86_64 on Amazon Linux 2

In this tutorial we learn how to install clucene-core.x86_64 in Amazon Linux 2. clucene-core.x86_64 is Core clucene module

Introduction

In this tutorial we learn how to install clucene-core.x86_64 on Amazon Linux 2.

What is clucene-core.x86_64

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

Install clucene-core.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install clucene-core.x86_64

How To Uninstall clucene-core.x86_64 on Amazon Linux 2

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

sudo yum remove clucene-core.x86_64

clucene-core.x86_64 Package Contents on Amazon Linux 2

/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-2.3.3.4
/usr/share/doc/clucene-core-2.3.3.4/APACHE.license
/usr/share/doc/clucene-core-2.3.3.4/AUTHORS
/usr/share/doc/clucene-core-2.3.3.4/COPYING
/usr/share/doc/clucene-core-2.3.3.4/ChangeLog
/usr/share/doc/clucene-core-2.3.3.4/LGPL.license
/usr/share/doc/clucene-core-2.3.3.4/README

References

Summary

In this tutorial we learn how to install clucene-core.x86_64 on Amazon Linux 2 using yum.