How To Install nativejit on Fedora 34

nativejit is Library for high-performance just-in-time compilation

Introduction

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

What is nativejit

NativeJIT is an open-source cross-platform library for high-performance just-in-time compilation of expressions involving C data structures. The compiler is light weight and fast and it takes no dependencies beyond the standard C++ runtime. It runs on Linux, OSX, and Windows. The generated code is optimized with particular attention paid to register allocation. It requires CPUs with SSE4 (Streaming SIMD Extensions 4).

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

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

sudo dnf -y install nativejit

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

sudo yum -y install nativejit

How To Uninstall nativejit on Fedora 34

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

sudo dnf remove nativejit

nativejit Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/1cad976e4e5129fccc8b3a0cc7569e555ce90e
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/728e134803acb877af7e49d3324546e90b3abb
/usr/lib64/libCodeGen.so.0
/usr/lib64/libNativeJIT.so.0
/usr/share/doc/nativejit
/usr/share/doc/nativejit/README.md
/usr/share/licenses/nativejit
/usr/share/licenses/nativejit/LICENSE.txt

References

Summary

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