How To Install lucene++ on Fedora 34
Introduction
In this tutorial we learn how to install lucene++
on Fedora 34.
What is lucene++
An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine. lucene++ 3.0.7 30.fc34 x86_64 1.9 M lucene++-3.0.7-30.fc34.src.rpm fedora A high-performance, full-featured text search engine written in C++ https ASL 2.0 or LGPLv3+ An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
We can use yum
or dnf
to install lucene++
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lucene++.
Install lucene++ on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lucene++
using dnf
by running the following command:
sudo dnf -y install lucene++
Install lucene++ on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lucene++
using yum
by running the following command:
sudo yum -y install lucene++
How To Uninstall lucene++ on Fedora 34
To uninstall only the lucene++
package we can use the following command:
sudo dnf remove lucene++
lucene++ Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/c8057481feca7af3c98575ccc171940f1e6464
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/63e9d0613f019dc5047e3a10eb5c5926f8ad0f
/usr/lib/liblucene++-contrib.so.0
/usr/lib/liblucene++-contrib.so.3.0.7
/usr/lib/liblucene++.so.0
/usr/lib/liblucene++.so.3.0.7
/usr/share/doc/lucene++
/usr/share/doc/lucene++/AUTHORS
/usr/share/doc/lucene++/README.PACKAGE
/usr/share/doc/lucene++/README.rst
/usr/share/doc/lucene++/REQUESTS
/usr/share/licenses/lucene++
/usr/share/licenses/lucene++/APACHE.license
/usr/share/licenses/lucene++/COPYING
/usr/share/licenses/lucene++/GPL.license
/usr/share/licenses/lucene++/LGPL.license
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/b0bca41eb37732a9582ef27b2a47e81a4ddac3
/usr/lib/.build-id/79
/usr/lib/.build-id/79/c577a404738f7e489f346f22266df5f804e59b
/usr/lib64/liblucene++-contrib.so.0
/usr/lib64/liblucene++-contrib.so.3.0.7
/usr/lib64/liblucene++.so.0
/usr/lib64/liblucene++.so.3.0.7
/usr/share/doc/lucene++
/usr/share/doc/lucene++/AUTHORS
/usr/share/doc/lucene++/README.PACKAGE
/usr/share/doc/lucene++/README.rst
/usr/share/doc/lucene++/REQUESTS
/usr/share/licenses/lucene++
/usr/share/licenses/lucene++/APACHE.license
/usr/share/licenses/lucene++/COPYING
/usr/share/licenses/lucene++/GPL.license
/usr/share/licenses/lucene++/LGPL.license
References
- [lucene++ website](https://github.com/luceneplusplus/LucenePlusPlus https://github.com/luceneplusplus/LucenePlusPlus)
Summary
In this tutorial we learn how to install lucene++
on Fedora 34 using yum and dnf.