How To Install libemu on Fedora 34

libemu is The x86 shell-code detection and emulation The x86 shell-code detection and emulation

Introduction

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

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. libemu 0.2.0 19.20130410gitab48695.fc34 x86_64 238 k libemu-0.2.0-19.20130410gitab48695.fc34.src.rpm updates The x86 shell-code detection and emulation https GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libemu.

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

sudo dnf -y install libemu

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

sudo yum -y install libemu

How To Uninstall libemu on Fedora 34

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

sudo dnf remove libemu

libemu Package Contents on Fedora 34

/usr/bin/scprofiler
/usr/bin/sctest
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/71eee3e025611e9844fff1cede4944c9a786a6
/usr/lib/.build-id/85
/usr/lib/.build-id/85/08d47d2d529a948607ae6945355366c31bd71e
/usr/lib/.build-id/85/2dc2819eaa97991079678fcc325c1e94a57851
/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
/usr/bin/scprofiler
/usr/bin/sctest
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/7f5c3332059dd0c5e9cf74e31d6a3ee49f41ad
/usr/lib/.build-id/95
/usr/lib/.build-id/95/2169415431809b5a7b09e409a789a295eb481e
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/3c001bf8803495a18e2c43fe7e727253491196
/usr/lib/libemu.so.2
/usr/lib/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 Fedora 34 using yum and dnf.