How To Install libemu on Rocky Linux 8

In this tutorial we learn how to install libemu on Rocky Linux 8. libemu is The x86 shell-code detection and emulation

Introduction

In this tutorial we learn how to install libemu on Rocky Linux 8.

What is libemu

The libemu is a small library written in C offering basic x86 emulation and shell-code detection using GetPC heuristics. Intended use is within network intrusion/prevention detection and honeypots.

We can use yum or dnf to install libemu on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libemu.

Install libemu on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libemu using dnf by running the following command:

sudo dnf -y install libemu

Install libemu on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libemu using yum by running the following command:

sudo yum -y install libemu

How To Uninstall libemu on Rocky Linux 8

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

sudo dnf remove libemu

libemu Package Contents on Rocky Linux 8

/usr/bin/scprofiler
/usr/bin/sctest
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/f54847a7aac7abf8ee7ef057d300c97e2abd65
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/a5d5b652173b8c4fa7bd83b6e67feda3244417
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/b38fb27eb340e55df73a5596162e57d0254a13
/usr/lib64/libemu.so.2
/usr/lib64/libemu.so.2.0.0
/usr/share/doc/libemu
/usr/share/doc/libemu/AUTHORS
/usr/share/doc/libemu/CHANGES
/usr/share/doc/libemu/README

References

Summary

In this tutorial we learn how to install libemu on Rocky Linux 8 using yum and dnf.