How To Install javaewah on Fedora 34

javaewah is A word-aligned compressed variant of the Java bitset class

Introduction

In this tutorial we learn how to install javaewah on Fedora 34.

What is javaewah

JavaEWAH is a word-aligned compressed variant of the Java bitset class. It uses a 64-bit run-length encoding (RLE) compression scheme. The goal of word-aligned compression is not to achieve the best compression, but rather to improve query processing time. Hence, we try to save CPU cycles, maybe at the expense of storage. However, the EWAH scheme we implemented is always more efficient storage-wise than an uncompressed bitmap (implemented in Java as the BitSet class). Unlike some alternatives, javaewah does not rely on a patented scheme.

We can use yum or dnf to install javaewah on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install javaewah.

Install javaewah 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 javaewah using dnf by running the following command:

sudo dnf -y install javaewah

Install javaewah 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 javaewah using yum by running the following command:

sudo yum -y install javaewah

How To Uninstall javaewah on Fedora 34

To uninstall only the javaewah package we can use the following command:

sudo dnf remove javaewah

javaewah Package Contents on Fedora 34

/usr/share/doc/javaewah
/usr/share/doc/javaewah/CHANGELOG
/usr/share/doc/javaewah/README.md
/usr/share/java/javaewah
/usr/share/java/javaewah/JavaEWAH.jar
/usr/share/licenses/javaewah
/usr/share/licenses/javaewah/LICENSE-2.0.txt
/usr/share/maven-metadata/javaewah.xml
/usr/share/maven-poms/javaewah
/usr/share/maven-poms/javaewah/JavaEWAH.pom

References

Summary

In this tutorial we learn how to install javaewah on Fedora 34 using yum and dnf.